test_jointArrayRefProfiler

test_jointArrayRefProfiler.setup_joint_array_ref_profiler(profile_type: str)[source]

Create a jointArrayRefProfiler module with three joint inputs.

test_jointArrayRefProfiler.test_joint_array_ref_profiler_cubic()[source]

Validation Test Description

This unit test verifies that jointArrayRefProfiler.JointArrayRefProfiler can be constructed from the standard Basilisk.simulation import path and that the cubic profile mode works correctly.

Description of Variables Being Tested

This unit test checks the outputs of desJointStatesOutMsg when using the cubic profile mode at the start of the profile, during the profile, and after the profile completes.

test_jointArrayRefProfiler.test_joint_array_ref_profiler_filter()[source]

Validation Test Description

This unit test verifies that jointArrayRefProfiler.JointArrayRefProfiler can be constructed from the standard Basilisk.simulation import path and that the low pass filter mode works correctly.

Description of Variables Being Tested

This unit test checks the outputs of desJointStatesOutMsg when using the low pass filter mode.

test_jointArrayRefProfiler.test_joint_array_ref_profiler_filter_reinitializes_on_new_command()[source]

Validation Test Description

This unit test verifies that jointArrayRefProfiler.JointArrayRefProfiler can be constructed from the standard Basilisk.simulation import path and that the low pass filter mode reinitializes correctly when a new desired joint state message is written after the filter has already stepped once.

Description of Variables Being Tested

This unit test checks the outputs of desJointStatesOutMsg when using the low pass filter mode after a second desired joint state message is written. The expected behavior is that the module reinitializes the internal reference state to the current joint states instead of continuing from the previous filtered reference.

test_jointArrayRefProfiler.test_joint_array_ref_profiler_linear()[source]

Validation Test Description

This unit test verifies that jointArrayRefProfiler.JointArrayRefProfiler can be constructed from the standard Basilisk.simulation import path and that the linear profile mode works correctly.

Description of Variables Being Tested

This unit test checks the outputs of desJointStatesOutMsg when using the linear profile mode at the start of the profile, during the profile, and after the profile completes.

test_jointArrayRefProfiler.test_joint_array_ref_profiler_quintic()[source]

Validation Test Description

This unit test verifies that jointArrayRefProfiler.JointArrayRefProfiler can be constructed from the standard Basilisk.simulation import path and that the quintic profile mode works correctly.

Description of Variables Being Tested

This unit test checks the outputs of desJointStatesOutMsg when using the quintic profile mode at the start of the profile, during the profile, and after the profile completes.

test_jointArrayRefProfiler.test_joint_array_ref_profiler_quintic_repeated_identical_writes()[source]

Validation Test Description

This unit test verifies that jointArrayRefProfiler.JointArrayRefProfiler can be constructed from the standard Basilisk.simulation import path and that repeated writes of an identical desired joint state message do not restart the profile.

Description of Variables Being Tested

This unit test checks the outputs of desJointStatesOutMsg when using the quintic profile mode after an identical desired joint state message is rewritten at a later time. The expected behavior is that the profile continues based on accumulated profile time instead of resetting to the initial conditions.