base_state

class bodies.base_state[source]

Bases: object

mechanical state of a body

Attributes Summary

angular_velocity

[mandatory] angular velocity [\(T^{-1}\)]

inertia

[mandatory] tensor of inertia [\(M L^{2}\)]

mass

[mandatory] body's mass [\(M\)]

orientation

[mandatory] orientation [\(-\)]

position

[mandatory] position [\(L\)]

velocity

[mandatory] translational velocity [\(L T^{-1}\)]

volume

[mandatory] volume [\(L^{3}\)]

Attributes Documentation

angular_velocity: base_types.Vector3 = Vector3(0, 0, 0)

[mandatory] angular velocity [\(T^{-1}\)]

inertia: base_types.Matrix3 = Matrix3([0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0])

[mandatory] tensor of inertia [\(M L^{2}\)]

mass: float = None

[mandatory] body’s mass [\(M\)]

orientation: base_types.Quaternion = Quaternion(0, 0, 0, 1)

[mandatory] orientation [\(-\)]

position: base_types.Vector3 = Vector3(0, 0, 0)

[mandatory] position [\(L\)]

velocity: base_types.Vector3 = Vector3(0, 0, 0)

[mandatory] translational velocity [\(L T^{-1}\)]

volume: float = None

[mandatory] volume [\(L^{3}\)]

position: base_types.Vector3 = Vector3(0, 0, 0)

[mandatory] position [\(L\)]

velocity: base_types.Vector3 = Vector3(0, 0, 0)

[mandatory] translational velocity [\(L T^{-1}\)]

orientation: base_types.Quaternion = Quaternion(0, 0, 0, 1)

[mandatory] orientation [\(-\)]

angular_velocity: base_types.Vector3 = Vector3(0, 0, 0)

[mandatory] angular velocity [\(T^{-1}\)]

mass: float = None

[mandatory] body’s mass [\(M\)]

inertia: base_types.Matrix3 = Matrix3([0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0])

[mandatory] tensor of inertia [\(M L^{2}\)]

volume: float = None

[mandatory] volume [\(L^{3}\)]