micro-ROS / micro-ROS-Agent

ROS 2 package using Micro XRCE-DDS Agent.
Apache License 2.0
97 stars 51 forks source link

Agent TCP4 not responding to RMW stream or packet #198

Open jondurrant opened 1 year ago

jondurrant commented 1 year ago

Issue template

Steps to reproduce the issue

Agent running in TCP4 mode: $ ros2 run micro_ros_agent micro_ros_agent tcp4 -p 8000

Firmware is using LWIP Sockets under Freertos as a custom transport rmw (rmw_uros_set_custom_transport). Tested both stream and packet communication modes.

Expected behavior

Would expect some acknowledge package or activity from the Agent.

Actual behavior

Agent is listening on port 8000. It accepts the connection. Data is sent from the firmware to the Agent but no response from the agent.

Additional information

I've not managed to find any blogs or code examples using tcp4 comms on the Agent. Can I confirm that this does talk rmw and whether this should be stream or packet mode?