59 #include "rnr/rnrconfig.h" 75 KuonRobotJoint::KuonRobotJoint()
85 m_fTicksPerMotorRad = 0.0;
86 m_fTicksPerWheelRad = 0.0;
107 KuonRobotJoint::~KuonRobotJoint()
134 KuonJointState::KuonJointState()
142 m_fVelocityMps = 0.0;
193 bool KuonJointStatePoint::hasJoint(
const string &strJointName)
195 vector<KuonJointState>::iterator iter;
197 for(iter = m_jointState.begin(); iter != m_jointState.end(); ++iter)
199 if( iter->m_strName == strJointName )
207 KuonJointState &KuonJointStatePoint::operator[](
const string &strJointName)
209 vector<KuonJointState>::iterator iter;
211 for(iter = m_jointState.begin(); iter != m_jointState.end(); ++iter)
213 if( iter->m_strName == strJointName )
double m_fTicksPerMotorRad
encoder/odom. ticks per motor radian
std::string m_strName
joint name
double m_fVelocityMps
current wheel velocity (meters/second)
std::string m_strName
motor joint name
double m_fPosition
current joint position (radians)
int m_nMotorIndex
motor controller unique motor index
float m_fSlew
current motor power slewing (normalized)
double m_fTicksPerWheelRad
encoder/odom. ticks per wheel radian
The <b><i>Kuon</i></b> namespace encapsulates all <b><i>Kuon</i></b> related constructs.
double m_fGearRatio
joint gear ratio
int m_nMotorCtlrId
motor controller id
float m_fBrake
current motor braking (normalized)
Kuon Robot Joint class interfaces.
int m_nMotorDir
motor normalized direction
int m_eJointType
joint type
int m_nSpeed
current raw speed
double m_fPm
current motor output mechanical power (W)
<b><i>Kuon</i></b> product specification base classes.
RoadNarrows Kuon robot top-level header file.
static const int KuonMotorIdNone
no motor id
static const int KuonMotorDirUnknown
unknown
double m_fPe
current motor input electrical power (W)
unknown/undefined joint type
int m_nEncoder
current motor encoder position (ticks)
static const int KuonMotorCtlrIdNone
no motor controller id
double m_fOdometer
current wheel odometer reading (meters)
Operational robotic joint class.
double m_fVelocity
current joint velocity (radians/second)
double m_fEffort
current joint torque (N-m)