ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Parameter Server rosserial_arduino

asked 2018-12-22 10:51:13 -0500

mjwhite gravatar image

updated 2018-12-22 12:15:49 -0500

gvdhoorn gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-22 12:14:17 -0500

gvdhoorn gravatar image

updated 2018-12-22 13:08:23 -0500

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.

edit flag offensive delete link more

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.

mjwhite gravatar image mjwhite  ( 2018-12-22 12:41:08 -0500 )edit

So it works now?

gvdhoorn gravatar image gvdhoorn  ( 2018-12-22 12:50:35 -0500 )edit

Yes it does. Thank you.

mjwhite gravatar image mjwhite  ( 2018-12-22 12:56:00 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-12-22 10:51:13 -0500

Seen: 249 times

Last updated: Dec 22 '18