Skip to content

Additional Profile constructors YAML initialization and YAML conversions #654

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

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

Conversation

SamanthaSmith04
Copy link
Contributor

This PR updates the constructors to enable them to be initialized from a YAML node for the simple, trajopt, and trajopt_ifopt planners.

This PR also adds in the YAML conversions for the types used in these profiles and constructors so they can be initialized from a YAML node as well.

Unit tests were also added to test the new constructors and YAML conversions.

Copy link

codecov bot commented Aug 5, 2025

Codecov Report

❌ Patch coverage is 95.41109% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.26%. Comparing base (f6b49ed) to head (c3b7862).

Files with missing lines Patch % Lines
...esseract_motion_planners/trajopt/yaml_extensions.h 89.65% 9 Missing ⚠️
...ners/simple/src/profile/simple_planner_profile.cpp 0.00% 3 Missing ⚠️
.../src/profile/trajopt_default_composite_profile.cpp 88.88% 3 Missing ⚠️
...ajopt/src/profile/trajopt_default_move_profile.cpp 78.57% 3 Missing ⚠️
...rajopt/src/profile/trajopt_osqp_solver_profile.cpp 62.50% 3 Missing ⚠️
...n_planners/trajopt/src/profile/trajopt_profile.cpp 0.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #654      +/-   ##
==========================================
+ Coverage   80.84%   81.26%   +0.42%     
==========================================
  Files         251      254       +3     
  Lines       17278    17800     +522     
==========================================
+ Hits        13968    14466     +498     
- Misses       3310     3334      +24     
Files with missing lines Coverage Δ
...le/simple_planner_fixed_size_assign_move_profile.h 100.00% <ø> (ø)
...ple_planner_fixed_size_assign_no_ik_move_profile.h 100.00% <ø> (ø)
...e/profile/simple_planner_fixed_size_move_profile.h 100.00% <ø> (ø)
...e/profile/simple_planner_lvs_assign_move_profile.h 100.00% <ø> (ø)
...ile/simple_planner_lvs_assign_no_ik_move_profile.h 100.00% <ø> (ø)
...s/simple/profile/simple_planner_lvs_move_profile.h 100.00% <ø> (ø)
...le/profile/simple_planner_lvs_no_ik_move_profile.h 100.00% <ø> (ø)
.../simple_planner_fixed_size_assign_move_profile.cpp 87.03% <100.00%> (+1.93%) ⬆️
...e_planner_fixed_size_assign_no_ik_move_profile.cpp 86.95% <100.00%> (+1.47%) ⬆️
...profile/simple_planner_fixed_size_move_profile.cpp 80.76% <100.00%> (+7.08%) ⬆️
... and 15 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant