Skip to content

Raghumanimehta/485 removing ompl path state constructor#491

Merged
SPDonaghy merged 9 commits intomainfrom
raghumanimehta/485-removing_OMPLPathState_constructor
Feb 22, 2025
Merged

Raghumanimehta/485 removing ompl path state constructor#491
SPDonaghy merged 9 commits intomainfrom
raghumanimehta/485-removing_OMPLPathState_constructor

Conversation

@raghumanimehta
Copy link
Copy Markdown
Contributor

Description

OMPLPathState class has been removed. Some of its fields have been moved as local variables to _init_simple_setup in ompl_path.py since only this method used those fields. The rest of the fields could be derived from local_path_state and have not been changed. Logic to calculate state_domain and state_range in ompl_path.py has been added.

Verification

  • Tested the system before and after refactoring.

Copy link
Copy Markdown
Contributor

@SPDonaghy SPDonaghy left a comment

Choose a reason for hiding this comment

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

Great work! I especially appreciate your organized coding style.

I think the main thing is there might some confusion about converting from HelperLatLon to XY types before passing the state space boundary to the solver.

Hopefully its clear what I mean there, but if you have any confusion about it or questions please let me know by responding in the comment thread for this review.

I know its tough to get going with this code, OMPL is a lot. Keep up the great work excited to get this wrapped up and get you onto your next task :)

Copy link
Copy Markdown
Contributor

@SPDonaghy SPDonaghy left a comment

Choose a reason for hiding this comment

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

Great Work! Good to merge.

@SPDonaghy SPDonaghy merged commit 2e6b735 into main Feb 22, 2025
10 checks passed
@SPDonaghy SPDonaghy deleted the raghumanimehta/485-removing_OMPLPathState_constructor branch February 22, 2025 19:42
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.

Removing the redundant constructor for OMPLPathState

2 participants