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

rqt_reconfigure resets parameters on startup

asked 2013-11-08 04:20:29 -0600

kalectro gravatar image

updated 2013-11-08 04:21:05 -0600

Hi,

I had serious problems with saving and loading parameter while using rqt_reconfigure. To find my problem I broke the code down to the following:

  1. Start the node with the dynamic_reconfigure server
  2. rosparam set /node_name/myparam 42
  3. rosparam get /node_name/myparam (returns 42 and everything works)
  4. rosrun rqt_reconfigure rqt_reconfigure
  5. rosparam get /node_name/myparam (returns value saved in .cfg file)

I do not know why rqt_reconfigure does that. I also checked out its wiki page and as far as I see it should read the values from the parameter server and not set them back to the default from the .cfg file. I am lost.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-24 15:21:43 -0600

I was just trolling through and found this question, which is a little old. Hopefully this info will be useful to someone.

I found this issue when I took over maintenance a couple of months ago, and fixed it soon after. Please try pulling the latest version of rqt_reconfigure from rqt_common_plugins at https://github.com/ros-visualization/...

The fix is not in the current release, but will certainly be in the next one.

edit flag offensive delete link more

Comments

Thanks a lot for fixing it!

kalectro gravatar image kalectro  ( 2014-04-24 20:25:51 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-11-08 04:20:29 -0600

Seen: 1,620 times

Last updated: Apr 24 '14