How to use micro_ros on OpenCR
Using ros foxy and trying to get the data from OpenCR. I have followed the instructions in the documentation and installed the micro_ros setup as well as micro_ros_arduino. The micro_ros_publisher code is uploaded and the micro_ros_agent is also initiated successfully. It displays topic, publisher,data writer created.
But the topics are not listed or working when I use the ros2 topic list.
am I missing any steps? Kindly inform me what needs to be done.
The node is also not working - when I use ros2 node list , there is no running node
I have tried the debug method and I got something like this: [1628074355.331673] debug | SerialAgentLinux.cpp | send_message | [* <<ser>> *] | client_key: 0x5CC77904, len: 13, data: 0000: 81 00 00 00 0A 01 05 00 55 00 00 00 80
[1628074355.331928] debug | SerialAgentLinux.cpp | recv_message | [==>> SER <<==] | client_key: 0x5CC77904, len: 13, data: 0000: 81 00 00 00 0B 01 05 00 54 00 54 00 80
[1628074355.332154] debug | SerialAgentLinux.cpp | send_message | [* <<ser>> *] | client_key: 0x5CC77904, len: 13, data: 0000: 81 00 00 00 0A 01 05 00 55 00 00 00 80
[1628074356.351128] debug | SerialAgentLinux.cpp | recv_message | [==>> SER <<==] | client_key: 0x5CC77904, len: 16, data: 0000: 81 80 55 00 07 01 08 00 00 5F 00 05 51 00 00 00
[1628074356.351352] debug | DataWriter.cpp | write | [* <<dds>> *] | client_key: 0x00000000, len: 4, data: 0000: 51 00 00 00
I tried the docker method and getting the same results.
Thanks