Skip to content

5.1 Control Table

The control table consists of data representing the current state of the device as well as numerous data items required for drive and control operations. Each individual data entry in the control table is called a control item, and each item has properties such as a unique Name, size, and access permission.

Users can read specific items from the control table using the Dynamixel Protocol 2.0 to check the device status, and control the device by modifying their values.

Internally, AntBot manages the control table as an XML file.

  • Size (Length)

    Data sizes are fixed at 1 to 4 bytes depending on the purpose. Please check the control table for the size of each data item.

    Consecutive data of 2 bytes or more is recorded according to the Little Endian convention.

  • Access Permission (RW)

    Control table data has 2 types of access properties. RW allows both read and write access. On the other hand, R has a Read Only property.

    Data with the read-only property will not change even if a value is written to that address.

  • Default Value (Init)

    The default values shown in the control table are the values set when power is applied to the device.

    Values are not preserved when power is turned off.

  • Enumerated Data (Label)

    Some control items have enumerated labels, where integer values are mapped to labels in order. The first label is 0, the second is 1, the third is 2, and so on.

    For example, if Motor_State has labels IDLE:READY_ENTER:READY:..., then value 0 = IDLE, value 1 = READY_ENTER, value 2 = READY.


RCU (Robot Control Unit)

The control table can be found in control_table.xml.

  • Serial Port: /dev/ttyUSB0
  • Communication Protocol: Dynamixel Protocol 2.0
  • Baud Rate: 4,000,000 bps
  • Scale: Physical unit conversion factor per 1 LSB of raw value (physical_value = raw_value x scale)

System

NameUnitAccessDescription
RTC_Set_DateYYMMDDRWDate setting for host time synchronization
(e.g., 260225 → 2026-02-25)
RTC_Set_TimeHHmmssRWTime setting for host time synchronization
(e.g., 143005 → 14:30:05)

Motor

NameUnit (Scale)AccessDescription
Motor_State-RMotor state
(Motor can be driven when in READY state)
Motor_Reboot_Check-RWMotor reboot confirmation
(When flag is raised, wheel motor Present_Position value resets to 0)
Motor_Goal_Accelerationrev/min² (x53.644)RWWheel motor target acceleration
M1~M4_Goal_RPMrev/min (x0.01)RWWheel motor target velocity
M1~M4_Present_RPMrev/min (x0.01)RWheel motor current velocity
M1~M4_Present_PositionpulseRWheel motor current position (encoder)
M1~M4_Present_CurrentmARWheel motor current
M1~M4_Motor_Temperature°CRWheel motor temperature
S1~S4_Goal_PositionpulseRWSteering motor target position
S1~S4_Present_PositionpulseRSteering motor current position
S1~S4_Profile_Accelerationrev/min² (x214.577)RWSteering acceleration profile
S1~S4_Profile_Velocityrev/min (x0.229)RWSteering velocity profile
S1~S4_Present_CurrentmARSteering motor current

Battery

NameUnit (Scale)AccessDescription
Battery_CurrentmA (x10)RBattery current
Battery_VoltageV (x0.01)RBattery voltage
Battery_CapacityAh (x0.01)RBattery capacity
Battery_Percentage%RBattery remaining charge (SOC)
BMS_Temperature°CRBMS temperature
Battery_Is_Charging-RCharging state (Discharging, Charging)

Emergency Stop

NameUnitAccessDescription
Estop_State-REmergency stop state

Cargo

NameUnitAccessDescription
Cargo_Command-RWCargo command
Cargo_Door_State-RDoor state
Cargo_Lock_State-RLock state

Headlight

NameUnitAccessDescription
Headlight_State-RWHeadlight control

Wiper

NameUnit (Scale)AccessDescription
Wiper_Mode-RWWiper mode
Wiper_INT_Timesec (x0.1)RWWiper interval
Wiper_Hw_error_1~3-RWiper error codes

Ultrasonic Sensor

NameUnitAccessDescription
UltraSonic_1~2cmRUltrasonic sensor values

Relay

NameUnit (Scale)AccessDescription
Relay_ControlbitmaskRWRelay control
Relay_Timeoutsec (x0.1)RWRelay auto timeout
IMU

IMU data is read through an independent communication channel separate from the RCU. The control table can be found in control_table.xml.

  • Serial Port: /dev/ttyUSB1
  • Communication Protocol: Dynamixel Protocol 2.0
  • Baud Rate: 4,000,000 bps
  • Scale: Physical unit conversion factor per 1 LSB of raw value (physical_value = raw_value x scale)
NameUnit (Scale)AccessDescription
IMU_Acc_X/Y/Zg (x0.0000610)R3-axis acceleration
IMU_Gyro_X/Y/Zdps (x16.4)R3-axis angular velocity

© 2026 ROBOTIS AI. All rights reserved.