micro-ROS / micro-ROS/micro-ROS-Agent

Agent TCP4 not responding to RMW stream or packet

Open
#198 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
201
Forks
111
Avg merge
1d 6h
Merged PRs (30d)
10

Description

Issue template

  • Hardware description:
    Agent running on Ubuntu 22.04 x86)64
    Firmware on Raspberry PI Pico W
  • RTOS: FreeRTOS
  • Installation type: micro_ros_setup
  • Version or commit hash: Humble
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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the micro_ros_agent tcp4 -p 8000 command and the firmware's rmw_uros_set_custom_transport configuration using LWIP sockets on FreeRTOS. Compare stream and packet communication and verify whether the Agent responds to the firmware data; document the required mode or reproduce a confirmed fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, raspberry-pi, ubuntu
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.