micro-ROS / micro-ROS/micro_ros_stm32cubemx_utils
not create rclc_support_init(&support, 0, NULL, &allocator);
- Dominant language
- C
- Stars
- 275
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description
Hello there , I have a problem when creating nodes, they are not being created or I don't know what could be happening. It's the first time I'm using ROS2 on a microcontroller. I tried using debugging to find the issue. In debug mode, the program runs fine until this line:

. If I click on the next step, it jumps to a file called "task" and goes into a loop.

I don't know what might be happening. My "agente_ws" looks like this:

. The code is the same as the example, and I don't know what could be happening.
Thank you very much in advance. I'm using ROS2 Iron, and the board is an STM32 Nucleo H743ZI2.
Contributor guide
Research direction
Start at the rclc_support_init(&support, 0, NULL, &allocator) call in the example and inspect the task loop reached during debugging. Reproduce the node-creation failure on the STM32 Nucleo H743ZI2 with ROS2 Iron, then identify what causes initialization to enter that loop. Done means the cause is documented and node creation proceeds normally.
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
- 20/100