ThunderLib
Loading...
Searching...
No Matches
thunder::Trajectory Class Referenceabstract
Inheritance diagram for thunder::Trajectory:
thunder::ThunderAutoTrajectory

Public Member Functions

virtual bool isValid () const noexcept=0
 
 operator bool () const noexcept
 
virtual TrajectoryState sample (units::second_t time) const noexcept=0
 
virtual units::second_t getDuration () const noexcept=0
 
virtual TrajectoryState getInitialState () const noexcept=0
 
virtual TrajectoryState getFinalState () const noexcept=0
 

Member Function Documentation

◆ getDuration()

virtual units::second_t thunder::Trajectory::getDuration ( ) const
pure virtualnoexcept

Returns the duration of the trajectory.

Returns
The duration.

Implemented in thunder::ThunderAutoTrajectory.

◆ getFinalState()

virtual TrajectoryState thunder::Trajectory::getFinalState ( ) const
pure virtualnoexcept

Returns the final state of the robot.

Returns
The final state.

Implemented in thunder::ThunderAutoTrajectory.

◆ getInitialState()

virtual TrajectoryState thunder::Trajectory::getInitialState ( ) const
pure virtualnoexcept

Returns the initial state of the robot.

Returns
The initial state.

Implemented in thunder::ThunderAutoTrajectory.

◆ sample()

virtual TrajectoryState thunder::Trajectory::sample ( units::second_t time) const
pure virtualnoexcept

Samples the trajectory at a specified time.

Parameters
timeThe time at which to sample the trajectory.
Returns
The state of the robot at the specified time.

Implemented in thunder::ThunderAutoTrajectory.


The documentation for this class was generated from the following file: