Reputation: 117
I'd like to define two new classes of Shape:
In my setup, I have downloaded prebuilt binaries of drake, meaning I cannot directly modify the ProximityEngine class. I saw this post on defining a new child of ShapeReifier, but I can't replace ProximityEngine since it is used everywhere. Any ideas on how I could do this?
Upvotes: 3
Views: 56
Reputation: 1923
Sadly, there is no affordance for dynamically increasing the set of Shapes that SceneGraph
knows about.
Both of your requests are very sane and have been on the Drake team's radar. So, that suggests the best way to do this is to write some code to submit to Drake. Since we already intend to do both of those things, that should very much grease the path. They just haven't been a strong priority yet.
For the first case, the Mesh type, see the open issue #15263.
There is no existing issue for the Cone (although converting the MeshcatCone
to full Shape
is a known goal.
I'd recommend the following:
Upvotes: 3