GT RoboCup SSL
Soccer software, robot firmware
RobotStatusWidget Class Reference

Shows the status of a single robot. More...

Public Member Functions

 RobotStatusWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 
int shellID () const
 
void setShellID (int shellID)
 
void setBlueTeam (bool blueTeam)
 
bool blueTeam () const
 
void setErrorText (const QString &error)
 This error text is displayed in a text box.
 
const QString & boardID () const
 ID of control board (4 hex digits)
 
void setBoardID (const QString &boardID)
 
void setWheelFault (int wheelIndex, bool faulty=true)
 
void setBallSenseFault (bool faulty=true)
 
void setHasBall (bool hasBall=true)
 
const QString & baseID () const
 ID of mechanical base (4 hex digits)
 
void setBaseID (const QString &baseID)
 
QString robotModel () const
 A string describing the robot model (i.e. More...
 
void setRobotModel (const QString &robotModel)
 
bool hasRadio () const
 
void setHasRadio (bool hasRadio)
 
bool hasVision () const
 
void setHasVision (bool hasVision)
 
float batteryLevel () const
 
void setBatteryLevel (float batteryLevel)
 
bool kickerState () const
 True: kicker is ready, False: kicker is charging.
 
void setKickerState (bool kickerState)
 
void setShowstopper (bool showstopper=true)
 Set to true to present this robot as being in critical status and in need of removing from the field.
 

Detailed Description

Shows the status of a single robot.

Includes things like battery voltage, radio connectivity, vision status, etc

+ Inheritance diagram for RobotStatusWidget:
+ Collaboration diagram for RobotStatusWidget:

Member Function Documentation

◆ robotModel()

QString RobotStatusWidget::robotModel ( ) const

A string describing the robot model (i.e.

"RJ 2015")


The documentation for this class was generated from the following files: