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: Vector3 = Vector3(0, 0, 0)

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

inertia: 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: Quaternion = Quaternion(0, 0, 0, 1)

[mandatory] orientation [\(-\)]

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

[mandatory] position [\(L\)]

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

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

volume: float = None

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

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

[mandatory] position [\(L\)]

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

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

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

[mandatory] orientation [\(-\)]

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

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

mass: float = None

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

inertia: 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}\)]