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

Introduce new Exceptions that can be raised by planning backend through the PlannerInterface #399

Open
yck011522 opened this issue Jan 26, 2024 · 2 comments

Comments

@yck011522
Copy link
Contributor

No description provided.

@yck011522
Copy link
Contributor Author

The goal is to have more detailed Exceptions exposed to the user for debugging in case of failure.

These Exceptions can be raised by compas_fab backend adapter during pre-planning and post-planning phase, or raised by the backend client and relayed by the adapter.

@yck011522 yck011522 changed the title Introduce new Error Classes that can be raised by planning backend through the PlannerInterface Introduce new Exceptions that can be raised by planning backend through the PlannerInterface Jan 26, 2024
@yck011522
Copy link
Contributor Author

The current plan is to design a few Exceptions related to different steps in the planning process.

Exception Planning Phase
InvalidStartStateError Check Start State (e.g. Collision, Joint values in range)
InvalidTargetError Check Target (e.g. Reachability / Attached Object Collision)
NoTargetConfigurationFoundError Target Sampling (e.g. cannot sample FrameTarget / PointAxisTarget)
NoTrajectoryFoundError Path Sampling (e.g. No Collision-free Path)
PostPlanningCheckError Final Sanity Check (e.g. Joint Jump Violation)

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

No branches or pull requests

1 participant