Fixed failing 2015 bot3 test.
Change-Id: I8235453889bc776a4e63a8a88bfd82629013934f
diff --git a/bot3/control_loops/elevator/elevator_lib_test.cc b/bot3/control_loops/elevator/elevator_lib_test.cc
index 46d1a4b..4b90067 100644
--- a/bot3/control_loops/elevator/elevator_lib_test.cc
+++ b/bot3/control_loops/elevator/elevator_lib_test.cc
@@ -228,7 +228,7 @@
TEST_F(ElevatorTest, UpperHardstopStartup) {
plant_.InitializePosition(kElevUpperHardLimit);
queue_.goal.MakeWithBuilder().height(0.4).Send();
- RunForTime(Time::InMS(20000));
+ RunForTime(Time::InMS(30000));
VerifyNearGoal();
}
@@ -553,8 +553,8 @@
// Height guarantees it's not the current position
queue_.goal.MakeWithBuilder()
.height(kElevUpperLimit)
- .max_velocity(1)
- .max_acceleration(1)
+ .max_velocity(0.2)
+ .max_acceleration(0.2)
.Send();
// Checks voltage is not crazy
@@ -578,8 +578,8 @@
// Height guarantees it's not the current position
queue_.goal.MakeWithBuilder()
.height(kElevUpperLimit)
- .max_velocity(2)
- .max_acceleration(2)
+ .max_velocity(0.5)
+ .max_acceleration(0.5)
.Send();
// Checks voltage is not crazy