GlobalScaling Parameter in loadURDF to units #3809
shivanimall
started this conversation in
General
Replies: 1 comment
-
Scaling is relative to the original size, so no. You can estimate the size of an object using its bounding box (AABB). You can get the AABB through the PyBullet API. Mass is not affected by rescaling, you need to change that manually. Inertia is recomputed based on mass and collision geometry/shape (which is affected by scaling). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1/ I understand that we can use
globalScaling
parameter to scale objects up and down, however, is there a way to apply a specific scaling such as the longest diameter is say 1 metre? so, use this scaling factor to know how many "meters" I am scaling the object by?2/ Is there a way to know the size of the loaded object? or should I rely on obj file to understand this?
3/ When I change the scale of the object, how much does the base mass of object change? And hence the collision forces generated change?
Please let me know if my question is unclear. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions