Skip to content

Commit

Permalink
Loosen the Ruckig test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyZe committed May 2, 2022
1 parent ac25c3f commit ced72ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ TEST_F(RuckigTests, trajectory_duration)
EXPECT_TRUE(
smoother_.applySmoothing(*trajectory_, 1.0 /* max vel scaling factor */, 1.0 /* max accel scaling factor */));
EXPECT_GT(trajectory_->getWayPointDurationFromStart(trajectory_->getWayPointCount() - 1), 0.9999 * ideal_duration);
EXPECT_LT(trajectory_->getWayPointDurationFromStart(trajectory_->getWayPointCount() - 1), 1.3 * ideal_duration);
EXPECT_LT(trajectory_->getWayPointDurationFromStart(trajectory_->getWayPointCount() - 1), 1.5 * ideal_duration);
}

TEST_F(RuckigTests, single_waypoint)
Expand Down

0 comments on commit ced72ed

Please sign in to comment.