test_forceTorqueThrForceMapping

test_forceTorqueThrForceMapping.forceTorqueThrForceMappingTestFunction(rcsLocation, rcsDirection, requested_torque, requested_force, CoM_B, truth, torqueInMsgFlag)[source]

Test method

test_forceTorqueThrForceMapping.test_forceTorqueThrForceMapping1()[source]

Test Description

This pytest ensures that the forceTorqueThrForce module can compute a valid solution for cases where: 1. There is a direction where no thrusters point - ensures matrix invertibility is handled

test_forceTorqueThrForceMapping.test_forceTorqueThrForceMapping2()[source]

Test Description

This pytest ensures that the forceTorqueThrForce module can compute a valid solution for the case where there is zero requested torque in a connected input message, but a requested non-zero force

test_forceTorqueThrForceMapping.test_forceTorqueThrForceMapping3()[source]

Test Description

This pytest ensures that the forceTorqueThrForce module can compute a valid solution for the case where there is no torque input message, but a requested non-zero force

test_forceTorqueThrForceMapping.test_forceTorqueThrForceMapping4()[source]

Test Description

This pytest ensures that the forceTorqueThrForce module can compute a valid solution for the case where Thrusters point in each direction