62 #include "rnr/rnrconfig.h" 275 m_strKinName = strKinName;
285 return m_jointState.size();
295 bool hasJoint(
const std::string &strJointName);
304 m_jointState.push_back(jointState);
319 return m_jointState[i];
339 m_strKinName.clear();
340 m_jointState.clear();
351 #endif // _KUON_JOINT_H double m_fTicksPerMotorRad
encoder/odom. ticks per motor radian
~KuonRobotJoint()
Destructor.
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)
size_t getNumPoints()
Get the number of joint states in joint state point.
int m_nMotorIndex
motor controller unique motor index
KuonJointStatePoint(const KuonJointStatePoint &src)
Copy constructor.
void append(const KuonJointState &jointState)
Append joint state to end of joint state point.
Kuon robotic manipulator plus accesories class.
KuonJointState & operator[](const size_t i)
Subscript operator to get reference to joint point at the given 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)
~KuonJointState()
Destructor.
void setKinematicChainName(std::string strKinName)
Set the kinematic chain name.
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)
~KuonJointStatePoint()
Destructor.
KuonRobotJoint()
Default constructor.
RoadNarrows Kuon robot top-level header file.
void clear()
Clear all state data.
std::vector< KuonJointState > m_jointState
vector of joint states
double m_fPe
current motor input electrical power (W)
KuonJointStatePoint()
Default constructor.
int m_nEncoder
current motor encoder position (ticks)
std::string getJointName() const
Get joint name.
double m_fOdometer
current wheel odometer reading (meters)
Operational robotic joint class.
double m_fTireRadius
tire radius
std::string getKinematicChainName()
Get the kinematic chain name.
int getMotorId() const
Get motor id.
double m_fVelocity
current joint velocity (radians/second)
std::string m_strKinName
name of kinematic chain
KuonJointStatePoint operator=(const KuonJointStatePoint &rhs)
Assignment operator.
double m_fEffort
current joint torque (N-m)
KuonRobotJoint operator=(const KuonRobotJoint &rhs)
Assignment operator.