|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <command_pack.hpp>

Public Types | |
| using | CommandMapper = tap::control::CommandMapper |
| using | CommandMapping = tap::control::CommandMapping |
| using | RemoteState = tap::control::RemoteMapState |
Public Member Functions | |
| virtual void | initialize ()=0 |
| CommandPack (CommandMapper &mapper) | |
| virtual | ~CommandPack ()=default |
Protected Member Functions | |
| void | registerCommandMappings (std::span< std::reference_wrapper< CommandMapping > > mappings) |
This is a family of classes which wire commands and subsystems together.
Mappers will often accept references to subsystems and then pass them into the constructors of commands and whatnot.
They will also connect mappers as well.
| fang::command::CommandPack::CommandPack | ( | CommandMapper & | mapper | ) |
|
virtualdefault |
|
pure virtual |
Implemented in fang::command::PierceAutoTestCommandPack, and fang::command::PierceCommandPack.
|
protected |