Parameters issue
Closed this issue · 5 comments
Issue template
- Hardware description: ESP32
- RTOS: FreeRTOS
- Installation type: ESP IDF VS CODE extension with the esp idf v4.4, micro ros espidf component in the folder components of my project, Micro-Ros agent from micro_ros_setup
- Version or commit hash: Humble (default)
Steps to reproduce the issue
-
Copy and paste the example parameters of this repository into the main of the project created for vs code esp idf extension
-
change the following line of code highlighted in blue to a value of 10 because I didn't find the RCLC_PARAMETER_EXECUTOR_HANDLES_NUMBER
-
change colcon.meta to services 10 and rmw_microxrcedds/config.h service to 10
-
set wifi port and agent ip correctly
-
build and flash
-
execute ros agent udp port 8888
-
execute the ros2 param list
Expected behavior
To see param1,2 and 3 in the list
Actual behavior
I don't see my parameters on the list after executing the param list command or param get node_name param1
But from the ros agent terminal, I see the ros agent is sending a message to the micro ros node but I don't have any response and from the topic created for this example we get
Additional information
I have increased my heap memory to 60 kbytes
I tried to follow the next issue
micro-ROS/micro_ros_zephyr_module#34
I tried to change my docker file
But I don't know how to change the ros agent of the micro_ros_Setup repo.
I don't know if DDS is not allowing to receive things from parameters
change colcon.meta to services 10 and rmw_microxrcedds/config.h service to 10
Did you rebuild your micro-ROS library after this modification?
rmw_microxrcedds/config.h
should not be modified, please check that the generated config.h
contains the expected number of services without manual modifications.
From the README:
To clean and rebuild all the micro-ROS library:
idf.py clean-microros
Anyway, We should update the repo documentation, as its not clearly stated or documented.
thank youuuu very much is working right now