![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Robotic powertrain description. More...
#include <laeDesc.h>
Public Member Functions | |
LaeDescPowertrain () | |
Default constructor. | |
LaeDescPowertrain (const std::string &strKey) | |
Initialization constructor. | |
virtual | ~LaeDescPowertrain () |
Destructor. | |
LaeDescPowertrain | operator= (const LaeDescPowertrain &rhs) |
Assignment operator. More... | |
void | clear () |
Clear description. | |
virtual void | print (int indent=0) |
Print out description to stdout. More... | |
Public Attributes | |
std::string | m_strKey |
powertrain key | |
int | m_nMotorId |
unique robot motor id | |
int | m_nMotorCtlrId |
unique motor controller id | |
int | m_nMotorIndex |
motor controller unique motor index | |
LaeJointType | m_eJointType |
powertrain joint type | |
LaeEncType | m_eEncType |
encoder type | |
double | m_fGearRatio |
motor gear ratio | |
int | m_nDir |
normalize cw/ccw direction. | |
Robotic powertrain description.
A powertrain includes the motor and drivetrain. The drivetrain is the group of components that deliver power to the driving wheel(s) including encoders, gears, axles, wheels, and tires.
LaeDescPowertrain LaeDescPowertrain::operator= | ( | const LaeDescPowertrain & | rhs | ) |
Assignment operator.
rhs | Right hand side object. |
Definition at line 255 of file laeDesc.cxx.
References m_eEncType, m_eJointType, m_fGearRatio, m_nDir, m_nMotorCtlrId, m_nMotorId, m_nMotorIndex, laelaps::LaeDescBase::m_strKey, and m_strKey.
|
virtual |
Print out description to stdout.
indent | Left indentation. |
Definition at line 281 of file laeDesc.cxx.
References laelaps::LaeDescBase::m_strKey.