Hekateros  3.4.3
RoadNarrows Robotics Robot Arm Project
hekateros::VelSpeedTuple Class Reference

Joint velocity to servo speed tuple class. More...

#include <hekKinJoint.h>

Public Member Functions

 VelSpeedTuple ()
 Default constructor.
 
 VelSpeedTuple (const double fJointVel, const int nServoSpeed)
 Initialization constructor.
 
 VelSpeedTuple (const VelSpeedTuple &src)
 Copy constructor. More...
 
 ~VelSpeedTuple ()
 Destructor.
 
VelSpeedTuple operator= (const VelSpeedTuple &rhs)
 Assignment operator. More...
 

Public Attributes

double m_fJointVel
 joint velocity (radians/second)
 
int m_nServoSpeed
 associated servo speed (raw unitless)
 

Detailed Description

Joint velocity to servo speed tuple class.

For each measured joint velocity (radians/second) the associated servo speed (raw unitless) has been read.

Definition at line 195 of file hekKinJoint.h.

Constructor & Destructor Documentation

VelSpeedTuple::VelSpeedTuple ( const VelSpeedTuple src)

Copy constructor.

Parameters
srcSource object to copy.

Definition at line 160 of file hekKinJoint.cxx.

References m_fJointVel, and m_nServoSpeed.

161 {
162  m_fJointVel = src.m_fJointVel;
164 }
double m_fJointVel
joint velocity (radians/second)
Definition: hekKinJoint.h:198
int m_nServoSpeed
associated servo speed (raw unitless)
Definition: hekKinJoint.h:199

Member Function Documentation

VelSpeedTuple VelSpeedTuple::operator= ( const VelSpeedTuple rhs)

Assignment operator.

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

Definition at line 166 of file hekKinJoint.cxx.

References m_fJointVel, and m_nServoSpeed.

167 {
168  m_fJointVel = rhs.m_fJointVel;
170 
171  return *this;
172 }
double m_fJointVel
joint velocity (radians/second)
Definition: hekKinJoint.h:198
int m_nServoSpeed
associated servo speed (raw unitless)
Definition: hekKinJoint.h:199

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