How can I obtain the inertia matrix automatically calculated by Webots when inertiaMatrix is empty? #6522
Closed
DylanYang-Official
started this conversation in
General
Replies: 1 comment 1 reply
-
Maybe this can partially help : You can get the inertia matrix of the body of the drone by clicking on it's main node Robot "Mavic 2 PRO" and then in the Mass tab you can find the inertia matrix "Excluding descendant" (which is most of the mass I suppose) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently, I have been conducting experiments using the DJI Mavic2 PRO robot in Webots. As I need to add an MPC controller, I require its inertia matrix. I noticed that its inertia matrix has not been set, yet it can fly normally. After consulting the manual, I learned that Webots can automatically calculate the inertia matrix of the robot when it is not set. So, how can I obtain the automatically calculated matrix by Webots?
![20bdc5b60cf19ec35e2738aaaf4f783](https://private-user-images.githubusercontent.com/64779837/313640803-7679e6b6-8d5a-4761-a0d8-de296647577e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MzA0NDcsIm5iZiI6MTczOTUzMDE0NywicGF0aCI6Ii82NDc3OTgzNy8zMTM2NDA4MDMtNzY3OWU2YjYtOGQ1YS00NzYxLWEwZDgtZGUyOTY2NDc1NzdlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDEwNDkwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIzZmVmMDM0MTZhZmVjZTI3ZDNlMjFhODQzYWFkZjFiZDkyZjRkMTExMzc5NTJlOWU4YWNjZDNmNWEwODM3Y2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CAX8Xsxk8688xBvBYn6iJp2aljajnlg-uo5xOCwZ7VU)
![20240318183111](https://private-user-images.githubusercontent.com/64779837/313640846-4882acc4-3487-4ee6-94d6-a8bd00cdab00.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MzA0NDcsIm5iZiI6MTczOTUzMDE0NywicGF0aCI6Ii82NDc3OTgzNy8zMTM2NDA4NDYtNDg4MmFjYzQtMzQ4Ny00ZWU2LTk0ZDYtYThiZDAwY2RhYjAwLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDEwNDkwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThhOTBkN2M2Mzc2MDBiOTc5NjFhYWY1NTNiNTM0OGJiOWE1NzU0YmUxYjY4ODY4MWJlOGMwMTI4ODBmNzhhNDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wASbHeyl2g_4g1mpi5H4ElPNc-sEjPjDpJwFvuTXUZk)
Beta Was this translation helpful? Give feedback.
All reactions