SimulateStarCameraGnss

This program simulates star camera measurements at each satellite position of inputfileOrbit. The resulting rotation matrices rotate from body frame to inertial frame. The body frame refers to the IGS-specific (not the manufacturer-specific) body frame, as described by Montenbruck et al. (2015). The inputfileOrbit must contain velocities (use OrbitAddVelocityAndAcceleration if needed).

Information about the attitude mode(s) used by the GNSS satellite may be provided via inputfileAttitudeInfo. This file can be created with GnssAttitudeInfoCreate. It contains one or more time-dependent entries, each defining the default attitude mode, the attitude modes used around orbit noon and midnight, and some parameters required by the various modes. If no inputfileAttitudeInfo is selected, the program defaults to a nominal yaw-steering attitude model. A sufficiently high modelingResolution ensures that the attitude behavior is modeled properly at all times.

The attitude behavior is defined by the respective mode. Here is a list of the supported modes with a brief explanation and references:

gnssAttitudeModes
Figure: Overview of attitude modes used by GNSS satellites

See GnssAttitudeInfoCreate for more details on which satellite uses which attitude modes and the required parameters for each mode.

References for the attitude modes:

  1. Montenbruck et al. (2015)
  2. Kouba (2009)
  3. Kuang et al. (2017)
  4. Dilssner et al. (2011)
  5. https://www.gsc-europa.eu/support-to-developers/galileo-satellite-metadata#3
  6. Wang et al. (2018)
  7. Li et al. (2018)
  8. https://qzss.go.jp/en/technical/qzssinfo/index.html

NameTypeAnnotation
outputfileStarCamera
filenamerotation from body frame to CRF
inputfileOrbit
filenameattitude is modeled based on this orbit
inputfileAttitudeInfo
filenameattitude modes used by the satellite and respective parameters
interpolationDegree
uintpolynomial degree for orbit interpolation
modelingResolution
double[s] resolution for attitude model evaluation
ephemerides
ephemerides
eclipse
eclipsemodel to determine if satellite is in Earth's shadow