#include <fsb_quintic.h>
◆ evaluate()
TrajState fsb::QuinticTrajectory::evaluate |
( |
real_t |
t_eval | ) |
const |
|
overridevirtual |
Evaluate position, velocity, acceleration, and jerk.
- Parameters
-
[in] | t_eval | Time at which to evaluate the trajectory |
- Returns
- Trajectory state containing position, velocity, acceleration, and jerk at
t_eval
Implements fsb::Segment.
◆ generate()
bool fsb::QuinticTrajectory::generate |
( |
real_t |
start_time, |
|
|
real_t |
duration, |
|
|
const TrajState & |
initial_state, |
|
|
const TrajState & |
final_state |
|
) |
| |
Generate spline.
- Parameters
-
[in] | start_time | Start time of the trajectory |
[in] | duration | Duration of the trajectory |
[in] | initial_state | Initial state of the trajectory |
[in] | final_state | Final state of the trajectory |
- Returns
- true if the spline was successfully generated, false otherwise
◆ get_duration()
real_t fsb::QuinticTrajectory::get_duration |
( |
| ) |
const |
|
inlineoverridevirtual |
Get total duration.
- Returns
- Total duration of trajectory
Implements fsb::SegmentBase.
◆ get_final_state()
TrajState fsb::QuinticTrajectory::get_final_state |
( |
| ) |
const |
|
inlineoverridevirtual |
Get final state of segment.
- Returns
- Get final state at end of segment
Implements fsb::Segment.
◆ get_final_time()
real_t fsb::QuinticTrajectory::get_final_time |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ get_start_time()
real_t fsb::QuinticTrajectory::get_start_time |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: