From 410d3706ede25f506150224d25f171b39ee822dc Mon Sep 17 00:00:00 2001 From: ryleu <69326171+ryleu@users.noreply.github.com> Date: Thu, 2 Apr 2026 19:49:07 -0500 Subject: [PATCH] update README with mock connector instructions --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index fbdf62d..fe84505 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,19 @@ You can see all data sent to it in a string format with this command: $ ros2 topic echo /anchor/to_vic/debug ``` +To send data to it, use the normal topic: + +```bash +$ ros2 topic pub /anchor/to_vic/relay astra_msgs/msg/VicCAN '{mcu_name: "core", command_id: 50, data: [0.0, 2.0, 0.0, 1.0]}' + +``` + +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"}' +``` + ### Testing Serial You can fake the presence of a Serial device (i.e., MCU) by using the following command: