micro-ROS / micro_ros_renesas_demos

Demo code for Renesas e2 studio
Apache License 2.0
4 stars 5 forks source link

Unable to find the parameter demo code as per video #125

Closed Jackogip closed 1 year ago

Jackogip commented 1 year ago

Issue template

Is the parameter demo code available as shown in the demo video here: link

I'm currently trying to set up a parameter server but I'm running into BSP_CFG_HANDLE_UNRECOVERABLE_ERROR(0); so having the actual demo code would get good to compare to.

Jackogip commented 1 year ago

An update on not being able to set up a parameter server.

I found that I was running into a heap size limit. This was with only 1x node, 1x publisher, and 1x parameter setup.

By either increasing the heap allocation or setting the param_options to low_mem_mode=trueseemed to have solved the issue for me.

Was there a reason for recommending a heap and main stack size of 5000bytes - here: link?

Acuadros95 commented 1 year ago

The parameter server is quite heavy. We included a low memory mode configuration that you can also try out, check this documentation: Parameter Server API.

Was there a reason for recommending a heap and main stack size of 5000bytes - here: link?

Its a generic configuration to fit basic micro-ROS applications, feel free to adapt the memory configuration to your needs.

Closing as the problem was solved on your side.