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 STATE_INDEX(type, subconfigindex) (type + subconfigindex)
typedef enum {
kstate_module_status = STATE_INDEX(0, 0), //
kstate_module_errorcode = STATE_INDEX(0, 1), //
kstate_motor_x_pos = STATE_INDEX(100, 0), // xƫ��
kstate_motor_y_pos = STATE_INDEX(100, 1), // yƫ��
kstate_motor_z_pos = STATE_INDEX(100, 2), // zƫ��
kstate_motor_move = STATE_INDEX(100, 3), // �����Ƿ��ƶ�
kstate_motor_enable = STATE_INDEX(100, 4), // �����Ƿ�ʹ��
} state_index_t;
} // namespace iflytop
|