Public Member Functions | Private Attributes
JointMotionLimitHelper Class Reference

Helper for maintaining joint limits. More...

#include <MotionLimiter.h>

List of all members.

Public Member Functions

double getLimit (unsigned int index) const
 getLimit get limit
const std::vector< double > & getLimits () const
bool getPositiveOnly () const
 JointMotionLimitHelper (bool positiveOnly_in=true)
 JointMotionLimitHelper (const JointMotionLimitHelper &tocopy)
void setLimit (double lim)
 set limit for all joints
void setLimits (const std::vector< double > &limArray_in)
 set limit for each joint
virtual ~JointMotionLimitHelper ()

Private Attributes

std::vector< double > limArray
bool positiveOnly

Detailed Description

Helper for maintaining joint limits.

Definition at line 23 of file MotionLimiter.h.


Constructor & Destructor Documentation

JointMotionLimitHelper::JointMotionLimitHelper ( bool  positiveOnly_in = true)

Definition at line 3 of file MotionLimiter.cpp.

Definition at line 8 of file MotionLimiter.cpp.

Definition at line 14 of file MotionLimiter.cpp.


Member Function Documentation

double JointMotionLimitHelper::getLimit ( unsigned int  index) const

getLimit get limit

Exceptions:
std:out_of_rangeif index is invalid

Definition at line 48 of file MotionLimiter.cpp.

const std::vector<double>& JointMotionLimitHelper::getLimits ( ) const [inline]

Definition at line 50 of file MotionLimiter.h.

bool JointMotionLimitHelper::getPositiveOnly ( ) const [inline]

Definition at line 51 of file MotionLimiter.h.

void JointMotionLimitHelper::setLimit ( double  lim)

set limit for all joints

Parameters:
limis limit to set
Returns:
void

Definition at line 18 of file MotionLimiter.cpp.

void JointMotionLimitHelper::setLimits ( const std::vector< double > &  limArray_in)

set limit for each joint

Parameters:
limArray_inlimit array for joints
Returns:
void

sets an array of joint limits.

Definition at line 32 of file MotionLimiter.cpp.


Member Data Documentation

std::vector<double> JointMotionLimitHelper::limArray [private]

Definition at line 54 of file MotionLimiter.h.

Definition at line 55 of file MotionLimiter.h.


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


robodyn_controllers
Author(s):
autogenerated on Sat Jun 8 2019 20:20:54