Update y2020 configs with 5th pi + timestamp channels
Also, update the drivetrain_replay_test to go with it.
Change-Id: Ic88b2f79b14b260e345cfec4f3e5ce3e16a5bd2f
diff --git a/y2020/control_loops/drivetrain/localizer_test.cc b/y2020/control_loops/drivetrain/localizer_test.cc
index d195b5d..a3e26b5 100644
--- a/y2020/control_loops/drivetrain/localizer_test.cc
+++ b/y2020/control_loops/drivetrain/localizer_test.cc
@@ -131,13 +131,14 @@
drivetrain_plant_(drivetrain_plant_event_loop_.get(), dt_config_),
last_frame_(monotonic_now()) {
event_loop_factory()->SetTimeConverter(&time_converter_);
- CHECK_EQ(aos::configuration::GetNodeIndex(configuration(), roborio_), 5);
+ CHECK_EQ(aos::configuration::GetNodeIndex(configuration(), roborio_), 6);
CHECK_EQ(aos::configuration::GetNodeIndex(configuration(), pi1_), 1);
time_converter_.AddMonotonic({monotonic_clock::epoch() + kPiTimeOffset,
monotonic_clock::epoch() + kPiTimeOffset,
monotonic_clock::epoch() + kPiTimeOffset,
monotonic_clock::epoch() + kPiTimeOffset,
monotonic_clock::epoch() + kPiTimeOffset,
+ monotonic_clock::epoch() + kPiTimeOffset,
monotonic_clock::epoch()});
set_team_id(frc971::control_loops::testing::kTeamNumber);
set_battery_voltage(12.0);