Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SENSOR_DATA Struct Reference
Processed data by parse_sensor_packet() More...
#include <SensorDataParser.h>
Data Fields | |
| float | ax |
| Accelerometer X coordinate. | |
| float | ay |
| Accelerometer Y coordinate. | |
| float | az |
| Accelerometer Z coordinate. | |
| float | gx |
| Gyroscope X coordinate. | |
| float | gy |
| Gyroscope Y coordinate. | |
| float | gz |
| Gyroscope Z coordinate. | |
| double | tx |
| Teslameter X coordinate. | |
| double | ty |
| Teslameter Y coordinate. | |
| double | tz |
| Teslameter Z coordinate. | |
| double | hm |
| Magnetic heading. | |
| double | ht |
| True heading. | |
| double | latitude |
| Latitude. | |
| double | longitude |
| Longitude. | |
| double | altitude |
| Altitude. | |
| int | proximity |
| Proximity sensor. | |
| int | touch1 |
| Touch point 1 present. | |
| int | touch1x |
| Touch point 1 X coordinate. | |
| int | touch1y |
| Touch point 1 Y coordinate. | |
| int | touch2 |
| Touch point 1 present. | |
| int | touch2x |
| Touch point 1 X coordinate. | |
| int | touch2y |
| Touch point 1 Y coordinate. | |
Detailed Description
Processed data by parse_sensor_packet()
Definition at line 32 of file SensorDataParser.h.
Field Documentation
| double altitude |
Altitude.
Definition at line 50 of file SensorDataParser.h.
| float ax |
Accelerometer X coordinate.
Definition at line 33 of file SensorDataParser.h.
| float ay |
Accelerometer Y coordinate.
Definition at line 34 of file SensorDataParser.h.
| float az |
Accelerometer Z coordinate.
Definition at line 35 of file SensorDataParser.h.
| float gx |
Gyroscope X coordinate.
Definition at line 37 of file SensorDataParser.h.
| float gy |
Gyroscope Y coordinate.
Definition at line 38 of file SensorDataParser.h.
| float gz |
Gyroscope Z coordinate.
Definition at line 39 of file SensorDataParser.h.
| double hm |
Magnetic heading.
Definition at line 45 of file SensorDataParser.h.
| double ht |
True heading.
Definition at line 46 of file SensorDataParser.h.
| double latitude |
Latitude.
Definition at line 48 of file SensorDataParser.h.
| double longitude |
Longitude.
Definition at line 49 of file SensorDataParser.h.
| int proximity |
Proximity sensor.
Definition at line 52 of file SensorDataParser.h.
| int touch1 |
Touch point 1 present.
Definition at line 54 of file SensorDataParser.h.
| int touch1x |
Touch point 1 X coordinate.
Definition at line 55 of file SensorDataParser.h.
| int touch1y |
Touch point 1 Y coordinate.
Definition at line 56 of file SensorDataParser.h.
| int touch2 |
Touch point 1 present.
Definition at line 58 of file SensorDataParser.h.
| int touch2x |
Touch point 1 X coordinate.
Definition at line 59 of file SensorDataParser.h.
| int touch2y |
Touch point 1 Y coordinate.
Definition at line 60 of file SensorDataParser.h.
| double tx |
Teslameter X coordinate.
Definition at line 41 of file SensorDataParser.h.
| double ty |
Teslameter Y coordinate.
Definition at line 42 of file SensorDataParser.h.
| double tz |
Teslameter Z coordinate.
Definition at line 43 of file SensorDataParser.h.
Generated on Fri Jul 15 2022 08:41:13 by
1.7.2
