#include <JointLimits.h>
Public Member Functions | |
bool | checkHardwareLimits (std::vector< double > velocities) |
bool | checkPositionLimits (std::vector< double > positions, std::vector< double > velocities) |
bool | checkVelocityLimits (std::vector< double > velocities) |
int | getDOF () |
std::vector< double > | getLowerLimits () |
std::vector< double > | getMaxVelocities () |
std::vector< double > | getOffsets () |
std::vector< double > | getUpperLimits () |
void | setDOF (int dof) |
int | setLowerLimits (std::vector< double > low_lim) |
int | setMaxVelocities (std::vector< double > max_vel) |
int | setOffsets (std::vector< double > offs) |
int | setUpperLimits (std::vector< double > up_lim) |
Private Attributes | |
int | DOF_ |
std::vector< double > | HWNegative_ |
std::vector< double > | HWPositive_ |
std::vector< double > | LowerLimits_ |
std::vector< double > | MaxVelocities_ |
std::vector< double > | Offsets_ |
std::vector< double > | UpperLimits_ |
Definition at line 73 of file JointLimits.h.
bool JointLimits::checkHardwareLimits | ( | std::vector< double > | velocities | ) |
bool JointLimits::checkPositionLimits | ( | std::vector< double > | positions, |
std::vector< double > | velocities | ||
) |
Definition at line 86 of file JointLimits.cpp.
bool JointLimits::checkVelocityLimits | ( | std::vector< double > | velocities | ) |
Definition at line 64 of file JointLimits.cpp.
int JointLimits::getDOF | ( | ) | [inline] |
Definition at line 159 of file JointLimits.h.
std::vector<double> JointLimits::getLowerLimits | ( | ) | [inline] |
Definition at line 144 of file JointLimits.h.
std::vector<double> JointLimits::getMaxVelocities | ( | ) | [inline] |
Definition at line 139 of file JointLimits.h.
std::vector<double> JointLimits::getOffsets | ( | ) | [inline] |
Definition at line 154 of file JointLimits.h.
std::vector<double> JointLimits::getUpperLimits | ( | ) | [inline] |
Definition at line 149 of file JointLimits.h.
void JointLimits::setDOF | ( | int | dof | ) | [inline] |
Definition at line 134 of file JointLimits.h.
int JointLimits::setLowerLimits | ( | std::vector< double > | low_lim | ) | [inline] |
Definition at line 102 of file JointLimits.h.
int JointLimits::setMaxVelocities | ( | std::vector< double > | max_vel | ) | [inline] |
Definition at line 91 of file JointLimits.h.
int JointLimits::setOffsets | ( | std::vector< double > | offs | ) | [inline] |
Definition at line 124 of file JointLimits.h.
int JointLimits::setUpperLimits | ( | std::vector< double > | up_lim | ) | [inline] |
Definition at line 114 of file JointLimits.h.
int JointLimits::DOF_ [private] |
Definition at line 82 of file JointLimits.h.
std::vector<double> JointLimits::HWNegative_ [private] |
Definition at line 81 of file JointLimits.h.
std::vector<double> JointLimits::HWPositive_ [private] |
Definition at line 80 of file JointLimits.h.
std::vector<double> JointLimits::LowerLimits_ [private] |
Definition at line 77 of file JointLimits.h.
std::vector<double> JointLimits::MaxVelocities_ [private] |
Definition at line 76 of file JointLimits.h.
std::vector<double> JointLimits::Offsets_ [private] |
Definition at line 79 of file JointLimits.h.
std::vector<double> JointLimits::UpperLimits_ [private] |
Definition at line 78 of file JointLimits.h.