Skip to content

Commit

Permalink
Update leverage new graph taskflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Nov 4, 2021
1 parent 60b3384 commit af0ec87
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 19 deletions.
2 changes: 1 addition & 1 deletion dependencies.rosinstall
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- git:
local-name: tesseract_planning
uri: https://github.com/ros-industrial-consortium/tesseract_planning.git
version: 0.6.2
version: 0.6.3
- git:
local-name: descartes_light
uri: https://github.com/swri-robotics/descartes_light.git
Expand Down
2 changes: 1 addition & 1 deletion dependencies_with_ext.rosinstall
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- git:
local-name: tesseract_planning
uri: https://github.com/ros-industrial-consortium/tesseract_planning.git
version: 0.6.2
version: 0.6.3
- git:
local-name: descartes_light
uri: https://github.com/swri-robotics/descartes_light.git
Expand Down
1 change: 0 additions & 1 deletion tesseract_ros_examples/src/basic_cartesian_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
#include <tesseract_rosutils/utils.h>
#include <tesseract_command_language/command_language.h>
#include <tesseract_command_language/utils/utils.h>
#include <tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
#include <tesseract_process_managers/core/process_planning_server.h>
#include <tesseract_process_managers/core/default_process_planners.h>
#include <tesseract_planning_server/tesseract_planning_server.h>
Expand Down
1 change: 0 additions & 1 deletion tesseract_ros_examples/src/freespace_hybrid_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
#include <tesseract_command_language/command_language.h>
#include <tesseract_command_language/profile_dictionary.h>
#include <tesseract_command_language/utils/utils.h>
#include <tesseract_process_managers/taskflow_generators/freespace_taskflow.h>
#include <tesseract_planning_server/tesseract_planning_server.h>
#include <tesseract_motion_planners/ompl/profile/ompl_default_plan_profile.h>
#include <tesseract_motion_planners/core/utils.h>
Expand Down
1 change: 0 additions & 1 deletion tesseract_ros_examples/src/freespace_ompl_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
#include <tesseract_rosutils/utils.h>
#include <tesseract_command_language/command_language.h>
#include <tesseract_command_language/utils/utils.h>
#include <tesseract_process_managers/taskflow_generators/ompl_taskflow.h>
#include <tesseract_planning_server/tesseract_planning_server.h>
#include <tesseract_motion_planners/ompl/profile/ompl_default_plan_profile.h>
#include <tesseract_motion_planners/core/utils.h>
Expand Down
1 change: 0 additions & 1 deletion tesseract_ros_examples/src/glass_upright_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
#include <tesseract_rosutils/utils.h>
#include <tesseract_command_language/command_language.h>
#include <tesseract_command_language/utils/utils.h>
#include <tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
#include <tesseract_planning_server/tesseract_planning_server.h>
#include <tesseract_motion_planners/core/utils.h>
#include <tesseract_visualization/markers/toolpath_marker.h>
Expand Down
1 change: 0 additions & 1 deletion tesseract_ros_examples/src/pick_and_place_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
#include <tesseract_command_language/command_language.h>
#include <tesseract_command_language/utils/utils.h>
#include <tesseract_command_language/utils/get_instruction_utils.h>
#include <tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
#include <tesseract_planning_server/tesseract_planning_server.h>
#include <tesseract_visualization/markers/toolpath_marker.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
#include <tesseract_command_language/command_language.h>
#include <tesseract_command_language/types.h>
#include <tesseract_command_language/utils/utils.h>
#include <tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
#include <tesseract_motion_planners/trajopt/profile/trajopt_default_plan_profile.h>
#include <tesseract_motion_planners/trajopt/profile/trajopt_default_composite_profile.h>
#include <tesseract_motion_planners/trajopt/profile/trajopt_default_solver_profile.h>
#include <tesseract_motion_planners/core/utils.h>
#include <tesseract_process_managers/core/default_process_planners.h>
#include <tesseract_planning_server/tesseract_planning_server.h>
#include <tesseract_visualization/markers/toolpath_marker.h>

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

// Create TrajOpt Profile
auto trajopt_plan_profile = std::make_shared<tesseract_planning::TrajOptDefaultPlanProfile>();
Expand Down
8 changes: 2 additions & 6 deletions tesseract_ros_examples/src/puzzle_piece_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP
#include <tesseract_command_language/command_language.h>
#include <tesseract_command_language/types.h>
#include <tesseract_command_language/utils/utils.h>
#include <tesseract_process_managers/taskflow_generators/trajopt_taskflow.h>
#include <tesseract_motion_planners/trajopt/profile/trajopt_default_plan_profile.h>
#include <tesseract_motion_planners/trajopt/profile/trajopt_default_composite_profile.h>
#include <tesseract_motion_planners/trajopt/profile/trajopt_default_solver_profile.h>
#include <tesseract_motion_planners/core/utils.h>
#include <tesseract_process_managers/core/default_process_planners.h>
#include <tesseract_planning_server/tesseract_planning_server.h>
#include <tesseract_visualization/markers/toolpath_marker.h>

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

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

0 comments on commit af0ec87

Please sign in to comment.