Defines | Variables
rflex_info.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define BUFFER_SIZE   1024
#define BUMPER_ADDRESS   0x40
#define DIO_GET_UPDATE   2
#define DIO_PORT   5
#define DIO_REPORT   1
#define DIO_REPORTS_REQ   0
#define DIO_SET   4
#define DIO_UPDATE   3
#define HEADING_HOME_ADDRESS   0x31
#define IR_PORT   6
#define IR_REPORT   1
#define IR_RUN   0
#define JSTK_GET_STATE   0
#define JSTK_PORT   3
#define MAX_COMMAND_LENGTH   256
#define MOT_AXIS_GET_LIMITS   4
#define MOT_AXIS_GET_MODE   9
#define MOT_AXIS_GET_MODEL   1
#define MOT_AXIS_GET_PARMS   76
#define MOT_AXIS_GET_POS_LIMITS   6
#define MOT_AXIS_GET_PWM   80
#define MOT_AXIS_GET_PWM_LIMIT   78
#define MOT_AXIS_GET_SYSTEM   0
#define MOT_AXIS_GET_TARGET   2
#define MOT_AXIS_SET_DIR   7
#define MOT_AXIS_SET_LIMITS   3
#define MOT_AXIS_SET_PARMS   75
#define MOT_AXIS_SET_POS   8
#define MOT_AXIS_SET_POS_LIMITS   5
#define MOT_AXIS_SET_PWM   79
#define MOT_AXIS_SET_PWM_LIMIT   77
#define MOT_BRAKE_RELEASE   12
#define MOT_BRAKE_SET   11
#define MOT_GET_GEARING   67
#define MOT_GET_NAXES   65
#define MOT_MOTOR_GET_DATA   74
#define MOT_MOTOR_GET_LIMITS   73
#define MOT_MOTOR_GET_MODE   69
#define MOT_MOTOR_GET_PARMS   71
#define MOT_MOTOR_SET_LIMITS   72
#define MOT_MOTOR_SET_MODE   68
#define MOT_MOTOR_SET_PARMS   70
#define MOT_PORT   2
#define MOT_SET_DEFAULTS   10
#define MOT_SET_GEARING   66
#define MOT_SYSTEM_REPORT   33
#define MOT_SYSTEM_REPORT_REQ   34
#define SONAR_GET_UPDATE   1
#define SONAR_MAX_COUNT   224
#define SONAR_PORT   4
#define SONAR_REPORT   2
#define SONAR_RUN   0
#define STD_ROT_ACC   100000
#define STD_ROT_TORQUE   35000
#define STD_TRANS_TORQUE   30000
#define SYS_LCD_DUMP   0
#define SYS_PORT   1
#define SYS_STATUS   1

Variables

static const unsigned char ESC = 27
static const unsigned char ETX = 3
static const unsigned char NUL = 0
static const int PACKET_CRC_OFFSET = 4
static const int PACKET_CRC_START = 2
static const int PACKET_DATA_START_BYTE = 6
static const int PACKET_ID_BYTE = 3
static const int PACKET_OPCODE_BYTE = 4
static const int PACKET_PORT_BYTE = 2
static const int PACKET_SIZE_BYTE = 5
static const int PROTOCOL_SIZE = 9
static const unsigned char SOH = 1
static const unsigned char STX = 2

Define Documentation

#define BUFFER_SIZE   1024

Definition at line 41 of file rflex_info.h.

#define BUMPER_ADDRESS   0x40

Definition at line 105 of file rflex_info.h.

#define DIO_GET_UPDATE   2

Definition at line 95 of file rflex_info.h.

#define DIO_PORT   5

Definition at line 51 of file rflex_info.h.

#define DIO_REPORT   1

Definition at line 94 of file rflex_info.h.

#define DIO_REPORTS_REQ   0

Definition at line 93 of file rflex_info.h.

#define DIO_SET   4

Definition at line 97 of file rflex_info.h.

#define DIO_UPDATE   3

Definition at line 96 of file rflex_info.h.

#define HEADING_HOME_ADDRESS   0x31

Definition at line 104 of file rflex_info.h.

#define IR_PORT   6

Definition at line 52 of file rflex_info.h.

#define IR_REPORT   1

Definition at line 100 of file rflex_info.h.

#define IR_RUN   0

Definition at line 99 of file rflex_info.h.

#define JSTK_GET_STATE   0

Definition at line 102 of file rflex_info.h.

#define JSTK_PORT   3

Definition at line 49 of file rflex_info.h.

#define MAX_COMMAND_LENGTH   256

Definition at line 40 of file rflex_info.h.

#define MOT_AXIS_GET_LIMITS   4

Definition at line 61 of file rflex_info.h.

#define MOT_AXIS_GET_MODE   9

Definition at line 66 of file rflex_info.h.

#define MOT_AXIS_GET_MODEL   1

Definition at line 58 of file rflex_info.h.

#define MOT_AXIS_GET_PARMS   76

Definition at line 83 of file rflex_info.h.

#define MOT_AXIS_GET_POS_LIMITS   6

Definition at line 63 of file rflex_info.h.

#define MOT_AXIS_GET_PWM   80

Definition at line 87 of file rflex_info.h.

#define MOT_AXIS_GET_PWM_LIMIT   78

Definition at line 85 of file rflex_info.h.

#define MOT_AXIS_GET_SYSTEM   0

Definition at line 57 of file rflex_info.h.

#define MOT_AXIS_GET_TARGET   2

Definition at line 59 of file rflex_info.h.

#define MOT_AXIS_SET_DIR   7

Definition at line 64 of file rflex_info.h.

#define MOT_AXIS_SET_LIMITS   3

Definition at line 60 of file rflex_info.h.

#define MOT_AXIS_SET_PARMS   75

Definition at line 82 of file rflex_info.h.

#define MOT_AXIS_SET_POS   8

Definition at line 65 of file rflex_info.h.

#define MOT_AXIS_SET_POS_LIMITS   5

Definition at line 62 of file rflex_info.h.

#define MOT_AXIS_SET_PWM   79

Definition at line 86 of file rflex_info.h.

#define MOT_AXIS_SET_PWM_LIMIT   77

Definition at line 84 of file rflex_info.h.

#define MOT_BRAKE_RELEASE   12

Definition at line 69 of file rflex_info.h.

#define MOT_BRAKE_SET   11

Definition at line 68 of file rflex_info.h.

#define MOT_GET_GEARING   67

Definition at line 74 of file rflex_info.h.

#define MOT_GET_NAXES   65

Definition at line 72 of file rflex_info.h.

#define MOT_MOTOR_GET_DATA   74

Definition at line 81 of file rflex_info.h.

#define MOT_MOTOR_GET_LIMITS   73

Definition at line 80 of file rflex_info.h.

#define MOT_MOTOR_GET_MODE   69

Definition at line 76 of file rflex_info.h.

#define MOT_MOTOR_GET_PARMS   71

Definition at line 78 of file rflex_info.h.

#define MOT_MOTOR_SET_LIMITS   72

Definition at line 79 of file rflex_info.h.

#define MOT_MOTOR_SET_MODE   68

Definition at line 75 of file rflex_info.h.

#define MOT_MOTOR_SET_PARMS   70

Definition at line 77 of file rflex_info.h.

#define MOT_PORT   2

Definition at line 48 of file rflex_info.h.

#define MOT_SET_DEFAULTS   10

Definition at line 67 of file rflex_info.h.

#define MOT_SET_GEARING   66

Definition at line 73 of file rflex_info.h.

#define MOT_SYSTEM_REPORT   33

Definition at line 70 of file rflex_info.h.

#define MOT_SYSTEM_REPORT_REQ   34

Definition at line 71 of file rflex_info.h.

#define SONAR_GET_UPDATE   1

Definition at line 90 of file rflex_info.h.

#define SONAR_MAX_COUNT   224

Definition at line 107 of file rflex_info.h.

#define SONAR_PORT   4

Definition at line 50 of file rflex_info.h.

#define SONAR_REPORT   2

Definition at line 91 of file rflex_info.h.

#define SONAR_RUN   0

Definition at line 89 of file rflex_info.h.

#define STD_ROT_ACC   100000

Definition at line 44 of file rflex_info.h.

#define STD_ROT_TORQUE   35000

Definition at line 45 of file rflex_info.h.

#define STD_TRANS_TORQUE   30000

Definition at line 43 of file rflex_info.h.

#define SYS_LCD_DUMP   0

Definition at line 54 of file rflex_info.h.

#define SYS_PORT   1

Definition at line 47 of file rflex_info.h.

#define SYS_STATUS   1

Definition at line 55 of file rflex_info.h.


Variable Documentation

const unsigned char ESC = 27 [static]

Definition at line 114 of file rflex_info.h.

const unsigned char ETX = 3 [static]

Definition at line 113 of file rflex_info.h.

const unsigned char NUL = 0 [static]

Definition at line 110 of file rflex_info.h.

const int PACKET_CRC_OFFSET = 4 [static]

Definition at line 32 of file rflex_info.h.

const int PACKET_CRC_START = 2 [static]

Definition at line 31 of file rflex_info.h.

const int PACKET_DATA_START_BYTE = 6 [static]

Definition at line 38 of file rflex_info.h.

const int PACKET_ID_BYTE = 3 [static]

Definition at line 35 of file rflex_info.h.

const int PACKET_OPCODE_BYTE = 4 [static]

Definition at line 36 of file rflex_info.h.

const int PACKET_PORT_BYTE = 2 [static]

Definition at line 34 of file rflex_info.h.

const int PACKET_SIZE_BYTE = 5 [static]

Definition at line 37 of file rflex_info.h.

const int PROTOCOL_SIZE = 9 [static]

Definition at line 30 of file rflex_info.h.

const unsigned char SOH = 1 [static]

Definition at line 111 of file rflex_info.h.

const unsigned char STX = 2 [static]

Definition at line 112 of file rflex_info.h.



rflex
Author(s): David V. Lu!!, Mikhail Medvedev
autogenerated on Fri Aug 28 2015 12:58:58