-
- All Implemented Interfaces:
-
com.automaducks.pond.subsystems.IRealTimeSubsystem,com.automaducks.pond.subsystems.ISubsystem
public interface ILocalizer implements IRealTimeSubsystem
Robot localization module
-
-
Method Summary
Modifier and Type Method Description abstract PoseAndVelocitygetLocalization()Gets current localization. abstract voidsetLocalization(Pose2D pose)Sets the current localization. abstract booleanreacquire()Reacquires the Pose with an external source such as AprilTags, IMU, etc. -
-
Method Detail
-
getLocalization
abstract PoseAndVelocity getLocalization()
Gets current localization.
-
setLocalization
abstract void setLocalization(Pose2D pose)
Sets the current localization.
- Parameters:
pose- Current localization.
-
reacquire
abstract boolean reacquire()
Reacquires the Pose with an external source such as AprilTags, IMU, etc.
-
-
-
-