skydy.inertia package

Submodules

skydy.inertia.InertiaMatrix module

class skydy.inertia.InertiaMatrix.InertiaMatrix(name)[source]

Bases: object

__init__(name)[source]

Define a generic inertia matrix about a body coordinates frame.

This is not a customizable oject. It is what it is, and it doesn’t need to be any more.

Parameters

name (str, int) – the body name for the inertia matrix

Returns

None

Examples

>>> from skydy.inertia import InertiaMatrix
>>> i_mat = InertiaMatrix(1)
as_dict()[source]
as_mat()[source]

Return the inertia matrix as a sympy.matrix.

skydy.inertia.MassMatrix module

class skydy.inertia.MassMatrix.MassMatrix(name)[source]

Bases: object

__init__(name)[source]

Define a generic mass matrix about a body coordinates frame.

This is not a customizable oject. It is what it is, and it doesn’t need to be any more.

Parameters

name (str, int) – the body name for the mass matrix

Returns

None

Examples

>>> from skydy.inertia import MassMatrix
>>> m_mat = MassMatrix(1)
as_dict()[source]
as_mat()[source]

Return the mass matrix as a sympy.matrix.

Module contents