Ublox Access Data Ublox Get Lat-Lon-Alt navigation bar

Table of Contents

Ublox Data Accuracy

Provides the GPS data fields associated with data accuracy.

Beta

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

QUARC Targets Beta/Devices/Third-Party/Ublox/GPS

Description

Ublox Data Accuracy

The Ublox Data Accuracy block provides the values of Horizontal Dilution of Precision (HDOP), Vertical Dilution of Precision (VDOP), Position Dilution of Precision (PDOP), Position Fix flag, the number of satellites used in the solution, and the number of satellites in view obtained from GPS data structure.

Input Ports

gps_data

A handle containing Ublox GPS data structure.

Output Ports

hdop

Value of Horizontal Dilution of Precision (HDOP).

vdop

Value of Vertical Dilution of Precision (VDOP).

pdop

Value of Position Dilution of Precision (PDOP).

pos_fix

Value of the position fix flag.

sat_in_fix

Number of satellites used in the solution.

sat_in_view

Number of satellites in view.

err

The error signal returns a negative value in case of invalid GPS data obtained from a Ublox unit.

Parameters and Dialog Box

Ublox Data Accuracy

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

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

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

* Compatible means that the block can be compiled for the target.

See Also

 

navigation bar