test_MJSystemCoM
- test_MJSystemCoM.MJSystemCoMTest(show_plots, model, moving, displaced)[source]
Validation Test Description
This unit test sets up a spacecraft to extract its center of mass.
Test Parameters
The spacecraft geometry, velocity, and base position are varied between tests
- Parameters:
model (str) – the model of the spacecraft for this parameterized unit test
moving (bool) – whether the spacecraft is moving or not for this parameterized unit test
displaced (bool) – whether the spacecraft base is displaced or not for this parameterized unit test
Description of Variables Being Tested
In this test we are checking the location and velocity of the spacecraft’s center of mass compared to the expected values