![]() |
2022-Robot
Robot code for 2022 FRC Season by Argos, FRC team #1756
|
Interface capable of saving and loading module home positions from persistent storage. More...
#include <swerve_utils.h>
Public Member Functions | |
virtual bool | Save (const SwerveModulePositions &homePosition)=0 |
Save home position to persistent storage. More... | |
virtual std::optional< SwerveModulePositions > | Load ()=0 |
Load home position from persistent storage. More... | |
Interface capable of saving and loading module home positions from persistent storage.
|
pure virtual |
Load home position from persistent storage.
Implemented in argos_lib::swerve::NetworkTablesHomingStorage, and FileSystemHomingStorage.
|
pure virtual |
Save home position to persistent storage.
homePosition | Positions to store |
Implemented in argos_lib::swerve::NetworkTablesHomingStorage, and FileSystemHomingStorage.