-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plane shape #114
Comments
PlaneShape was added by 4d19d60 but only BulletCollisionDetector supports the PlaneShape. Our renderer doesn't support PlaneShape yet. |
Pending until |
Has there been any developments on this? My problem is related to Gazebo integration with DART 6.1: in gazebo::physics::DARTPlaneShapePrivate, a "fake plane", i.e. a Box shape is used instead of a plane, to address this issue here. Problem is that DART's Shape::setOffset() method has been removed, and as far as I can see, now instead ShapeNode::setRelativeTransform should be used. It appears that ShapeNode is a wrapper to Shape, so I can't just do a ShapeNode instead of the existing the box Shape. Are there any plans to make the plane shape work in near future? Thanks |
Are you referring to the "fake plane" floor geometry was being used in simulation? That suggests the Shape was getting passed as a "collision shape" into a However, if you're talking about arbitrary planes that are put into a scene for rendering purposes (which do not need to be a part of any simulation), then you can pass the Obviously none of this helps with having a genuine PlaneShape class, but I think it addresses the specific problem you've run into. If I'm wrong about that, please let me know. |
@mxgrey made a good point. I guess the problem is that the Gazebo data structure for plane shape holds |
I'm not sure that Does the |
Right, I should take back what I said. After looking more closely, it would be better that
It seems it's possible to recycle |
Thanks for your quick responses! Yes, I refer to the "fake plane" to be used as collision shape in place of any plane. The DARTPlaneShapePrivate creates it (and wants to set the offset), and its owner DARTPlaneShape then passes it to its parent, which is a DARTCollision object. As @mxgrey pointed out, a |
That sounds reasonable to me 👍 Hopefully there isn't a scenario where |
👍 |
Hmmm that's actually a good point @mxgrey, I'm just looking at this now... we may have to do all this in the DARTCollision::Load() method to ensure that a valid Thanks! |
We recently changed our implementation to use |
We should consider supporting infinite plane shape for ground.
PlaneShape
PlaneShape
classRendering
Collision Detection
The text was updated successfully, but these errors were encountered: