WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
warptwin::_gps_output_struct Struct Reference

GPS Model. More...

#include <GPS.h>

Public Member Functions

 _gps_output_struct ()
 _gps_output_struct (CartesianVector3 meas_pos_GPS_PCR, CartesianVector3 meas_vel_GPS_PCR, double longitude_detic, double latitude_detic, double altitude_detic, bool is_valid)

Public Attributes

CartesianVector3 meas_pos_GPS_PCR
CartesianVector3 meas_vel_GPS_PCR
double longitude_detic
double latitude_detic
double altitude_detic
bool is_valid

Detailed Description

GPS Model.

This model simulates a simple GPS with bias and noise The model also includes black-out zones based on altitude and velocity.

This model does not simulate a GPS receiver but instead simulates the GPS as a bought and configured component. Therefore it does not include clock bias drift and pseudoranging computations

HOW DOES THIS GPS MODEL HANDLE NOISE: The standard deviations of the position measurement and the velocity measurement is treated separated because position is typically gathered from pseudoranging and velocity is typically gathered from Doppler shift measurements, so the two values are uncorrelated.

The standard deviations are in the model inputs so that one could configure an external model or function that chooses the standard deviations based on temperature, time, radiation, or some other inmportant factor.

TODO: Change planet_rotating_frame param to a planet ptr so that GPS can ouput relative to ECI and can work on planets other than Earth

Author: James Tabony james.nosp@m..tab.nosp@m.ony@a.nosp@m.ttx..nosp@m.tech

Sensor output struct for latency model, its members are the same as the model outputs. Its default constructor populates members with defualt output values

Constructor & Destructor Documentation

◆ _gps_output_struct() [1/2]

warptwin::_gps_output_struct::_gps_output_struct ( )
inline

◆ _gps_output_struct() [2/2]

warptwin::_gps_output_struct::_gps_output_struct ( CartesianVector3 meas_pos_GPS_PCR,
CartesianVector3 meas_vel_GPS_PCR,
double longitude_detic,
double latitude_detic,
double altitude_detic,
bool is_valid )
inline

Member Data Documentation

◆ altitude_detic

double warptwin::_gps_output_struct::altitude_detic

◆ is_valid

bool warptwin::_gps_output_struct::is_valid

◆ latitude_detic

double warptwin::_gps_output_struct::latitude_detic

◆ longitude_detic

double warptwin::_gps_output_struct::longitude_detic

◆ meas_pos_GPS_PCR

CartesianVector3 warptwin::_gps_output_struct::meas_pos_GPS_PCR

◆ meas_vel_GPS_PCR

CartesianVector3 warptwin::_gps_output_struct::meas_vel_GPS_PCR

The documentation for this struct was generated from the following file:
  • /Users/mickey/Documents/Projects/warptwin/cpp/src/models/sensors/GPS.h