Communication for reciever
Dependencies: Fork_Boss_Communication_Robot
Dependents: BEAR_Motion BEAR_Motion_Editing4Betago
Fork of BEAR_Protocol by
Diff: Command.h
- Revision:
- 13:e7404c675611
- Parent:
- 12:be8675c18a58
--- a/Command.h Thu Jan 21 17:28:25 2016 +0000 +++ b/Command.h Fri Jan 22 16:34:11 2016 +0000 @@ -7,20 +7,23 @@ #define ID 0x00 #define MOTOR_UPPER_ANG 0x01 #define MOTOR_LOWER_ANG 0x02 -#define MARGIN 0x03 -#define KP_UPPER_MOTOR 0x04 -#define KI_UPPER_MOTOR 0x05 -#define KD_UPPER_MOTOR 0x06 -#define KP_LOWER_MOTOR 0x07 -#define KI_LOWER_MOTOR 0x08 -#define KD_LOWER_MOTOR 0x09 -#define PID_UPPER_MOTOR 0x0A -#define PID_LOWER_MOTOR 0x0B -#define HEIGHT 0x0C -#define WHEELPOS 0x0D -#define MAG_DATA 0x0E -#define OFFSET 0x0F -#define BODY_LENGTH 0x10 -#define ANGLE_RANGE_UP 0x11 -#define ANGLE_RANGE_LOW 0x12 -#define SAVE_EEPROM_DATA 0x13 \ No newline at end of file +#define UP_MARGIN 0x03 +#define LOW_MARGIN 0x04 +#define KP_UPPER_MOTOR 0x05 +#define KI_UPPER_MOTOR 0x06 +#define KD_UPPER_MOTOR 0x07 +#define KP_LOWER_MOTOR 0x08 +#define KI_LOWER_MOTOR 0x09 +#define KD_LOWER_MOTOR 0x0A +#define PID_UPPER_MOTOR 0x0B +#define PID_LOWER_MOTOR 0x0C +#define HEIGHT 0x0D +#define WHEELPOS 0x0E +#define MAG_DATA 0x0F +#define OFFSET 0x10 +#define BODY_WIDTH 0x11 +#define ANGLE_RANGE_UP 0x12 +#define ANGLE_RANGE_LOW 0x13 +#define UP_LINK_LENGTH 0x14 +#define LOW_LINK_LENGTH 0x15 +#define SAVE_EEPROM_DATA 0x16 \ No newline at end of file