![]() |
FancySafeBot 0.0.1
A safe robotics library
|
Abstract class for segments.
#include <fsb_trajectory_types.h>


Public Member Functions | |
| virtual Real | get_start_time () const =0 |
| Get start time of the segment. | |
| virtual Real | get_duration () const =0 |
| Get duration of the segment. | |
| virtual Real | get_final_time () const =0 |
| Get final time of the segment. | |
| virtual TrajStateType | evaluate (Real t_eval) const =0 |
| Evaluate the segment at a given time. | |
| virtual TrajStateType | get_final_state () const =0 |
| Get final state of the segment. | |
| virtual TrajStateType | get_initial_state () const =0 |
| Get initial state of the segment. | |
|
pure virtual |
Evaluate the segment at a given time.
| [in] | t_eval | Time at which to evaluate the segment. |
Implemented in fsb::Spline< MaxPoints >, fsb::CubicTrajectory, fsb::Quintic, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, fsb::TrapezoidalPosition, and fsb::TrapezoidalVelocity.
|
pure virtual |
Get duration of the segment.
Implemented in fsb::Spline< MaxPoints >, fsb::CubicTrajectory, fsb::Quintic, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, fsb::TrapezoidalPosition, and fsb::TrapezoidalVelocity.
|
pure virtual |
Get final state of the segment.
Implemented in fsb::Spline< MaxPoints >, fsb::CubicTrajectory, fsb::Quintic, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, fsb::TrapezoidalPosition, and fsb::TrapezoidalVelocity.
|
pure virtual |
Get final time of the segment.
Implemented in fsb::Spline< MaxPoints >, fsb::CubicTrajectory, fsb::Quintic, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, fsb::TrapezoidalPosition, and fsb::TrapezoidalVelocity.
|
pure virtual |
Get initial state of the segment.
Implemented in fsb::Spline< MaxPoints >, fsb::CubicTrajectory, fsb::Quintic, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, fsb::TrapezoidalPosition, and fsb::TrapezoidalVelocity.
|
pure virtual |
Get start time of the segment.
Implemented in fsb::Spline< MaxPoints >, fsb::CubicTrajectory, fsb::Quintic, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, fsb::TrapezoidalPosition, and fsb::TrapezoidalVelocity.