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

#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
double k3
double lower_thresh
double max_pos
double min_pos
double upper_thresh

Detailed Description

Definition at line 95 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 156 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
Returns:
joint velocity to avoid joint limits

Definition at line 174 of file avoid_joint_limits.cpp.


Member Data Documentation

Definition at line 102 of file avoid_joint_limits.h.

Definition at line 103 of file avoid_joint_limits.h.

Definition at line 100 of file avoid_joint_limits.h.

Definition at line 98 of file avoid_joint_limits.h.

Definition at line 97 of file avoid_joint_limits.h.

Definition at line 101 of file avoid_joint_limits.h.


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


constrained_ik
Author(s): Chris Lewis , Jeremy Zoss , Dan Solomon
autogenerated on Mon Oct 6 2014 00:52:27