libgs.groundstation.GroundStation.track¶
-
GroundStation.track(nid_or_pdata, **kwargs)[source]¶ Track satellite by Norad ID
Track by moving in steps across the trajectory of the satellite
Parameters: - nid (int) or schedule (pdata) – Either the Norad ID or the schedule to track. If Norad ID is provided and a propagator connected, then the method will compute the pdata itself.
- nid_or_pdata (int/pdata) – Either a schedule file (pdata) or a norad ID to track.
- max_offp – max offpointing to allow
- If x0 is the actual satellite position at time t0:
- point to x0 + max_offp,
- wait until x0 - max_offp
- move to x0 + max_offp again … etc
Since the antenna requires a finite amount of time to move, if max_offp is too small it will not have a chance to dwell at all. min_dwell defaults to 1 second. An exception will be raised if the antenna needs to move again before the minimum dwell time.