Parameter Server rosserial_arduino
There doesn't appear to be any support for the ROS parameter server when using rosserial_arduino
. When trying to get a parameter using:
nh.getParam("Param_name", pname);
I get the compile error:
no matching function for call to 'getParam(const char [11], int&)'
Are there plans to support this in the future? Thank you.
Asked by mjwhite on 2018-12-22 11:51:13 UTC
Answers
There doesn't appear to be any support for the ROS parameter server when using
rosserial_arduino
.
How did you come to this conclusion? The documentation certainly shows support for retrieving parameters: wiki/rosserial/Overview/Parameters.
Asked by gvdhoorn on 2018-12-22 13:14:17 UTC
Comments
Sorry, I was following another example where they were passing an int value to getParam() instead of a pointer. Thank you for your prompt response.
Asked by mjwhite on 2018-12-22 13:41:08 UTC
So it works now?
Asked by gvdhoorn on 2018-12-22 13:50:35 UTC
Yes it does. Thank you.
Asked by mjwhite on 2018-12-22 13:56:00 UTC
Comments