Public Member Functions | Public Attributes
constrained_ik::constraints::AvoidJointLimits::LimitsT Struct Reference

Stores joint limit constraint data for a single joint. More...

#include <avoid_joint_limits.h>

List of all members.

Public Member Functions

double cubicVelRamp (double angle, double limit) const
 Calculates velocity for joint position avoidance Uses cubic function v = y-y0 = k(x-x0)^3 where k=max_vel/(joint_range/2)^3.
 LimitsT (double minPos, double maxPos, double threshold)
 Constructor for LimitsT.

Public Attributes

double e
 threshold as a distance from limit
double k3
 factor used in cubic velocity ramp
double lower_thresh
 lower threshold at which limiting begins
double max_pos
 maximum joint position
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
double 
min_pos
 minimum joint position
double upper_thresh
 upper threshold at which limiting begins

Detailed Description

Stores joint limit constraint data for a single joint.

Definition at line 58 of file avoid_joint_limits.h.


Constructor & Destructor Documentation

constrained_ik::constraints::AvoidJointLimits::LimitsT::LimitsT ( double  minPos,
double  maxPos,
double  threshold 
)

Constructor for LimitsT.

Parameters:
minPosMinimum allowed joint position
maxPosMaximum allowed joint position
thresholdLimiting threshold given as a percentage of joint range

Definition at line 204 of file avoid_joint_limits.cpp.


Member Function Documentation

double constrained_ik::constraints::AvoidJointLimits::LimitsT::cubicVelRamp ( double  angle,
double  limit 
) const

Calculates velocity for joint position avoidance Uses cubic function v = y-y0 = k(x-x0)^3 where k=max_vel/(joint_range/2)^3.

Parameters:
angleAngle to calculate velocity for
limitAngle limit
Returns:
joint velocity to avoid joint limits

Definition at line 220 of file avoid_joint_limits.cpp.


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


constrained_ik
Author(s): Chris Lewis , Jeremy Zoss , Dan Solomon
autogenerated on Sat Jun 8 2019 19:23:46