test_lambertSurfaceRelativeVelocity
- test_lambertSurfaceRelativeVelocity.test_lambertSurfaceRelativeVelocity(show_plots, p1_vr, p2_tm, p3_f, p4_rot, p5_omega, accuracy)[source]
Validation Test Description
This test checks if the Lambert Surface Relative Velocity module works correctly for different relative velocity vectors, maneuver times, true anomalies, planet rotation angles, and planet angular velocity vectors.
Test Parameters
- Parameters:
show_plots – flag if plots should be shown
p1_vr – desired relative velocity
p2_tm – maneuver time
p3_f – true anomaly
p4_rot – rotation angle of planet
p5_omega – angular velocity vector of planet
accuracy – accuracy of the test
Description of Variables Being Tested
The content of the DesiredVelocityMsg output message (velocity vector and maneuver time) is compared with the true values.