micro-ROS / micro-ROS/micro_ros_stm32cubemx_utils

not create rclc_support_init(&support, 0, NULL, &allocator);

Open
#107 3 comments 0 reactions 0 assignees View on GitHub
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:
![image](https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/assets/59970010/f84daf65-6c40-4e57-8dc5-e089777d366d)
. If I click on the next step, it jumps to a file called "task" and goes into a loop.
![image](https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/assets/59970010/9acc7ea6-be85-4128-a278-970c98813cc7)
I don't know what might be happening. My "agente_ws" looks like this:
![image](https://github.com/micro-ROS/micro_ros_stm32cubemx_utils/assets/59970010/184b8436-df41-4010-934f-af42f3faabee)
. 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.