MicroRos agent connected but no topics, services

asked 2023-04-15 00:08:39 -0500

PointCloud gravatar image

updated 2023-04-15 01:33:44 -0500

gvdhoorn gravatar image

Hey hey all!

I'm back from hospital, so do expect more posts from me :-)

Got a problem with my project, microRos agent is launched and serial communciation with Teensy is established but I can't see any topics, nor services.

Raspberry pi 4b (headless server) running ubuntu 22.04.1 and ros humble -> MicroROS agent Teensy 4.1 running microROS

$ cat logs/microros/agent.log 
[1681534275.989772] info     | TermiosAgentLinux.cpp | init                     | running...             | fd: 3
[1681534275.991343] info     | Root.cpp           | set_verbose_level        | logger setup           | verbose_level: 4
[1681534276.671295] info     | Root.cpp           | create_client            | create                 | client_key: 0x2E0B6820, session_id: 0x81
[1681534276.673589] info     | SessionManager.hpp | establish_session        | session established    | client_key: 0x2E0B6820, address: 0
[1681534276.790919] info     | ProxyClient.cpp    | create_participant       | participant created    | client_key: 0x2E0B6820, participant_id: 0x000(1)
[1681534276.793607] info     | ProxyClient.cpp    | create_replier           | replier created        | client_key: 0x2E0B6820, requester_id: 0x000(7), participant_id: 0x000(1)
[1681534276.796380] info     | ProxyClient.cpp    | create_replier           | replier created        | client_key: 0x2E0B6820, requester_id: 0x001(7), participant_id: 0x000(1)
[1681534276.798840] info     | ProxyClient.cpp    | create_replier           | replier created        | client_key: 0x2E0B6820, requester_id: 0x002(7), participant_id: 0x000(1)
[1681534276.801484] info     | ProxyClient.cpp    | create_replier           | replier created        | client_key: 0x2E0B6820, requester_id: 0x003(7), participant_id: 0x000(1)
[1681534276.804151] info     | ProxyClient.cpp    | create_replier           | replier created        | client_key: 0x2E0B6820, requester_id: 0x004(7), participant_id: 0x000(1)
[1681534276.805115] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0x2E0B6820, topic_id: 0x000(2), participant_id: 0x000(1)
[1681534276.805682] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0x2E0B6820, publisher_id: 0x000(3), participant_id: 0x000(1)
[1681534276.806970] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0x2E0B6820, datawriter_id: 0x000(5), publisher_id: 0x000(3)
[1681534276.807705] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0x2E0B6820, topic_id: 0x001(2), participant_id: 0x000(1)
[1681534276.808201] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0x2E0B6820, publisher_id: 0x001(3), participant_id: 0x000(1)
[1681534276.809355] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0x2E0B6820, datawriter_id: 0x001(5), publisher_id: 0x001(3)
[1681534276.810011] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0x2E0B6820, topic_id: 0x002(2), participant_id: 0x000(1)
[1681534276.810549] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0x2E0B6820, publisher_id: 0x002(3), participant_id: 0x000(1)
[1681534276.811804] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0x2E0B6820, datawriter_id: 0x002(5), publisher_id: 0x002(3)
[1681534276.812491] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0x2E0B6820, topic_id: 0x003(2), participant_id: 0x000(1)
[1681534276.813148] info     | ProxyClient.cpp    | create_subscriber        | subscriber created     | client_key: 0x2E0B6820, subscriber_id: 0x000(4), participant_id: 0x000(1)
[1681534276.814621] info     | ProxyClient.cpp    | create_datareader        | datareader created     | client_key: 0x2E0B6820, datareader_id: 0x000(6), subscriber_id: 0x000(4)
[1681534276.815619] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0x2E0B6820, topic_id: 0x004(2), participant_id: 0x000(1)
[1681534276.816199] info     | ProxyClient.cpp    | create_subscriber        | subscriber created     | client_key: 0x2E0B6820, subscriber_id: 0x001(4), participant_id: 0x000(1)
[1681534276.817516] info     | ProxyClient.cpp    | create_datareader        | datareader created     | client_key: 0x2E0B6820, datareader_id: 0x001(6), subscriber_id: 0x001(4)
[1681534276.818481] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0x2E0B6820, topic_id: 0x005(2), participant_id: 0x000(1)
[1681534276.819025] info     | ProxyClient.cpp    | create_subscriber        | subscriber created     | client_key: 0x2E0B6820, subscriber_id: 0x002(4), participant_id: 0x000(1)
[1681534276.820296] info     | ProxyClient.cpp    | create_datareader        | datareader created     | client_key: 0x2E0B6820, datareader_id: 0x002(6), subscriber_id: 0x002(4)
[1681534276.821233] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0x2E0B6820 ...
(more)
edit retag flag offensive close merge delete

Comments

Hey, please post your full micro-ROS code so we can take a look :)

coatwolf gravatar image coatwolf  ( 2023-04-16 01:48:32 -0500 )edit