33 std::optional<argos_lib::swerve::SwerveModulePositions>
Load()
override;
Accesses swerve module home positions in a file saved on the RoboRIO.
Definition: file_system_homing_storage.h:13
std::optional< argos_lib::swerve::SwerveModulePositions > Load() override
Load absolute positions that represent 0 degree module orientations.
Definition: file_system_homing_storage.cpp:30
bool Save(const argos_lib::swerve::SwerveModulePositions &homePosition) override
Save positions as new homes.
Definition: file_system_homing_storage.cpp:16
const fs::path m_swerveHomesPath
Path of persistent storage file relative to home directory.
Definition: file_system_homing_storage.h:42
fs::path GetFilePath()
Get the path of the file to load from and save to.
Definition: file_system_homing_storage.cpp:48
Interface capable of saving and loading module home positions from persistent storage.
Definition: swerve_utils.h:115
Representation of the absolute encoder position of each module at home position.
Definition: swerve_utils.h:77