Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Motion Planning debugging #130

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

marrts
Copy link
Member

@marrts marrts commented Aug 2, 2024

Improvements to the debugging for motion planning.

  • Save all motion plan results to a time stamped directory
/tmp/SNP_Planning
├── Plan02-08-2024-10-47-30
│   ├── Results.dot
│   └── intermediate_ci
│       ├── SNPCartesianPipeline_input_data1.xml
│       ├── SNPCartesianPipeline_input_data2.xml
│       ├── SNPCartesianPipeline_input_data3.xml
│       ├── SNPCartesianPipeline_min_len_output_data3.xml
│       ├── SNPCartesianPipeline_speed_param_output_data3.xml
│       ├── SNPCartesianPipeline_trajopt_output_data3.xml
│       ├── SNPFreespacePipeline_input_data0.xml
│       ├── SNPFreespacePipeline_input_data7.xml
│       ├── SNPFreespacePipeline_ompl_output_data7.xml
│       ├── SNPTransitionPipeline_input_data1.xml
│       ├── SNPTransitionPipeline_input_data2.xml
│       ├── descartes_output_data.xml
│       └── input_data.xml
  • Allow for RVIZ introspection of individual planning steps
    image

  • Some other minor motion planning improvements

@@ -170,7 +170,7 @@ std::shared_ptr<tesseract_planning::TrajOptDefaultCompositeProfile> createTrajOp

profile->contact_test_type = tesseract_collision::ContactTestType::CLOSEST;

profile->collision_cost_config.enabled = true;
profile->collision_cost_config.enabled = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is another place where we actually want both the cost and constraints to be on. Otherwise, the constraint is probably going to fluctuate between being satisfied and unsatisfied

snp_motion_planning/src/planning_server.cpp Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really need a tesseract helper function that can create a serial chain of tasks with unique keys per input

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed

snp_motion_planning/src/planning_server.cpp Outdated Show resolved Hide resolved
snp_motion_planning/src/planning_server.cpp Outdated Show resolved Hide resolved
snp_motion_planning/src/planning_server.cpp Outdated Show resolved Hide resolved
@marrts
Copy link
Member Author

marrts commented Aug 26, 2024

Now all CI's are organized by their description, making debugging easier.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants