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

Can I reset RVIZ via topic?

asked 2016-02-05 09:19:39 -0500

NEngelhard gravatar image

Hey!

Is there a way to reset rviz via topic/service/...? I'd like to clear all objects e.g. when restarting a node and since the display is not at my desk, I'd like to be able to just send a trigger to reset instead of having to use a mouse.

Nikolas

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2016-02-05 17:08:15 -0500

William gravatar image

Not that I'm aware of, but you could possible write an rviz plugin that allowed you to do so.

edit flag offensive delete link more
0

answered 2017-03-17 11:22:21 -0500

Tom Panzarella gravatar image

I wanted to rekindle this idea. Before I go off and implement something to do this (in my "free time"), is anyone aware of a way to s/w trigger an rviz "reset" -- literally, to trigger the functionality that the "reset" button in the bottom left of the rviz screen carries out. Ideally passing an "empty" message to some topic/service that rviz is listening on would be ideal.

Thanks in advance for any advice.

Tom

edit flag offensive delete link more
0

answered 2021-03-24 11:15:37 -0500

Rr gravatar image
rosservice call /rviz_node/load_config "path:
  data: '/path/to/rviz/config.rviz'"

reloads RViz

edit flag offensive delete link more

Comments

This shows me an error:

ERROR: Unable to load type [rviz/SendFilePath].
Have you typed 'make' in [rviz]?

Do you have any idea? Ubuntu 18.04 + ROS Melodic

Mohsen.ciw gravatar image Mohsen.ciw  ( 2023-03-27 10:34:12 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-02-05 09:19:39 -0500

Seen: 2,129 times

Last updated: Mar 24 '21