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. :param groundLocation: [3,] : an ECI ground position. :param scLocations: [3,2] : two spacecraft position vectors :param minimumElevation: double : minimum view elevation angle in degrees. :return:

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