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