-
Notifications
You must be signed in to change notification settings - Fork 0
moa_drivers
Samuel Kurian edited this page Jul 14, 2023
·
2 revisions
ROS node to convert messages in the CANbus to raw CANStamped ROS2 messages.
Reads CAN data from the CANbus every 0.05ms
Publishes each CAN message onto /raw_can
topic.
Service publish_can_data
Decode raw CANStamped messages into messages useful for inferring the car's status.
Reads from /raw_can
topic.
- battery status onto
/battery_state
asBatteryState
msg - drive status onto
/drive_status
asAckermannStamped
msg - glv status onto
/glv_state
asBatteryState
msg
0x6b0
: voltage [3] + [2], current [1] + [0]
0x6b3
: No of cells present [6]
0x6b4
: temperature of the battery [3] + [2]
0x604
: drive speed [4]
0x605
: steering angle [0]
0x602
: current [4] + [3], voltage [2] + [1], percentage [0]