Robotics StackExchange | Archived questions

Is it possible to reset Rviz through python script?

I am writing a python publisher that publishes pointcloud data. I wish to reset the Rviz scene after a while. How can this be done?

Asked by disha on 2019-02-08 09:41:03 UTC

Comments

What do you want to reset in RVIZ? The point clouds the camera position?

Asked by PeteBlackerThe3rd on 2019-02-08 11:26:24 UTC

I want to reset the point clouds. I am publishing a point cloud scene and trying to highlight some part of it using another topic(say /change_point). I wish to publish /change_point for specific time and then reset rviz scene so that only original data is visible. How do I do this?Thanks in advance!

Asked by disha on 2019-02-09 09:29:38 UTC

If you want to hide the highlight you could simply publish an empty point cloud to the /change_point topic. This should achieve what you want.

Asked by PeteBlackerThe3rd on 2019-02-09 11:19:03 UTC

Answers