test_hingedJointArrayMotor
- test_hingedJointArrayMotor.test_hingedJointArrayMotor(nonActForces, maxTorque, numJoints, numSpacecraft)[source]
Validation Test Description
This unit test validates the motor torques found by the joint array controller for spacecraft with attached jointed arms.
Test Parameters
The presence of non actuator based forces, presence of max torque limits, number of joints, and number of spacecraft can be varied.
- Parameters:
nonActForces (bool) – Flag to indicate presence of non-actuator forces
maxTorque (bool) – Flag to indicate presence of max torque limits
numJoints (int) – Number of joints in the arm
numSpacecraft (int) – Number of spacecraft in the simulation
Description of Variables Being Tested
In this test the motor torques output by the module are compared to the expected torques calculated in python.