Struct nyx_space::dynamics::momentum::AngularMom [] [src]

pub struct AngularMom { /* fields omitted */ }

AngularMom exposes the equations of motion for the angular momentum of a rigid body.

Methods

impl AngularMom
[src]

[src]

Initializes a new AngularMom struct with an time-invariant inertia tensor of a rigid body and its original angular velocity.

Throughout this documentation [I] refers to the inertia tensor and ω to the angular velocity. NOTE: The provided inertia tensor must be expressed in a frame such that it is a diagonal matrix. There is always such a frame. If this is not the primary frame desired, use the parallel axis theorem. This theorem is developped in Schaub & Junkins, "Analytical Mechanics of Space Systems", 3th ed., page 163, section 4.2.2 "Inertia Matrix Properties". This function will panic! if the inertia tensor is not diagonal.

[src]

Returns the angular momentum of the system, i.e. [I]ω

Trait Implementations

impl Copy for AngularMom
[src]

impl Clone for AngularMom
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AngularMom
[src]

[src]

Formats the value using the given formatter. Read more

impl Dynamics for AngularMom
[src]

Defines the state size for these dynamics. It must be imported from nalgebra.

[src]

Returns the time of the current state

[src]

Returns the angular velocity ω of the system, not its momentum.

[src]

Set the angular velocity ω of the system and the time.

[src]

Computes the instantaneous equations of motion of the angular velocity of a tensor (i.e. the angular acceleration). [I]̲̇ω = -[̃ω][I]̲ω + ̲L

Source: Schaub & Junkins, 3th ed., eq. 4.32.

Auto Trait Implementations

impl Send for AngularMom

impl Sync for AngularMom