![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
Joint trajectory point class. More...
#include <hekTraj.h>
Public Member Functions | |
| HekJointTrajectoryPoint () | |
| Default constructor. | |
| HekJointTrajectoryPoint (const HekJointTrajectoryPoint &src) | |
| Copy constructor. | |
| ~HekJointTrajectoryPoint () | |
| Destructor. | |
| HekJointTrajectoryPoint | operator= (const HekJointTrajectoryPoint &rhs) |
| Assignment operator. More... | |
| uint_t | getTimeFromStart () |
| Get time from start. More... | |
| void | setTimeFromStart (uint_t uTimeFromStart) |
| Set time from start. More... | |
| size_t | getNumPoints () |
| Get the number of joint points in trajectory. More... | |
| void | append (const std::string &strName, double fPosition, double fVelocity, double fAcceleration=0.0) |
| Append joint point to end of trajectory. More... | |
| HekJointTraj & | operator[] (const size_t i) |
| Subscript operator to get reference to joint point at the given index. More... | |
| void | clear () |
| Clear data. | |
Protected Attributes | |
| std::vector< HekJointTraj > | m_trajectory |
| trajectory | |
| uint_t | m_uTimeFromStart |
| duration | |
Joint trajectory point class.
A joint trajectory point (T0, T1, ..., Tn-1) specifies the goal position, velocity, and acceleration for a set of joints (kinematic chain) Ti, i=0,n-1.
|
inline |
Append joint point to end of trajectory.
| strName | Joint name. |
| fPosition | Joint position. |
| fVelocity | Joint velocity. |
| fAcceleration | Joint acceleration. |
Definition at line 264 of file hekTraj.h.
Referenced by hekateros::HekRobot::closeGripper(), hekateros::HekRobot::gotoBalancedPos(), hekateros::HekRobot::gotoParkedPos(), hekateros::HekRobot::gotoZeroPtPos(), and hekateros::HekRobot::openGripper().
|
inline |
Get the number of joint points in trajectory.
Definition at line 251 of file hekTraj.h.
Referenced by hekateros::HekKinematics::move().
|
inline |
Get time from start.
Definition at line 229 of file hekTraj.h.
|
inline |
Assignment operator.
| rhs | Right hand side object. |
Definition at line 214 of file hekTraj.h.
References m_trajectory, and m_uTimeFromStart.
|
inline |
Subscript operator to get reference to joint point at the given index.
Big boy warranty. No out of bound checks are made.
| i | Index. |
Definition at line 283 of file hekTraj.h.
|
inline |
Set time from start.
| uTimeFromStart | Duration. |
Definition at line 241 of file hekTraj.h.