Skip to content

Commit

Permalink
Try shorter extension
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDab committed Sep 29, 2023
1 parent fec0cb7 commit 93d0aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/control/PlanarArmControllerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ TEST_CASE("Test Planar Arm Safety Factor", "[control][planararmcontroller]") {
foo.set_setpoint({10.0, 0.0});
REQUIRE(foo.get_setpoint(robot::types::dataclock::now()).norm() == 9.5);

foo.set_setpoint({9.0, 0.0});
REQUIRE(foo.get_setpoint(robot::types::dataclock::now()).norm() == 9.5);
foo.set_setpoint({2.0, 3.0});
REQUIRE(fabs(foo.get_setpoint(robot::types::dataclock::now()).norm() - 2.1166861277) < 1e-6);
}

0 comments on commit 93d0aab

Please sign in to comment.