Attitude

bsk_rl.utils.attitude: Attitude dynamics related utilities.

random_tumble(maxSpinRate: float = 0.001)[source]

Generate a spacecraft random tumble with uniformly sampled conditions.

Parameters:

maxSpinRate (float) – [rad/s] Maximum spin rate.

Returns:

  • sigma_bn: [rad] Initial spacecraft attitude.

  • omega_bn: [rad/s] Initial spacecraft angular velocity.

Return type:

tuple