|
Orocos KDL
|
#include <path_roundedcomposite.hpp>
Public Member Functions | |
| Path_RoundedComposite (double radius, double eqradius, RotationalInterpolation *orient, bool aggregate=true) | |
| void | Add (const Frame &F_base_point) |
| void | Finish () |
| virtual double | LengthToS (double length) |
| virtual double | PathLength () |
| virtual Frame | Pos (double s) const |
| virtual Twist | Vel (double s, double sd) const |
| virtual Twist | Acc (double s, double sd, double sdd) const |
| virtual Path * | Clone () |
| virtual void | Write (std::ostream &os) |
| virtual int | GetNrOfSegments () |
| virtual Path * | GetSegment (int i) |
| virtual double | GetLengthToEndOfSegment (int i) |
| virtual void | GetCurrentSegmentLocation (double s, int &segment_number, double &inner_s) |
| virtual IdentifierType | getIdentifier () const |
| virtual | ~Path_RoundedComposite () |
| Public Member Functions inherited from KDL::Path | |
| virtual | ~Path () |
Additional Inherited Members | |
| Public Types inherited from KDL::Path | |
| enum | IdentifierType { ID_LINE =1 , ID_CIRCLE =2 , ID_COMPOSITE =3 , ID_ROUNDED_COMPOSITE =4 , ID_POINT =5 , ID_CYCLIC_CLOSED =6 } |
| Static Public Member Functions inherited from KDL::Path | |
| static Path * | Read (std::istream &is) |
The specification of a path, composed of way-points with rounded corners.
| KDL::Path_RoundedComposite::Path_RoundedComposite | ( | double | radius, |
| double | eqradius, | ||
| RotationalInterpolation * | orient, | ||
| bool | aggregate = true ) |
| radius | : radius of the rounding circles |
| eqradius | : equivalent radius to compare rotations/velocities |
| orient | : method of rotational_interpolation interpolation |
| aggregate | : if true, this object will own the _orient pointer, i.e. it will delete the _orient pointer when the destructor of this object is called. |
|
virtual |
|
virtual |
Returns the acceleration twist at path length s and with derivative of s == sd, and 2nd derivative of s == sdd
Implements KDL::Path.
| void KDL::Path_RoundedComposite::Add | ( | const Frame & | F_base_point | ) |
Adds a point to this rounded composite, between two adjacent points a Path_Line will be created, between two lines there will be rounding with the given radius with a Path_Circle
The Error_MotionPlanning_Not_Feasible has a type (obtained by GetType) of:
| F_base_point | the pose of a new via point. |
|
virtual |
virtual constructor, constructing by copying. In this case it returns the Clone() of the aggregated Path_Composite because this is all one ever will need.
Implements KDL::Path.
| void KDL::Path_RoundedComposite::Finish | ( | ) |
to be called after the last line is added to finish up the work
|
virtual |
| s | [INPUT] path length variable for the composite. |
| segment_number | [OUTPUT] segments that corresponds to the path length variable s. |
| inner_s | [OUTPUT] path length to use within the segment. |
|
inlinevirtual |
|
virtual |
gets the length to the end of the given segment.
| i | segment number |
|
virtual |
returns the number of underlying segments.
|
virtual |
|
virtual |
LengthToS() converts a physical length along the trajectory to the parameter s used in Pos, Vel and Acc. This is used because in cases with large rotations the parameter s does NOT correspond to the lineair length along the trajectory. User should be sure that the lineair distance travelled by this path object is NOT zero, when using this method ! (e.g. the case of only rotational change) throws Error_MotionPlanning_Not_Applicable if used on composed path objects.
Implements KDL::Path.
|
virtual |
Returns the total path length of the trajectory (has dimension LENGTH) This is not always a physical length , ie when dealing with rotations that are dominant.
Implements KDL::Path.
|
virtual |
|
virtual |
Returns the velocity twist at path length s theta and with derivative of s == sd
Implements KDL::Path.
|
virtual |
Writes one of the derived objects to the stream
Implements KDL::Path.