ThunderLib
Loading...
Searching...
No Matches
thunder::ThunderAutoModeCommand Class Reference

#include <ThunderAutoModeCommand.hpp>

Inheritance diagram for thunder::ThunderAutoModeCommand:

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
 

Detailed Description

A command that executes a ThunderAuto Auto Mode.

Constructor & Destructor Documentation

◆ ThunderAutoModeCommand()

thunder::ThunderAutoModeCommand::ThunderAutoModeCommand ( const std::string & autoModeName,
std::shared_ptr< ThunderAutoProject > project,
const TrajectoryRunnerProperties & properties )

Constructs a ThunderAutoModeCommand.

Parameters
trajectoryNameThe name of the auto mode to follow.
projectThe ThunderAutoProject that contains the auto mode and all referenced trajectories, actions, and conditions.
propertiesThe TrajectoryRunnerProperties to use for following all trajectories.

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