Tune down estimator for ADIS16505
* Update down_estimator_plotter for the ADIS16505 setup (would be
nice to refactor things to make it so that you can apply a plot
config to a particular submessage type...).
* Crank up the threshold to consider the IMU still, to avoid resetting
in the middle of real motion.
* Also check in the IMU transform from the jankily-mounted IMU on the
2020 robot.
Change-Id: I4c6791524c3436614db045d3f2ba371f2400b084
Signed-off-by: James Kuszmaul <jabukuszmaul@gmail.com>
diff --git a/frc971/wpilib/imu_plotter.ts b/frc971/wpilib/imu_plotter.ts
index 0c735eb..6768e1c 100644
--- a/frc971/wpilib/imu_plotter.ts
+++ b/frc971/wpilib/imu_plotter.ts
@@ -19,7 +19,7 @@
'/drivetrain', 'frc971.control_loops.drivetrain.Status');
const imu = aosPlotter.addRawMessageSource(
- '/drivetrain', 'frc971.IMUValuesBatch',
+ '/localizer', 'frc971.IMUValuesBatch',
new ImuMessageHandler(conn.getSchema('frc971.IMUValuesBatch')));
const accelX = accelPlot.addMessageLine(imu, ['accelerometer_x']);