ros2_rover
Loading...
Searching...
No Matches
lx16a Namespace Reference

Classes

class  LX16A
 
class  MotorController
 
class  Serial
 

Variables

constexpr uint8_t SERVO_ID_ALL = 0xfe
 
constexpr uint8_t SERVO_FRAME_HEADER = 0x55
 
constexpr uint8_t SERVO_MOVE_TIME_WRITE = 1
 
constexpr uint8_t SERVO_MOVE_TIME_READ = 2
 
constexpr uint8_t SERVO_MOVE_TIME_WAIT_WRITE = 7
 
constexpr uint8_t SERVO_MOVE_TIME_WAIT_READ = 8
 
constexpr uint8_t SERVO_MOVE_START = 11
 
constexpr uint8_t SERVO_MOVE_STOP = 12
 
constexpr uint8_t SERVO_ID_WRITE = 13
 
constexpr uint8_t SERVO_ID_READ = 14
 
constexpr uint8_t SERVO_ANGLE_OFFSET_ADJUST = 17
 
constexpr uint8_t SERVO_ANGLE_OFFSET_WRITE = 18
 
constexpr uint8_t SERVO_ANGLE_OFFSET_READ = 19
 
constexpr uint8_t SERVO_ANGLE_LIMIT_WRITE = 20
 
constexpr uint8_t SERVO_ANGLE_LIMIT_READ = 21
 
constexpr uint8_t SERVO_VIN_LIMIT_WRITE = 22
 
constexpr uint8_t SERVO_VIN_LIMIT_READ = 23
 
constexpr uint8_t SERVO_TEMP_MAX_LIMIT_WRITE = 24
 
constexpr uint8_t SERVO_TEMP_MAX_LIMIT_READ = 25
 
constexpr uint8_t SERVO_TEMP_READ = 26
 
constexpr uint8_t SERVO_VIN_READ = 27
 
constexpr uint8_t SERVO_POS_READ = 28
 
constexpr uint8_t SERVO_OR_MOTOR_MODE_WRITE = 29
 
constexpr uint8_t SERVO_OR_MOTOR_MODE_READ = 30
 
constexpr uint8_t SERVO_LOAD_OR_UNLOAD_WRITE = 31
 
constexpr uint8_t SERVO_LOAD_OR_UNLOAD_READ = 32
 
constexpr uint8_t SERVO_LED_CTRL_WRITE = 33
 
constexpr uint8_t SERVO_LED_CTRL_READ = 34
 
constexpr uint8_t SERVO_LED_ERROR_WRITE = 35
 
constexpr uint8_t SERVO_LED_ERROR_READ = 36
 
constexpr uint8_t SERVO_ERROR_OVER_TEMPERATURE = 1
 
constexpr uint8_t SERVO_ERROR_OVER_VOLTAGE = 2
 
constexpr uint8_t SERVO_ERROR_LOCKED_ROTOR = 4
 
constexpr uint8_t MOTOR_LEFT_FRONT = 1
 
constexpr uint8_t MOTOR_LEFT_MIDDLE = 2
 
constexpr uint8_t MOTOR_LEFT_BACK = 3
 
constexpr uint8_t MOTOR_RIGHT_FRONT = 4
 
constexpr uint8_t MOTOR_RIGHT_MIDDLE = 5
 
constexpr uint8_t MOTOR_RIGHT_BACK = 6
 
constexpr uint8_t SERVO_LEFT_FRONT = 7
 
constexpr uint8_t SERVO_RIGHT_FRONT = 8
 
constexpr uint8_t SERVO_LEFT_BACK = 9
 
constexpr uint8_t SERVO_RIGHT_BACK = 10
 

Variable Documentation

◆ MOTOR_LEFT_BACK

uint8_t lx16a::MOTOR_LEFT_BACK = 3
constexpr

◆ MOTOR_LEFT_FRONT

uint8_t lx16a::MOTOR_LEFT_FRONT = 1
constexpr

◆ MOTOR_LEFT_MIDDLE

uint8_t lx16a::MOTOR_LEFT_MIDDLE = 2
constexpr

◆ MOTOR_RIGHT_BACK

uint8_t lx16a::MOTOR_RIGHT_BACK = 6
constexpr

◆ MOTOR_RIGHT_FRONT

uint8_t lx16a::MOTOR_RIGHT_FRONT = 4
constexpr

◆ MOTOR_RIGHT_MIDDLE

uint8_t lx16a::MOTOR_RIGHT_MIDDLE = 5
constexpr

◆ SERVO_ANGLE_LIMIT_READ

uint8_t lx16a::SERVO_ANGLE_LIMIT_READ = 21
constexpr

◆ SERVO_ANGLE_LIMIT_WRITE

uint8_t lx16a::SERVO_ANGLE_LIMIT_WRITE = 20
constexpr

◆ SERVO_ANGLE_OFFSET_ADJUST

uint8_t lx16a::SERVO_ANGLE_OFFSET_ADJUST = 17
constexpr

◆ SERVO_ANGLE_OFFSET_READ

uint8_t lx16a::SERVO_ANGLE_OFFSET_READ = 19
constexpr

◆ SERVO_ANGLE_OFFSET_WRITE

uint8_t lx16a::SERVO_ANGLE_OFFSET_WRITE = 18
constexpr

◆ SERVO_ERROR_LOCKED_ROTOR

uint8_t lx16a::SERVO_ERROR_LOCKED_ROTOR = 4
constexpr

◆ SERVO_ERROR_OVER_TEMPERATURE

uint8_t lx16a::SERVO_ERROR_OVER_TEMPERATURE = 1
constexpr

◆ SERVO_ERROR_OVER_VOLTAGE

uint8_t lx16a::SERVO_ERROR_OVER_VOLTAGE = 2
constexpr

◆ SERVO_FRAME_HEADER

uint8_t lx16a::SERVO_FRAME_HEADER = 0x55
constexpr

◆ SERVO_ID_ALL

uint8_t lx16a::SERVO_ID_ALL = 0xfe
constexpr

◆ SERVO_ID_READ

uint8_t lx16a::SERVO_ID_READ = 14
constexpr

◆ SERVO_ID_WRITE

uint8_t lx16a::SERVO_ID_WRITE = 13
constexpr

◆ SERVO_LED_CTRL_READ

uint8_t lx16a::SERVO_LED_CTRL_READ = 34
constexpr

◆ SERVO_LED_CTRL_WRITE

uint8_t lx16a::SERVO_LED_CTRL_WRITE = 33
constexpr

◆ SERVO_LED_ERROR_READ

uint8_t lx16a::SERVO_LED_ERROR_READ = 36
constexpr

◆ SERVO_LED_ERROR_WRITE

uint8_t lx16a::SERVO_LED_ERROR_WRITE = 35
constexpr

◆ SERVO_LEFT_BACK

uint8_t lx16a::SERVO_LEFT_BACK = 9
constexpr

◆ SERVO_LEFT_FRONT

uint8_t lx16a::SERVO_LEFT_FRONT = 7
constexpr

◆ SERVO_LOAD_OR_UNLOAD_READ

uint8_t lx16a::SERVO_LOAD_OR_UNLOAD_READ = 32
constexpr

◆ SERVO_LOAD_OR_UNLOAD_WRITE

uint8_t lx16a::SERVO_LOAD_OR_UNLOAD_WRITE = 31
constexpr

◆ SERVO_MOVE_START

uint8_t lx16a::SERVO_MOVE_START = 11
constexpr

◆ SERVO_MOVE_STOP

uint8_t lx16a::SERVO_MOVE_STOP = 12
constexpr

◆ SERVO_MOVE_TIME_READ

uint8_t lx16a::SERVO_MOVE_TIME_READ = 2
constexpr

◆ SERVO_MOVE_TIME_WAIT_READ

uint8_t lx16a::SERVO_MOVE_TIME_WAIT_READ = 8
constexpr

◆ SERVO_MOVE_TIME_WAIT_WRITE

uint8_t lx16a::SERVO_MOVE_TIME_WAIT_WRITE = 7
constexpr

◆ SERVO_MOVE_TIME_WRITE

uint8_t lx16a::SERVO_MOVE_TIME_WRITE = 1
constexpr

◆ SERVO_OR_MOTOR_MODE_READ

uint8_t lx16a::SERVO_OR_MOTOR_MODE_READ = 30
constexpr

◆ SERVO_OR_MOTOR_MODE_WRITE

uint8_t lx16a::SERVO_OR_MOTOR_MODE_WRITE = 29
constexpr

◆ SERVO_POS_READ

uint8_t lx16a::SERVO_POS_READ = 28
constexpr

◆ SERVO_RIGHT_BACK

uint8_t lx16a::SERVO_RIGHT_BACK = 10
constexpr

◆ SERVO_RIGHT_FRONT

uint8_t lx16a::SERVO_RIGHT_FRONT = 8
constexpr

◆ SERVO_TEMP_MAX_LIMIT_READ

uint8_t lx16a::SERVO_TEMP_MAX_LIMIT_READ = 25
constexpr

◆ SERVO_TEMP_MAX_LIMIT_WRITE

uint8_t lx16a::SERVO_TEMP_MAX_LIMIT_WRITE = 24
constexpr

◆ SERVO_TEMP_READ

uint8_t lx16a::SERVO_TEMP_READ = 26
constexpr

◆ SERVO_VIN_LIMIT_READ

uint8_t lx16a::SERVO_VIN_LIMIT_READ = 23
constexpr

◆ SERVO_VIN_LIMIT_WRITE

uint8_t lx16a::SERVO_VIN_LIMIT_WRITE = 22
constexpr

◆ SERVO_VIN_READ

uint8_t lx16a::SERVO_VIN_READ = 27
constexpr