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

rviz: unsaved changes

asked 2012-10-15 02:27:30 -0500

liborw gravatar image

Is it possible to somehow prevent rviz from asking to save unsaved changes?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-10-15 03:32:50 -0500

kszonek gravatar image

updated 2012-10-15 03:33:47 -0500

There is no direct way to do this, but fell free to write a patch :) You are not the only one annoyed be this popup.

Good practise is not to close rviz at all, only after work with the robot. If you need to restart rviz for some reason, it means there is something wrong with your code or rviz itself (happens too). I use to close rviz from time to time when I am working on battery, it saves some power (opengl likes my cpu).

As a workaround: - ctrl+s and alt+f4 to speed things up, or - alt+tab and ctrl+c, when you don't want changes to be saved

I don't know of any better solution.

edit flag offensive delete link more
1

answered 2012-10-16 04:10:29 -0500

updated 2012-10-16 04:10:50 -0500

I agree with @kszonek and your question, it would be nice to be able to turn off this feature. Perhaps a patch is in order.

My workaround is to always add rviz to my launch files, as well as a launch argument to not start it if I don't want. Then I find that when I kill the launch process, rviz closes without asking to save, even if its settings have changed.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-10-15 02:27:30 -0500

Seen: 464 times

Last updated: Oct 16 '12