GPSDriver component
This is the GPSDriver component from the GenoM3 OSMOSIS show case. It controls an ublox GPS.
It produces a pose_estimator
in port GpsPose (out).
Ports
GpsPose (out)
Data structure
|
The pose_estimator
produced by the GPS: longitude, latitude, altitude, translated in x,y,z with a local 0,0,0.
Services
SetCorrected (attribute)
Inputs
|
Set the corrected flag (position has been translated locally to xyz 0,0,0). If you set it to True the next measure will be used as the local 0,0,0.
SetBaudrate (attribute)
Inputs
|
Set the speed for com. By default 115200 for serial line and useless for USB.
ConnectDevice (function)
Throws
|
Connect to the device
ConfigureDevice (function)
Inputs
|
Throws
|
Configure the device
Measure (activity)
Throws
|
Context
|
Get a measure from the GPS and and publish it (after correcting the local position) in the GpsPose (out) port.