#include <fsb_cubic.h>
◆ evaluate()
| TrajState fsb::CubicTrajectory::evaluate |
( |
Real |
t_eval | ) |
const |
|
finaloverridevirtual |
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< TrajStateType >.
◆ generate()
| bool fsb::CubicTrajectory::generate |
( |
Real |
start_time, |
|
|
Real |
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 fsb::CubicTrajectory::get_duration |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ get_final_state()
| TrajState fsb::CubicTrajectory::get_final_state |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ get_final_time()
| Real fsb::CubicTrajectory::get_final_time |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ get_initial_state()
| TrajState fsb::CubicTrajectory::get_initial_state |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ get_start_time()
| Real fsb::CubicTrajectory::get_start_time |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ set_coeffs()
| void fsb::CubicTrajectory::set_coeffs |
( |
Real |
start_time, |
|
|
Real |
duration, |
|
|
const CubicCoeffs & |
coeffs |
|
) |
| |
Set coefficients of the cubic trajectory.
- Parameters
-
| [in] | start_time | Start time of the trajectory |
| [in] | duration | Duration of the trajectory |
| [in] | coeffs | Coefficients of the cubic polynomial |
The documentation for this class was generated from the following file: