Allows easy and reliable access to asynchronous data from a VectorNav sensor at the cost of a slight performance hit.
More...
|
| static EzAsyncData | Connect (string portName, UInt32 baudrate) |
| | Connects to a sensor with the specified connection parameters. More...
|
| |
Allows easy and reliable access to asynchronous data from a VectorNav sensor at the cost of a slight performance hit.
| static EzAsyncData VectorNav.Sensor.EzAsyncData.Connect |
( |
string |
portName, |
|
|
UInt32 |
baudrate |
|
) |
| |
|
static |
Connects to a sensor with the specified connection parameters.
- Parameters
-
| portName | The COM port name. |
| baudrate | Baudrate to connect to the sensor at. |
- Returns
EzAsyncData object wrapping the connected sensor and providing easy access to asynchronous data.
| void VectorNav.Sensor.EzAsyncData.Disconnect |
( |
| ) |
|
This method will get the next data packet available and block until a data packet is received if there is currently not data available.
- Returns
- The received data packet.
| CompositeData VectorNav.Sensor.EzAsyncData.GetNextData |
( |
int |
timeoutMs | ) |
|
This method will get the next data packet available and block until a data packet is received if there is currently not data available.
- Parameters
-
| timeoutMs | The number of milliseconds to wait for the next available data. |
- Returns
- If data is received within the specified timeout, then data will be returned. If data is not received by then,
null will be returned.
Returns the latest collection of current data received from asychronous messages from the sensor.
| VnSensor VectorNav.Sensor.EzAsyncData.Sensor |
|
get |
The documentation for this class was generated from the following file:
- src/Sensor/EzAsyncData.cs