You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#pragma once
#include <stdint.h>
namespace iflytop { using namespace std;
#define CONFIG_CODE(type, subconfigindex) (type + subconfigindex)
typedef enum {
kmotorcfg_x_shift = CONFIG_CODE(100, 0), // xƫ��
kmotorcfg_y_shift = CONFIG_CODE(100, 1), // yƫ��
kmotorcfg_z_shift = CONFIG_CODE(100, 2), // zƫ��
kmotorcfg_x_shaft = CONFIG_CODE(100, 3), // x���Ƿ���ת
kmotorcfg_y_shaft = CONFIG_CODE(100, 4), // y���Ƿ���ת
kmotorcfg_z_shaft = CONFIG_CODE(100, 5), // z���Ƿ���ת
kmotorcfg_x_one_circle_pulse = CONFIG_CODE(100, 6), // x��һȦ������
kmotorcfg_y_one_circle_pulse = CONFIG_CODE(100, 7), // y��һȦ������
kmotorcfg_z_one_circle_pulse = CONFIG_CODE(100, 8), // z��һȦ������
} config_index_t;
} // namespace iflytop
|