Skip to content

Commit

Permalink
Update to new JumpThreshold API (#844)
Browse files Browse the repository at this point in the history
* Update to new JumpThreshold API

* Update doc/how_to_guides/kinematics_cost_function/src/kinematics_cost_function_tutorial.cpp

Co-authored-by: Mario Prats <mario.prats@picknik.ai>

---------

Co-authored-by: Mario Prats <mario.prats@picknik.ai>
  • Loading branch information
sea-bass and marioprats authored Dec 17, 2023
1 parent 48a3ccd commit 86237ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ int main(int argc, char** argv)
std::vector<moveit::core::RobotStatePtr> traj;
moveit::core::MaxEEFStep max_eef_step(0.01, 0.1);
// Here, we're effectively disabling the jump threshold for joints. This is not recommended on real hardware.
moveit::core::JumpThreshold jump_thresh(0.0);
const auto jump_thresh = moveit::core::JumpThreshold::disabled();

// The trajectory, traj, passed to computeCartesianPath will contain several waypoints toward
// the goal pose, target. For each of these waypoints, the IK solver is queried with the given cost function.
Expand Down

0 comments on commit 86237ae

Please sign in to comment.