Kuon  1.1.3
RoadNarrows Robotics Large Outdoor Mobile Robot Project
kuon::KuonRobotStatus Class Reference

Robot global status. More...

#include <kuonStatus.h>

Public Types

typedef std::vector< KuonMotorHealthVecHealth
 

Public Member Functions

 KuonRobotStatus ()
 Default constructor.
 
 KuonRobotStatus (const KuonRobotStatus &src)
 Copy constructor.
 
 ~KuonRobotStatus ()
 Destructor.
 
KuonRobotStatus operator= (const KuonRobotStatus &rhs)
 Assignment operator. More...
 
void clear ()
 Clear data.
 

Public Attributes

KuonRobotMode m_eRobotMode
 robot operating mode
 
KuonTriState m_eIsEStopped
 robot is [not] emergency stopped
 
KuonTriState m_eAreDrivesPowered
 motor are [not] powered
 
KuonTriState m_eIsMotionPossible
 motion is [not] possible
 
KuonTriState m_eIsInMotion
 robot is [not] moving
 
KuonTriState m_eIsInError
 robot is [not] in error condition
 
int m_nErrorCode
 kuon error code
 
float m_fGovernor
 speed limiting governor (0-1)
 
float m_fBattery
 current battery energy (Wh)
 
VecHealth m_vecMotorHealth
 motors' health
 

Detailed Description

Robot global status.

Definition at line 110 of file kuonStatus.h.

Member Function Documentation

KuonRobotStatus KuonRobotStatus::operator= ( const KuonRobotStatus rhs)

Assignment operator.

Parameters
rhsRight hand side object.
Returns
Returns copy of this.

Definition at line 115 of file kuonStatus.cxx.

References m_eAreDrivesPowered, m_eIsEStopped, m_eIsInError, m_eIsInMotion, m_eIsMotionPossible, m_eRobotMode, m_fBattery, m_fGovernor, m_nErrorCode, and m_vecMotorHealth.

116 {
124  m_fGovernor = rhs.m_fGovernor;
125  m_fBattery = rhs.m_fBattery;
127 
128  return *this;
129 }
KuonTriState m_eIsMotionPossible
motion is [not] possible
Definition: kuonStatus.h:152
KuonTriState m_eAreDrivesPowered
motor are [not] powered
Definition: kuonStatus.h:151
float m_fGovernor
speed limiting governor (0-1)
Definition: kuonStatus.h:156
KuonTriState m_eIsInMotion
robot is [not] moving
Definition: kuonStatus.h:153
int m_nErrorCode
kuon error code
Definition: kuonStatus.h:155
KuonTriState m_eIsEStopped
robot is [not] emergency stopped
Definition: kuonStatus.h:150
float m_fBattery
current battery energy (Wh)
Definition: kuonStatus.h:157
VecHealth m_vecMotorHealth
motors&#39; health
Definition: kuonStatus.h:158
KuonRobotMode m_eRobotMode
robot operating mode
Definition: kuonStatus.h:149
KuonTriState m_eIsInError
robot is [not] in error condition
Definition: kuonStatus.h:154

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