make mock mcu use VicCAN messages

This commit is contained in:
ryleu
2026-04-07 21:52:52 -05:00
parent 410d3706ed
commit bc9183d59a
2 changed files with 4 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ $ ros2 topic pub /anchor/to_vic/relay astra_msgs/msg/VicCAN '{mcu_name: "core",
To emulate receiving data from a microcontroller, publish to the dedicated topic:
```bash
$ ros2 topic pub /anchor/from_vic/mock_mcu std_msgs/msg/String '{data: "can_relay_fromvic,arm,55,0.0,450.0,900.0,0.0"}'
$ ros2 topic pub /anchor/from_vic/mock_mcu astra_msgs/msg/VicCAN '{mcu_name: "arm", command_id: 55, data: [0.0, 450.0, 900.0, 0.0]}'
```
### Testing Serial