remove no-position test because it hangs now
Control loops are now timed to position messages, so trying to test a
lack of them results in the test hanging.
Change-Id: I8279649e79006b501fd5987c7cbefc68d58946dd
diff --git a/frc971/control_loops/drivetrain/drivetrain_lib_test.cc b/frc971/control_loops/drivetrain/drivetrain_lib_test.cc
index 0823306..b148faf 100644
--- a/frc971/control_loops/drivetrain/drivetrain_lib_test.cc
+++ b/frc971/control_loops/drivetrain/drivetrain_lib_test.cc
@@ -170,23 +170,6 @@
VerifyNearGoal();
}
-// Tests surviving bad positions.
-TEST_F(DrivetrainTest, SurvivesBadPosition) {
- my_drivetrain_loop_.goal.MakeWithBuilder().control_loop_driving(true)
- .left_goal(-1.0)
- .right_goal(1.0).Send();
- for (int i = 0; i < 500; ++i) {
- if (i > 20 && i < 200) {
- } else {
- drivetrain_motor_plant_.SendPositionMessage();
- }
- drivetrain_motor_.Iterate();
- drivetrain_motor_plant_.Simulate();
- SimulateTimestep(true);
- }
- VerifyNearGoal();
-}
-
::aos::controls::HPolytope<2> MakeBox(double x1_min, double x1_max,
double x2_min, double x2_max) {
Eigen::Matrix<double, 4, 2> box_H;