@@ -36,11 +36,11 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
3636#include < tesseract_command_language/command_language.h>
3737#include < tesseract_command_language/types.h>
3838#include < tesseract_command_language/utils/utils.h>
39- #include < tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
4039#include < tesseract_motion_planners/trajopt/profile/trajopt_default_plan_profile.h>
4140#include < tesseract_motion_planners/trajopt/profile/trajopt_default_composite_profile.h>
4241#include < tesseract_motion_planners/trajopt/profile/trajopt_default_solver_profile.h>
4342#include < tesseract_motion_planners/core/utils.h>
43+ #include < tesseract_process_managers/core/default_process_planners.h>
4444#include < tesseract_planning_server/tesseract_planning_server.h>
4545#include < tesseract_visualization/markers/toolpath_marker.h>
4646
@@ -217,11 +217,7 @@ bool PuzzlePieceAuxillaryAxesExample::run()
217217 // Create a trajopt taskflow without post collision checking
218218 /* * @todo This matches the original example, but should update to include post collision check */
219219 const std::string new_planner_name = " TRAJOPT_NO_POST_CHECK" ;
220- tesseract_planning::TrajOptTaskflowParams params;
221- params.enable_post_contact_discrete_check = false ;
222- params.enable_post_contact_continuous_check = false ;
223- planning_server.registerProcessPlanner (new_planner_name,
224- std::make_unique<tesseract_planning::TrajOptTaskflow>(params));
220+ planning_server.registerProcessPlanner (new_planner_name, tesseract_planning::createTrajOptGenerator (true , false ));
225221
226222 // Create TrajOpt Profile
227223 auto trajopt_plan_profile = std::make_shared<tesseract_planning::TrajOptDefaultPlanProfile>();
0 commit comments