How to update Rviz after parameters are changed elsewhere? [closed]
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.
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