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_planetFixedSpacecraftZeroRates(tilt_deg, v_PN_N)[source]
Tests that a spacecraft fixed in the planet frame has zero range, azimuth and elevation rates and zero velocity relative to the ground location, when the planet spin axis is tilted away from the inertial 3-axis.
- Parameters:
tilt_deg – [deg] angle between the planet spin axis and the inertial 3-axis
v_PN_N – [m/s] planet velocity relative to the inertial frame origin, in N components