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

ros::param::getCached will not update and gives errors

asked 2016-11-14 14:28:08 -0500

codenotes gravatar image

updated 2016-11-15 01:49:09 -0500

gvdhoorn gravatar image

Can't seem to make full use of ros::param::getCached....while I CAN retrieve a value that is set on rosmaster, I get this error continuously:

[DEBUG] [1479155346.850264931]: XML-RPC call [subscribeParam] returned an error (-1): [ERROR: parameter [caller_api] is not an XMLRPC URI]

[DEBUG] [1479155346.850767245]: Subscribe to parameter [/boob]: call to the master failed

This message comes from some python validator on the roscore side I think...and there my debugging ability will fail me.

Can I get some insight into what might be going on? My ROS_MASTER_URI is not remarkable and my general ROS nodes operate correctly.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-14 15:17:17 -0500

codenotes gravatar image

I would add that doing some subsequent research, these errors happen and I fail when using:

ros::param::getCached()

however:

somenodehandle.getParamCached() DOES seem to work.

so I think maybe the docs should specify that ros::param::getCached() is probably not to be used. If you want updated parameters, one needs to go through a valid nodehandle.

edit flag offensive delete link more

Comments

1

Hm. If you feel this is a bug or an oversight, you could report this to the ros_commissue tracker.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-15 01:56:43 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-11-14 14:28:08 -0500

Seen: 317 times

Last updated: Nov 15 '16