-
Notifications
You must be signed in to change notification settings - Fork 285
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
Multiple frictional properties per BodyNode #200
Comments
It looks like each |
ShapeNode friction coefficient defined in detail/ShapeFrameAspect.hpp |
Thanks, that seems like a bug. Feel free to open a PR. I wonder how we should handle the full transition from BodyNode-specified friction to Shape-specified friction? We shouldn't have the BodyNode and ShapeNodes both store friction data, because they'll easily conflict with each other. It would be easy enough to change Also, I guess both of those functions should be deprecated and we should recommend to users that they focus on setting friction per ShapeNode. |
Alternatively, we could introduce a friction coefficient mode to Here (d912dc7) is a quick implementation based on @scpeters's example. |
On second thought, having the friction property in both of |
yeah, it's simpler to just have the parameters in the ShapeNode, rather than also being in the BodyNode |
BodyNode
stores one friction coefficient for the all collision shapes in theBodyNode
. Multiple friction coefficient per body would be useful in case of a body consist of different materials.One possible way to do this is that stores the frictional properties in collision object. Currently, DART uses
Shape
classes for both of collision object and visualization object so we may need to consider split the class.In addition, multiple frictional directions should be considered too.
The text was updated successfully, but these errors were encountered: