Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
OTOSLocalizer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyiLin committed Sep 29, 2024
1 parent 6e82dc9 commit ce3ae6c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,12 @@ public OTOSLocalizer(HardwareMap map) {
public OTOSLocalizer(HardwareMap map, Pose setStartPose) {
hardwareMap = map;

// TODO: replace this with your OTOS port
/*
TODO: If you want to use the "SparkFunOTOSCorrected" version of OTOS, then replace the
'SparkFunOTOS.class' below with 'SparkFunOTOSCorrected.class' and set the OTOS as a
"SparkFunOTOS Corrected" in your robot confg
"SparkFunOTOS Corrected" in your robot config
*/
SparkFunOTOS
// TODO: replace this with your OTOS port
otos = hardwareMap.get(SparkFunOTOS.class, "sensor_otos");

otos.setLinearUnit(DistanceUnit.INCH);
Expand Down

0 comments on commit ce3ae6c

Please sign in to comment.