test_scalarJointStatesToRWSpeed
- test_scalarJointStatesToRWSpeed.test_scalarJointStatesToRWSpeed(numJoints: int)[source]
Verification Test Description
This unit test verifies that the
ScalarJointStatesToRWSpeedadapter module correctly maps a set ofScalarJointStateMsgPayloadinput messages into a singleRWSpeedMsgPayloadoutput message using an order-preserving mapping.Test Parameters
- Parameters:
numJoints (int) – Number of scalar joint input messages.
Description of Variables Being Tested
Each element of the output reaction wheel speed vector is checked to ensure that it matches the corresponding joint angular rate provided in the input messages.