Rendering engine must be added to scene graph before building diagram #22616
Labels
component: geometry perception
How geometry appears in color, depth, and label images (via the RenderEngine API)
type: bug
What happened?
It appears that rendering engines must be added to the scene graph before the diagram which contains the scene graph is built. If not, some system (I think it's the
RgbdSensor
) raise the following exception:RuntimeError: No renderer exists with name: 'camera'
.This is not especially problematic for me, but it does not appear to be documented anywhere that this is the case. I'm not sure if this is a bug or the intended functionality, but it would be helpful for this to be more clearly documented.
Here is some pseudo-code for re-creating this issue.
Version
v1.36.0
What operating system are you using?
Ubuntu 22.04
What installation option are you using?
pip install drake
Relevant log output
The text was updated successfully, but these errors were encountered: