Skip to content

Commit

Permalink
Merge pull request RobotLocomotion#3177 from sammy-tri/lqr_traj_toler…
Browse files Browse the repository at this point in the history
…ance_fix

Reduce tolerance on final position to fix open-source builds.
  • Loading branch information
sammy-tri authored Aug 17, 2016
2 parents 220bb80 + 95d61df commit 3cf5d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drake/examples/Pendulum/pendulum_run_swing_up.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int main(int argc, char* argv[]) {
PendulumState<double> x0_state = x0;
drake::runLCM(sys, lcm, 0, kTrajectoryTimeUpperBound, x0_state, options);
if (!CompareMatrices(toEigen(robot_state_tap->get_input_vector()), xG,
1e-5, MatrixCompareType::absolute)) {
1e-4, MatrixCompareType::absolute)) {
throw std::runtime_error("Did not reach trajectory target.");
}

Expand Down

0 comments on commit 3cf5d42

Please sign in to comment.