test_lambertSecondDV

test_lambertSecondDV.test_lambertSecondDV(show_plots, p1_dv, p2_tm, p3_valid, accuracy)[source]

Validation Test Description

This test checks if the Lambert Second DV module works correctly for different Delta-V vectors and maneuver times. If the Lambert solution valid flag is false (0), the commanded Delta-V should be zero.

Test Parameters

Parameters:
  • show_plots – flag if plots should be shown

  • p1_dv – Delta-V vector

  • p2_tm – maneuver time

  • p3_valid – Lambert solution valid flag

  • accuracy – accuracy of the test

Description of Variables Being Tested

The content of the DvBurnCmdMsg output message (DV vector and burn start time) is compared with the true values.