Table of Contents
Ublox Access Data
Provides the specified data field of Ublox GPS data.
This block is currently a beta version because it does not work with all Ublox GPS devices. If you are using this block, we would appreciate any feedback at tech@quanser.com. |
Library
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
qc_open_library('quarc_library_beta/Devices/Third-Party/Ublox/GPS')Description
The Ublox Access Data block provides the value of the specified data field of Ublox GPS data structure.
Input Ports
gps_data
A handle containing Ublox GPS data structure.
Output Ports
data_field
Value of the specified data field of GPS data.
err
The error signal returns a negative value in case of invalid GPS data obtained from a Ublox unit.
Parameters and Dialog Box
Data field
The options for GPS data fields are: Latitude, Longitude, Altitude, Altitude_AE, Speed, Course CourseM, X_utm, Y_utm, Zone_utm, Hem_utm, X_ecef, Y_ecef, Z_ecef, XV_ecef, YV_ecef, ZV_ecef, Time, Day, Month, Year, ToW, TTFF, TSSS, MagnVariation, HDOP, PDOP, VDOP, GDOP, TDOP, NDOP, EDOP, DiffAge, DiffStation, ResidMode, Residuals, Hacc, Vacc, Pacc, Sacc, Range_RMS, SMajAxis_std, SMinAxis_std, SMajHdg, Lat_std, Lon_std, Alt_std, ErrLat, ErrLon, ErrAlt, FailedSV, PFalseNeg, Bias, Stdev, SatNames, SatElev, SatAzimuth, SatSNR, SatsInView, SatsUsedinFix, FixFlags, PosFix, SMode, DataValid, DiffStat, DatumCode, DatSbCode, RefDatum, LatOffset, LatOffNS, LonOffset, LonOffEW, and AltOffset.
Sample time
The sample time of the block. A sample time of 0 indicates that the block will be treated as a continuous time block. A positive sample time indicates that the block is a discrete time block with the given sample time.
A sample time of -1 indicates that the block inherits its sample time. Since this is a source block, only inherent the sample time when it is placed in a conditionally executed subsystem, like a Triggered or Enabled Subsystem, or in a referenced model.
To use the fundamental sampling time of the model, set the sample time to qc_get_step_size, which is a QUARC function that returns the fundamental sampling time of the model.
Targets
Target Name |
Compatible* |
Model Referencing |
Comments |
---|---|---|---|
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
Last fully supported in QUARC 2018. |
|
Rapid Simulation (RSIM) Target |
Yes |
Yes |
|
S-Function Target |
No |
N/A |
Old technology. Use model referencing instead. |
Normal simulation |
Yes |
Yes |
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.