Hekateros  3.4.3
RoadNarrows Robotics Robot Arm Project
hekateros::HekRobotState Class Reference

Robot overall state. More...

#include <hekState.h>

Public Types

typedef std::vector< HekServoHealthVecHealth
 

Public Member Functions

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

Public Attributes

HekRobotMode m_eRobotMode
 robot operating mode
 
HekTriState m_eIsCalibrated
 robot is [not] calibrated
 
HekTriState m_eIsEStopped
 robot is [not] emergency stopped
 
HekTriState m_eAreDrivesPowered
 servos are [not] powered
 
HekTriState m_eIsMotionPossible
 motion is [not] possible
 
HekTriState m_eIsInMotion
 robot is [not] moving
 
HekTriState m_eIsInError
 robot is [not] in error condition
 
int m_nErrorCode
 hekateros error code
 
VecHealth m_vecServoHealth
 servos' health
 

Detailed Description

Robot overall state.

Definition at line 114 of file hekState.h.

Member Function Documentation

HekRobotState HekRobotState::operator= ( const HekRobotState rhs)

Assignment operator.

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

Definition at line 117 of file hekState.cxx.

References m_eAreDrivesPowered, m_eIsCalibrated, m_eIsEStopped, m_eIsInError, m_eIsInMotion, m_eIsMotionPossible, m_eRobotMode, m_nErrorCode, and m_vecServoHealth.

118 {
128 
129  return *this;
130 }
int m_nErrorCode
hekateros error code
Definition: hekState.h:160
VecHealth m_vecServoHealth
servos&#39; health
Definition: hekState.h:161
HekTriState m_eIsInError
robot is [not] in error condition
Definition: hekState.h:159
HekTriState m_eIsEStopped
robot is [not] emergency stopped
Definition: hekState.h:155
HekRobotMode m_eRobotMode
robot operating mode
Definition: hekState.h:153
HekTriState m_eIsInMotion
robot is [not] moving
Definition: hekState.h:158
HekTriState m_eIsMotionPossible
motion is [not] possible
Definition: hekState.h:157
HekTriState m_eAreDrivesPowered
servos are [not] powered
Definition: hekState.h:156
HekTriState m_eIsCalibrated
robot is [not] calibrated
Definition: hekState.h:154

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