micro-ROS / micro-ROS/micro_ros_stm32cubemx_utils

how to reconnet to agent

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

Nobody has claimed this yet.

Dominant language
C
Stars
275
Forks
100
PR merge metrics
No merged PRs in 30d

Description

my Environment:

  • ubuntu22.04
  • ros humble

I am using usb to connect to stm32 board, I have to start the agent from my computer first, and then to connect to the stm32, or reset the stm32 after start the agent.

Is there a way to reconnect to agent once I connect my stm32 to the computer?

I have try the reconnection example from the arduino repo, but it seems doesn't work, It will always raise false during the initialization of the node like RCCHECK(rclc_node_init_default(&node, "int32_publisher_rclc", "", &support));

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

The issue names micro_ros_reconnection_example.ino and the rclc_node_init_default call; start by reproducing the initialization failure with Ubuntu 22.04, ROS Humble, and the STM32 USB setup. Done means the supported reconnect behavior or the limitation affecting this setup is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, robotics
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.