Skip to content

Commit

Permalink
Found and fixed issue that the moment of inertia doesn't scale with mass
Browse files Browse the repository at this point in the history
  • Loading branch information
Moanalengkeek committed Jan 22, 2024
1 parent 0259866 commit e8ceb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paseos/geometric_model/geometric_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def find_moment_of_inertia(self):
[Iyx Iyy Iyx]
[Izx Izy Izz]]
"""
self._actor_moment_of_inertia = self._actor_mesh.moment_inertia
self._actor_moment_of_inertia = self._actor_mesh.moment_inertia * self._actor_mass
return self._actor_moment_of_inertia

def find_center_of_gravity(self):
Expand Down

0 comments on commit e8ceb9e

Please sign in to comment.