I have a stm32f407 board with the same chip as olimex_e407, I want to transplant the source code of olimex_e407 to my new version. I follow the tutorial https://micro-ros.github.io/docs/tutorials/core/first_application_rtos/freertos/ to complete the related installation and burning. My problem is that I cannot see the topic /microROS/ping in the new terminal.
My system is ubuntu 20.04 and ros2 version is foxy
I start the agent as follows:
ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyUSB0 -v6
[1605573834.109076] info | TermiosAgentLinux.cpp | init | running... | fd: 3
[1605573834.109228] info | Root.cpp | set_verbose_level | logger setup | verbose_level: 6
After I restart the device, I can see the serial port transceiver and dds reading and writing:
[1605573865.009277] debug | SerialAgentLinux.cpp | recv_message | [==>> SER <<==] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 0B 00 0B 00 80
[1605573865.009292] debug | SerialAgentLinux.cpp | recv_message | [==>> SER <<==] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 0B 00 0B 00 80
[1605573865.009370] debug | DataWriter.cpp | write | [** <<DDS>> **] | client_key: 0x00000000, len: 34, data:
0000: 04 00 00 00 00 6E 0A 1E 16 00 00 00 31 31 39 31 33 39 31 35 32 39 5F 31 30 38 35 33 37 37 37 34
0020: 33 00
[1605573865.009428] debug | DataReader.cpp | read_fn | [==>> DDS <<==] | client_key: 0x00000000, len: 34, data:
0000: 04 00 00 00 00 6E 0A 1E 16 00 00 00 31 31 39 31 33 39 31 35 32 39 5F 31 30 38 35 33 37 37 37 34
0020: 33 00
[1605573865.009447] debug | SerialAgentLinux.cpp | send_message | [** <<SER>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 0C 00 00 00 80
[1605573865.009516] debug | SerialAgentLinux.cpp | send_message | [** <<SER>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 0C 00 00 00 80
[1605573865.009531] debug | SerialAgentLinux.cpp | send_message | [** <<SER>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 0C 00 00 00 80
[1605573865.009555] debug | SerialAgentLinux.cpp | send_message | [** <<SER>> **] | client_key: 0x5851F42D, len: 46, data:
0000: 81 01 01 00 09 01 26 00 00 14 00 06 04 00 00 00 00 6E 0A 1E 16 00 00 00 31 31 39 31 33 39 31 35
0020: 32 39 5F 31 30 38 35 33 37 37 37 34 33 00
[1605573865.010425] debug | SerialAgentLinux.cpp | recv_message | [==>> SER <<==] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0B 01 05 00 0B 00 0B 00 80
[1605573865.010551] debug | SerialAgentLinux.cpp | send_message | [** <<SER>> **] | client_key: 0x5851F42D, len: 13, data:
0000: 81 00 00 00 0A 01 05 00 0C 00 00 00 80
But I only see
$ ros2 topic list
/parameter_events
/rosout
I can't see it normally, the topic is like this
/microROS/ping
/microROS/pong
I have no clue what the problem is. . Do you have any suggestions?
I have a stm32f407 board with the same chip as olimex_e407, I want to transplant the source code of olimex_e407 to my new version. I follow the tutorial https://micro-ros.github.io/docs/tutorials/core/first_application_rtos/freertos/ to complete the related installation and burning. My problem is that I cannot see the topic /microROS/ping in the new terminal.
My system is ubuntu 20.04 and ros2 version is foxy
I start the agent as follows:
ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyUSB0 -v6
[1605573834.109076] info | TermiosAgentLinux.cpp | init | running... | fd: 3
[1605573834.109228] info | Root.cpp | set_verbose_level | logger setup | verbose_level: 6
After I restart the device, I can see the serial port transceiver and dds reading and writing:
But I only see
$ ros2 topic list
/parameter_events
/rosout
I can't see it normally, the topic is like this
/microROS/ping
/microROS/pong
I have no clue what the problem is. . Do you have any suggestions?