micro-ROS / micro-ROS/micro_ros_stm32cubemx_utils

rclc_parameter_server_init_default returns RCL_RET_ERROR

Open
#85 8 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

image

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.