inertia_moment

property DCMotor.inertia_moment: InertiaMoment

Moment of inertia of the DC motor’s rotor. It must be an instance of InertiaMoment.

Once set at the DC motor instantiation, it cannot be changed afterward.

Returns

InertiaMoment

Moment of inertia of the DC motor’s rotor.

Raises

TypeError

If inertia_moment is not an instance of InertiaMoment.