micro_ros_stm32cubemx_utils icon indicating copy to clipboard operation
micro_ros_stm32cubemx_utils copied to clipboard

rclc_parameter_server_init_default returns RCL_RET_ERROR

Open ALUIS97 opened this issue 2 years ago • 8 comments

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

ALUIS97 avatar Jan 11 '23 06:01 ALUIS97

Could you share your colcon.meta and rmw_microxrcedds/config.h?

pablogs9 avatar Jan 11 '23 06:01 pablogs9

config_h.txt colcon_meta.txt By the way I set up my environment with static library IDE and DMA transport for serial comunication

ALUIS97 avatar Jan 11 '23 15:01 ALUIS97

Could you share the micro-ROS Agent output with the flag -v6?

pablogs9 avatar Jan 12 '23 06:01 pablogs9

micro_ros_agent_v6.txt here it is

ALUIS97 avatar Jan 12 '23 17:01 ALUIS97

An finally, can you share you micro-ROS client code?

pablogs9 avatar Jan 13 '23 06:01 pablogs9