====== Sensor hardware====== {{tag>ima carpc sensor}} * http://qcn.stanford.edu/sensor/forum_thread.php?id=544 ====== Sensor data ====== ===== GPS ===== ==== GPS exchange format ==== * http://en.wikipedia.org/wiki/GPS_eXchange_Format * http://nyctmc.org/ Garmin International Example GPX Document 4.46 4.94 6.87 ==== NMEA data ==== * http://www.gpsinformation.org/dale/nmea.htm#GGA 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 ===== * http://wavefrontlabs.com/Wavefront_Labs/Accelerometer_Data_Usage.html * timestamp * x,y,z: [+,-] 0.xxxx ===== Android sensor ===== * http://developer.android.com/guide/topics/sensors/sensors_motion.html ===== Sensor framework links ===== * https://www.lcsr.jhu.edu/Infrastructure/Software * http://eurosys2010.sigops-france.fr/poster_demo/eurosys2010-final6.pdf?PHPSESSID=8a9db6dc1b67e7076d0bab480e8b4295 * http://msdn.microsoft.com/library/windows/hardware/br259127.aspx * http://processors.wiki.ti.com/index.php/Android_Sensor_PortingGuide#Android_sensor_sub_system_overview * http://stackoverflow.com/questions/11366329/implementing-an-event-and-periodically-driven-script-language-in-c * http://blog.think-async.com/2010_03_01_archive.html * http://www.mrpt.org/Supported_hardware_and_sensors * http://de.wikipedia.org/wiki/ISO_8601 ====== IMA sensor datan format ====== {{tag>ima sensor}} ===== EBNF-Notation ===== Hi Thuy, hier wie besprochen unsere Daten (habe mich mal an EBNF-Notation versucht: = ( , ); = ; = , { }; = ( , , [], [] ); = or // to be discussed = ( , // latitude; geo coordinate, N=pos, S=neg , // longitude, geo coordinate, E=?, W=? , // accuracy in m , // velocity in m // direction in degree, N=0, E=90, S=180, W=270 ); = ( , // x acceleration in m/s^2 , // y acceleration in m/s^2 // z acceleration in m/s^2 ) = ( , // x rotation in rad/s^1 , // y rotation in rad/s^1 // 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 } } ] } } * http://www.jsoneditoronline.org/