Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/rqt_rover_gui/src/rover_gui_plugin.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Author: Matthew Fricke
// E-mail: matthew@fricke.co.uk
// Date: 9-16-205
// Date: 9-16-2015
// Purpose: implementation of a simple graphical front end for the UNM-NASA Swarmathon rovers.
// License: GPL3

Expand Down Expand Up @@ -707,6 +707,12 @@ void RoverGUIPlugin::currentRoverChangedEventHandler(QListWidgetItem *current, Q

void RoverGUIPlugin::pollRoversTimerEventHandler()
{
//If there are no rovers connected to the GUI, reset the obstacle call count to 0
if(ui.rover_list->count() == 0)
{
obstacle_call_count = 0;
}

// Returns rovers that have created a status topic
set<string>new_rover_names = findConnectedRovers();

Expand Down