-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In the following class we found two term :
class InertiaParametersTemplate:
def __init__(
self,
mass: Callable = None,
center_of_mass: Callable = None,
inertia: Callable = None,
):
"""
This is a pre-constructor for the InertiaParametersReal class. It allows to create a
generic model by marker names
Parameters
----------
mass
The callback function that returns the mass of the segment with respect to the full body
center_of_mass
The callback function that returns the position of the center of mass
from the segment coordinate system on the main axis
inertia
The callback function that returns the inertia xx, yy and zz parameters of the segment
"""
self.relative_mass = mass
self.center_of_mass = center_of_mass
self.inertia = inertia==> why having the name of the attribute being relative_mass when the name of the parameter is mass ?
Metadata
Metadata
Assignees
Labels
No labels