Skip to content

Commit af0ec87

Browse files
Update leverage new graph taskflow
1 parent 60b3384 commit af0ec87

9 files changed

+6
-19
lines changed

dependencies.rosinstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- git:
1414
local-name: tesseract_planning
1515
uri: https://github.com/ros-industrial-consortium/tesseract_planning.git
16-
version: 0.6.2
16+
version: 0.6.3
1717
- git:
1818
local-name: descartes_light
1919
uri: https://github.com/swri-robotics/descartes_light.git

dependencies_with_ext.rosinstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- git:
1818
local-name: tesseract_planning
1919
uri: https://github.com/ros-industrial-consortium/tesseract_planning.git
20-
version: 0.6.2
20+
version: 0.6.3
2121
- git:
2222
local-name: descartes_light
2323
uri: https://github.com/swri-robotics/descartes_light.git

tesseract_ros_examples/src/basic_cartesian_example.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
4040
#include <tesseract_rosutils/utils.h>
4141
#include <tesseract_command_language/command_language.h>
4242
#include <tesseract_command_language/utils/utils.h>
43-
#include <tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
4443
#include <tesseract_process_managers/core/process_planning_server.h>
4544
#include <tesseract_process_managers/core/default_process_planners.h>
4645
#include <tesseract_planning_server/tesseract_planning_server.h>

tesseract_ros_examples/src/freespace_hybrid_example.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
3636
#include <tesseract_command_language/command_language.h>
3737
#include <tesseract_command_language/profile_dictionary.h>
3838
#include <tesseract_command_language/utils/utils.h>
39-
#include <tesseract_process_managers/taskflow_generators/freespace_taskflow.h>
4039
#include <tesseract_planning_server/tesseract_planning_server.h>
4140
#include <tesseract_motion_planners/ompl/profile/ompl_default_plan_profile.h>
4241
#include <tesseract_motion_planners/core/utils.h>

tesseract_ros_examples/src/freespace_ompl_example.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
3535
#include <tesseract_rosutils/utils.h>
3636
#include <tesseract_command_language/command_language.h>
3737
#include <tesseract_command_language/utils/utils.h>
38-
#include <tesseract_process_managers/taskflow_generators/ompl_taskflow.h>
3938
#include <tesseract_planning_server/tesseract_planning_server.h>
4039
#include <tesseract_motion_planners/ompl/profile/ompl_default_plan_profile.h>
4140
#include <tesseract_motion_planners/core/utils.h>

tesseract_ros_examples/src/glass_upright_example.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
3535
#include <tesseract_rosutils/utils.h>
3636
#include <tesseract_command_language/command_language.h>
3737
#include <tesseract_command_language/utils/utils.h>
38-
#include <tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
3938
#include <tesseract_planning_server/tesseract_planning_server.h>
4039
#include <tesseract_motion_planners/core/utils.h>
4140
#include <tesseract_visualization/markers/toolpath_marker.h>

tesseract_ros_examples/src/pick_and_place_example.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
3939
#include <tesseract_command_language/command_language.h>
4040
#include <tesseract_command_language/utils/utils.h>
4141
#include <tesseract_command_language/utils/get_instruction_utils.h>
42-
#include <tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
4342
#include <tesseract_planning_server/tesseract_planning_server.h>
4443
#include <tesseract_visualization/markers/toolpath_marker.h>
4544

tesseract_ros_examples/src/puzzle_piece_auxillary_axes_example.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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>();

tesseract_ros_examples/src/puzzle_piece_example.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

@@ -213,11 +213,7 @@ bool PuzzlePieceExample::run()
213213
// Create a trajopt taskflow without post collision checking
214214
/** @todo This matches the original example, but should update to include post collision check */
215215
const std::string new_planner_name = "TRAJOPT_NO_POST_CHECK";
216-
tesseract_planning::TrajOptTaskflowParams params;
217-
params.enable_post_contact_discrete_check = false;
218-
params.enable_post_contact_continuous_check = false;
219-
planning_server.registerProcessPlanner(new_planner_name,
220-
std::make_unique<tesseract_planning::TrajOptTaskflow>(params));
216+
planning_server.registerProcessPlanner(new_planner_name, tesseract_planning::createTrajOptGenerator(true, false));
221217

222218
// Create TrajOpt Profile
223219
auto trajopt_plan_profile = std::make_shared<tesseract_planning::TrajOptDefaultPlanProfile>();

0 commit comments

Comments
 (0)