Skip to content
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

Determining the inertial properties #4

Open
richardrl opened this issue Nov 6, 2021 · 1 comment
Open

Determining the inertial properties #4

richardrl opened this issue Nov 6, 2021 · 1 comment

Comments

@richardrl
Copy link

How did you determine the inertial properties for the URDFs?

@eleramp
Copy link
Owner

eleramp commented Nov 12, 2021

HI!
For a good estimation you can use MeshLab.
Open the mesh file in MeshLab. To compute the inertial parameters, you first need to display the Layers dialog - View->Show Layer Dialog.
Next, command MeshLab to compute the inertial parameters. Choose Filters->Quality Measure and Computations->Compute Geometric Measures from the menu. The lower part of the Layers dialog should now show some info about the inertial measures. You get something like:

Mesh Bounding Box Size 2.000000 2.000000 2.000000
Mesh Bounding Box Diag 3.464102
Mesh Volume is 4.094867
Mesh Surface is 12.425012
Thin shell barycenter -0.000000 -0.000000 -0.000000
Center of Mass is -0.000000 0.000000 -0.000000
Inertia Tensor is :
| 1.617916 -0.000000 0.000000 |
| -0.000000 1.604620 -0.000000 |
| 0.000000 -0.000000 1.617916 |
Principal axes are :
| 0.000000 1.000000 0.000000 |
| -0.711101 -0.000000 0.703089 |
| -0.703089 0.000000 -0.711101 |
axis momenta are :
| 1.604620 1.617916 1.617916 |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants