test_PrescribedMotionStateEffectorBranching

test_PrescribedMotionStateEffectorBranching.test_prescribed_branching_linear_translation_one_dof(show_plots)[source]

Verification Test Description

This unit test checks the branching capability of the prescribed motion module by connecting a Module: linearTranslationOneDOFStateEffector to the prescribed motion state effector. Both the Module: prescribedRotation1DOF and Module: prescribedLinearTranslation modules are configured so that the prescribed body simultaneously translates and rotates relative to the spacecraft hub. The translating body is set up to have free spring motion about its axis of translation.

The test checks that the conservation quantities of the spacecraft orbital energy, orbital angular momentum, and rotational angular momentum remain constant over the duration of the simulation.

Description of Variables Being Tested

The test checks that the conservation quantities of the spacecraft orbital energy, orbital angular momentum, and rotational angular momentum remain constant over the duration of the simulation.

test_PrescribedMotionStateEffectorBranching.test_prescribed_branching_spinning_body_one_dof(show_plots)[source]

Verification Test Description

This unit test checks the branching capability of the prescribed motion module by connecting a Module: spinningBodyOneDOFStateEffector to the prescribed motion state effector. Both the Module: prescribedRotation1DOF and Module: prescribedLinearTranslation modules are configured so that the prescribed body simultaneously translates and rotates relative to the spacecraft hub. The spinning body is set up to have free spring motion about its axis of rotation.

The test checks that the conservation quantities of the spacecraft orbital energy, orbital angular momentum, and rotational angular momentum remain constant over the duration of the simulation.

Description of Variables Being Tested

The test checks that the conservation quantities of the spacecraft orbital energy, orbital angular momentum, and rotational angular momentum remain constant over the duration of the simulation.

test_PrescribedMotionStateEffectorBranching.test_prescribed_branching_spinning_body_two_dof(show_plots)[source]

Verification Test Description

This unit test checks the branching capability of the prescribed motion module by connecting a Module: spinningBodyTwoDOFStateEffector to the prescribed motion state effector. Both the Module: prescribedRotation1DOF and Module: prescribedLinearTranslation modules are configured so that the prescribed body simultaneously translates and rotates relative to the spacecraft hub. The spinning body is set up to have free spring motion about its axes of rotation.

The test checks that the conservation quantities of the spacecraft orbital energy, orbital angular momentum, and rotational angular momentum remain constant over the duration of the simulation.

Description of Variables Being Tested

The test checks that the conservation quantities of the spacecraft orbital energy, orbital angular momentum, and rotational angular momentum remain constant over the duration of the simulation.