![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Powertrain state data class. More...
#include <laePowertrain.h>
Public Member Functions | |
LaePowertrainState () | |
Default constructor. | |
LaePowertrainState (const LaePowertrainState &src) | |
Copy constructor. | |
~LaePowertrainState () | |
Destructor. | |
LaePowertrainState | operator= (const LaePowertrainState &rhs) |
Assignment operator. More... | |
Public Attributes | |
s64_t | m_nEncoder |
motor encoder position (quad pulses) | |
int | m_nSpeed |
raw speed (qpps) | |
double | m_fTemp |
motor temperature (C) | |
double | m_fVolts |
input motor voltage (V) | |
double | m_fAmps |
motor draw (A) | |
uint_t | m_uBufLen |
command queue length | |
uint_t | m_uAlarms |
motor alarms | |
uint_t | m_uWarnings |
motor warnings | |
double | m_fPosition |
wheel angular position (radians) | |
double | m_fVelocity |
wheel angular velocity (radians/second) | |
double | m_fTorque |
wheel torque (N-m) | |
double | m_fPe |
motor input electrical power (W) | |
double | m_fPm |
motor output mechanical power (W) | |
Powertrain state data class.
This class encapsulates the current dynamic state of one powertrain.
Definition at line 139 of file laePowertrain.h.
LaePowertrainState LaePowertrainState::operator= | ( | const LaePowertrainState & | rhs | ) |
Assignment operator.
rhs | Right hand side object. |
Definition at line 196 of file laePowertrain.cxx.
References m_fAmps, m_fPe, m_fPm, m_fPosition, m_fTemp, m_fTorque, m_fVelocity, m_fVolts, m_nEncoder, m_nSpeed, m_uBufLen, and m_uWarnings.