30 [[nodiscard]]
virtual std::optional<argos_lib::swerve::SwerveModulePositions>
Load() = 0;
48 virtual bool Save(
const T& homePosition) = 0;
56 [[nodiscard]]
virtual std::optional<T>
Load() = 0;
Interface capable of saving and loading home positions from persistent storage.
Definition homing_interface.h:39
virtual std::optional< T > Load()=0
Load home position from persistent storage.
virtual bool Save(const T &homePosition)=0
Save home position to persistent storage.
Interface capable of saving and loading module home positions from persistent storage.
Definition homing_interface.h:13
virtual std::optional< argos_lib::swerve::SwerveModulePositions > Load()=0
Load home position from persistent storage.
virtual bool Save(const argos_lib::swerve::SwerveModulePositions &homePosition)=0
Save home position to persistent storage.
Definition swap_controllers_command.h:12
Representation of the absolute encoder position of each module at home position.
Definition swerve_utils.h:38