micro-ROS / micro-ROS/micro_ros_stm32cubemx_utils
rclc_parameter_server_init_default returns RCL_RET_ERROR
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 275
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description

I am trying to set a parameter server with a nucleo stm32f4 board , I already changed the values in colcon.meta (as said here https://micro.ros.org/docs/tutorials/programming_rcl_rclc/parameters/#callback) but the function is returning an error, although my program can continue rc = rclc_executor_spin(&executor); also returns RCL_RET_ERROR and goes out and I can not see the parameters of my micro ros app from the command ros2 param list .
I am using the FOXY distribution
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the STM32CubeMX parameter-server setup and the colcon.meta changes described in the linked micro-ROS parameters tutorial. Reproduce the failure on the Nucleo STM32F4 with Foxy, then inspect why rclc_parameter_server_init_default and rclc_executor_spin return RCL_RET_ERROR. Done means the application runs successfully and its parameters appear in ros2 param list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100