test_unitGroundLocation

test_unitGroundLocation.plot_geometry(groundLocation, scLocations, minimumElevation)[source]

Plots the location of a ground station, its field of view, and the positions of two spacecraft to verify whether the spacecraft have access to the ground station.

Parameters:
  • groundLocation – [3,] : an ECI ground position.

  • scLocations – [3,2] : two spacecraft position vectors

  • minimumElevation – double : minimum view elevation angle in degrees.

Returns:

test_unitGroundLocation.test_AzElR_rates()[source]

Tests that the Az,El,range rates are correct by using 1-step Euler integration

Returns:

test_unitGroundLocation.test_range(show_plots)[source]

Tests whether groundLocation:

  1. Computes range correctly by evaluating slantRange;

  2. Tests whether elevation is correctly evaluated;

  3. Tests whether range limits impact access.

  4. Tests whether multiple spacecraft are supported in parallel

Returns:

test_unitGroundLocation.test_rotation(show_plots)[source]

Tests whether groundLocation:

  1. Computes the current location based on the initial position and the rotation rate of the planet it is attached to.

Returns: