Skip to content

How to reset Autoware without closing rviz? #5877

Answered by maxime-clem
Kim-mins asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to keep Rviz running, you can run it separately with this command:

ros2 run rviz2 rviz2 -d src/autoware/launcher/autoware_launch/rviz/autoware.rviz

You can then launch Autoware but with the launch option rviz:=false (https://github.com/autowarefoundation/autoware_launch/blob/main/autoware_launch/launch/autoware.launch.xml#L42).

This does require restarting Autoware if you want to "reset" its state, so it does not exactly do what you want.
There is no way to nicely reset the state of Autoware, but usually updating the initial and goal poses lets you to drive autonomously again.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@Kim-mins
Comment options

@maxime-clem
Comment options

@Kim-mins
Comment options

Answer selected by Kim-mins
Comment options

You must be logged in to vote
1 reply
@Kim-mins
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants