|
ThunderLib
|
#include <ThunderAutoModeCommand.hpp>
Public Member Functions | |
| ThunderAutoModeCommand (const std::string &autoModeName, std::shared_ptr< ThunderAutoProject > project, const TrajectoryRunnerProperties &properties) | |
| bool | isValid () const |
| operator bool () const | |
| void | Initialize () override |
| void | Execute () override |
| void | End (bool interrupted) override |
| bool | IsFinished () override |
A command that executes a ThunderAuto Auto Mode.
| thunder::ThunderAutoModeCommand::ThunderAutoModeCommand | ( | const std::string & | autoModeName, |
| std::shared_ptr< ThunderAutoProject > | project, | ||
| const TrajectoryRunnerProperties & | properties ) |
Constructs a ThunderAutoModeCommand.
| trajectoryName | The name of the auto mode to follow. |
| project | The ThunderAutoProject that contains the auto mode and all referenced trajectories, actions, and conditions. |
| properties | The TrajectoryRunnerProperties to use for following all trajectories. |