compas-dev / compas_fab

Robotic fabrication package for the COMPAS Framework.
https://compas.dev/compas_fab/
MIT License
108 stars 32 forks source link

Raise specific exceptions if backend feature is not supported #408

Closed gonzalocasas closed 4 months ago

gonzalocasas commented 4 months ago

Without a specific exception, the "visualize robot" component cannot know why the planning scene part is failing when using the analytical IK solvers. So, this adds a new exception type and the component now checks for it and does not fail in that case, it simply disables showing things that will not work.

What type of change is this?

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.