|
2025-Robot
Robot code for 2025 FRC season by Argos, FRC team #1756
|
Interface capable of saving and loading home positions from persistent storage. More...
#include <homing_interface.h>
Public Member Functions | |
| virtual bool | Save (const T &homePosition)=0 |
| Save home position to persistent storage. | |
| virtual std::optional< T > | Load ()=0 |
| Load home position from persistent storage. | |
Interface capable of saving and loading home positions from persistent storage.
| T | Type of the home position. Should be a units type |
|
nodiscardpure virtual |
Load home position from persistent storage.
Implemented in argos_lib::FSHomingStorage< T >.
|
pure virtual |
Save home position to persistent storage.
| homePosition | Position to store |
Implemented in argos_lib::FSHomingStorage< T >.