Skip to content

Commit 3c17cbe

Browse files
committed
The rover name is not passed to the popout map
This allows waypoints to show up in the popup map
1 parent f1a1845 commit 3c17cbe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/rqt_rover_gui/src/MapFrame.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,12 @@ void MapFrame::receiveWaypointReached(int waypoint_id)
881881
void MapFrame::receiveCurrentRoverName( QString rover_name )
882882
{
883883
this->rover_currently_selected = rover_name.toStdString();
884+
885+
// Forward the change to the popout map if it exists
886+
if (popout_mapframe)
887+
{
888+
popout_mapframe->receiveCurrentRoverName(rover_name);
889+
}
884890
}
885891

886892
MapFrame::~MapFrame()

0 commit comments

Comments
 (0)