Open schornakj opened 1 year ago
Hello, Can I work on this issue, If no one is assinged to It.
@berkealgul go for it, I don't think anyone else is working on fixing this yet.
This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups.
@berkealgul did you have a chance to get started on this?
This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups.
Description
In these lines of code,
geometric_shapes
can throw an exception if the specified shape is invalid, for example if one of the dimensions is negative. We need to add a try/catch block here so we can returnfalse
if that happens instead of just crashing.Your environment
Steps to reproduce
Add a shape with a negative dimension to the planning scene
Expected behaviour
Catch and return
false
so higher-level code can handle the failure to add the new shapesActual behaviour
Segfault and crash!
Backtrace or Console output