Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
laelaps::LaeRptMotorHealth Class Reference

Robot motor health. More...

#include <laeReports.h>

Public Member Functions

 LaeRptMotorHealth ()
 Default constructor.
 
 LaeRptMotorHealth (const LaeRptMotorHealth &src)
 Copy constructor.
 
 ~LaeRptMotorHealth ()
 Destructor.
 
LaeRptMotorHealth operator= (const LaeRptMotorHealth &rhs)
 Assignment operator. More...
 

Public Attributes

std::string m_strName
 motor name
 
double m_fTemperature
 motor temperature (Celsius)
 
double m_fVoltage
 motor voltage (volts)
 
double m_fCurrent
 motor current draw (amperes)
 
LaeAlarmInfo m_alarms
 motor alarms and warnings
 

Detailed Description

Robot motor health.

Definition at line 119 of file laeReports.h.

Member Function Documentation

LaeRptMotorHealth LaeRptMotorHealth::operator= ( const LaeRptMotorHealth rhs)

Assignment operator.

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

Definition at line 125 of file laeReports.cxx.

References m_alarms, m_fCurrent, m_fTemperature, m_fVoltage, and m_strName.

126 {
127  m_strName = rhs.m_strName;
129  m_fVoltage = rhs.m_fVoltage;
130  m_fCurrent = rhs.m_fCurrent;
132 
133  return *this;
134 }
static void copyAlarms(const LaeAlarmInfo &src, LaeAlarmInfo &dst)
Copy alarm state.
Definition: laeAlarms.cxx:362
LaeAlarmInfo m_alarms
motor alarms and warnings
Definition: laeReports.h:126
double m_fVoltage
motor voltage (volts)
Definition: laeReports.h:124
double m_fCurrent
motor current draw (amperes)
Definition: laeReports.h:125
double m_fTemperature
motor temperature (Celsius)
Definition: laeReports.h:123
std::string m_strName
motor name
Definition: laeReports.h:122

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