-
Notifications
You must be signed in to change notification settings - Fork 1
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_stateasBatteryStatemsg - drive status onto
/drive_statusasAckermannStampedmsg - glv status onto
/glv_stateasBatteryStatemsg
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]