tue-robotics / ed

Environment Descriptor
BSD 2-Clause "Simplified" License
56 stars 15 forks source link

(robot_plugin) load all visuals #145

Closed MatthijsBurgh closed 1 year ago

MatthijsBurgh commented 1 year ago

This fixes the missing shapes of the robot in the web interface.

PetervDooren commented 1 year ago

For better logging, dont just say: mesh could not be made. Print what geom.get() gives as this is the first thing someone wants to know

MatthijsBurgh commented 1 year ago

For better logging, dont just say: mesh could not be made. Print what geom.get() gives as this is the first thing someone wants to know

I have added the filename which failed to be loaded.

All the geom.get() is a pointer. So in case this is false. It is a nullptr. So there is no info to be shown. The mesh can still fail. I think the logging of the filename is sufficient now. The other shapes don't fail.