How to update Rviz after parameters are changed elsewhere? [closed]

asked 2014-02-24 19:52:11 -0500

mortenpj gravatar image

updated 2014-02-25 04:13:14 -0500

demmeln gravatar image

Hi,

I am using the C++ move_group_interface and the GUI (Rviz Plugin), shown in the image below, but then I change a parameter in the C++ interface, it isn't updated in Rviz.

image description

For example if i change the Planning time by this function setPlanningTime() and read it again in the C++ interface i get the right value, but the value shown in Rviz is still the old value.

If i change the Planning Time value in the GUI (Rviz plugin) and tries to write it to the terminal from my c++ code through the C++ interface with the line below, it doesn't know the Planning time value set in the GUI.

ROS_INFO("Planning Time: %f", group.getPlanningTime());

Is there a way to update the parameters in Rviz then they are changed from the C++ interface or vice versa?

I am using:

  • ROS Groovy
  • Ubuntu 12.04
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-01-30 22:49:00.273960