◆ getActions()
| const std::multimap< units::second_t, std::string > & thunder::ThunderAutoTrajectory::getActions |
( |
| ) |
const |
|
noexcept |
Gets the map of actions to perform at specific times during the trajectory.
These actions may continue to run while the robot is driving.
- Returns
- Map of times to actions.
◆ getDuration()
| units::second_t thunder::ThunderAutoTrajectory::getDuration |
( |
| ) |
const |
|
overridevirtualnoexcept |
Gets the duration of the trajectory.
- Returns
- Duration of the trajectory.
Implements thunder::Trajectory.
◆ getEndAction()
| const std::string & thunder::ThunderAutoTrajectory::getEndAction |
( |
| ) |
const |
|
noexcept |
Gets the end action to perform after finishing the trajectory.
- Returns
- Action name
◆ getFinalState()
Gets the final state of the trajectory.
- Returns
- Final trajectory state.
Implements thunder::Trajectory.
◆ getInitialState()
Gets the initial state of the trajectory.
- Returns
- Initial trajectory state.
Implements thunder::Trajectory.
◆ getStartAction()
| const std::string & thunder::ThunderAutoTrajectory::getStartAction |
( |
| ) |
const |
|
noexcept |
Gets the start action to perform before starting the trajectory.
- Returns
- Action name
◆ getStopActions()
| const std::map< units::second_t, std::string > & thunder::ThunderAutoTrajectory::getStopActions |
( |
| ) |
const |
|
noexcept |
Gets the map of actions to perform at times at which the robot is stopped during the trajectory.
The robot should pause driving at these times to perform the action and resume driving after the action is complete.
- Returns
- Map of stop times to action names.
◆ isValid()
| bool thunder::ThunderAutoTrajectory::isValid |
( |
| ) |
const |
|
overridevirtualnoexcept |
◆ sample()
| TrajectoryState thunder::ThunderAutoTrajectory::sample |
( |
units::second_t | time | ) |
const |
|
overridevirtualnoexcept |
The documentation for this class was generated from the following files: