Modify code for single shifter hall effect.
The third robot has only one hall effect sensor sensing the
entire range of the shifter piston.
Change-Id: I6008c7b920d21da024c90ee1eb40dc2c7e400b62
diff --git a/bot3/control_loops/drivetrain/drivetrain_constants.h b/bot3/control_loops/drivetrain/drivetrain_constants.h
index 9d49d59..95a74f5 100644
--- a/bot3/control_loops/drivetrain/drivetrain_constants.h
+++ b/bot3/control_loops/drivetrain/drivetrain_constants.h
@@ -1,17 +1,17 @@
#ifndef BOT3_CONTROL_LOOPS_DRIVETRAIN_CONSTANTS_H_
#define BOT3_CONTROL_LOOPS_DRIVETRAIN_CONSTANTS_H_
+#include "bot3/shifter_hall_effect.h"
#include "frc971/control_loops/state_feedback_loop.h"
-#include "frc971/shifter_hall_effect.h"
namespace bot3 {
namespace control_loops {
// TODO(danielp): Figure out the real values for these constants.
-constexpr ::frc971::constants::ShifterHallEffect kBot3LeftDriveShifter =
- {555, 657, 660, 560, 0.2, 0.7};
-constexpr ::frc971::constants::ShifterHallEffect kBot3RightDriveShifter =
- {555, 660, 644, 552, 0.2, 0.7};
+constexpr constants::ShifterHallEffect kBot3LeftDriveShifter =
+ {170, 475, 1.2, 1.0};
+constexpr constants::ShifterHallEffect kBot3RightDriveShifter =
+ {177, 486, 1.2, 1.0};
constexpr double kBot3TurnWidth = 0.5;
constexpr double kBot3DrivetrainDoneDistance = 0.02;