Table of Contents

Sensor hardware

ima carpc sensor

Sensor data

GPS

GPS exchange format

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
 
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" creator="Oregon 400t" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd">
  <metadata>
    <link href="http://www.garmin.com">
      <text>Garmin International</text>
    </link>
    <time>2009-10-17T22:58:43Z</time>
  </metadata>
  <trk>
    <name>Example GPX Document</name>
    <trkseg>
      <trkpt lat="47.644548" lon="-122.326897">
        <ele>4.46</ele>
        <time>2009-10-17T18:37:26Z</time>
      </trkpt>
      <trkpt lat="47.644548" lon="-122.326897">
        <ele>4.94</ele>
        <time>2009-10-17T18:37:31Z</time>
      </trkpt>
      <trkpt lat="47.644548" lon="-122.326897">
        <ele>6.87</ele>
        <time>2009-10-17T18:37:34Z</time>
      </trkpt>
    </trkseg>
  </trk>
</gpx>

NMEA data

GGA - essential fix data which provide 3D location and accuracy data.

 $GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47

Where:
     GGA          Global Positioning System Fix Data
     123519       Fix taken at 12:35:19 UTC
     4807.038,N   Latitude 48 deg 07.038' N
     01131.000,E  Longitude 11 deg 31.000' E
     1            Fix quality: 0 = invalid
                               1 = GPS fix (SPS)
                               2 = DGPS fix
                               3 = PPS fix
			       4 = Real Time Kinematic
			       5 = Float RTK
                               6 = estimated (dead reckoning) (2.3 feature)
			       7 = Manual input mode
			       8 = Simulation mode
     08           Number of satellites being tracked
     0.9          Horizontal dilution of position
     545.4,M      Altitude, Meters, above mean sea level
     46.9,M       Height of geoid (mean sea level) above WGS84
                      ellipsoid
     (empty field) time in seconds since last DGPS update
     (empty field) DGPS station ID number
     *47          the checksum data, always begins with *

Accelerometer

Android sensor

IMA sensor datan format

ima sensor

EBNF-Notation

Hi Thuy,

hier wie besprochen unsere Daten (habe mich mal an EBNF-Notation versucht:

<Record> = ( <VehicleID> , <SensorDataList> );
<VedicleID> = <Int64>;
<SensorDataList> = <SensorData>, { <SensorData> };
<SensorData> = ( <Timestamp>, <GpsData>, [<AccelData>], [<GyroData>] );
<Timestamp> = <String> or <Uint32> // to be discussed
<GpsData> = (
        <Float>, // latitude; geo coordinate, N=pos, S=neg
        <Float>, // longitude, geo coordinate, E=?, W=?
        <Float>, // accuracy in m
        <Float>, // velocity in m
        <Float>  // direction in degree, N=0, E=90, S=180, W=270
);
<AccelData> = (
        <Float>, // x acceleration in m/s^2
        <Float>, // y acceleration in m/s^2
        <Float>  // z acceleration in m/s^2
)
<GyroData> = (
        <Float>, // x rotation in rad/s^1
        <Float>, // y rotation in rad/s^1
        <Float>  // z rotation in rad/s^1
)


Gruß
Thomas

JSON String

{
    "VehicleID": "Int64",
    "SensorDataSetObj": {
        "GPSData": [
            {
                "Timestamp": "String or Uint32",
                "SensorData": {
                    "latitude": 47.644548,
                    "longitude": -122.326897,
                    "accuracy": 1,
                    "velocity": 30,
                    "direction": 45
                }
            },
            {
                "Timestamp": "String or Uint32",
                "SensorData": {
                    "latitude": 47.644548,
                    "longitude": -122.326897,
                    "accuracy": 1,
                    "velocity": 30,
                    "direction": 45
                }
            }
        ],
        "AccelData": [
            {
                "Timestamp": "String or Uint32",
                "SensorData": {
                    "x": 0,
                    "y": 0,
                    "z": 10
                }
            }
        ],
        "GyroData": [
            {
                "Timestamp": "String or Uint32",
                "SensorData": {
                    "x": 10,
                    "y": 10,
                    "z": 10
                }
            }
        ]
    }
}