Skip to content

Commit 35e5548

Browse files
committed
Remove waypoint path from map when entering autonomous mode
Resets the selected rover's waypoint path in the map when the rover is put into autonomous mode.
1 parent 802ce4a commit 35e5548

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rqt_rover_gui/src/MapData.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ void MapData::setAutonomousMode(string rover_name)
422422
{
423423
update_mutex.lock();
424424
rover_mode[rover_name] = 1;
425+
resetWaypointPathForSelectedRover(rover_name);
425426
update_mutex.unlock();
426427
}
427428

0 commit comments

Comments
 (0)