msLoggerAddGyr (Function) |
Top Previous Next |
Add logging of gyroscope data to logger. Each set of gyroscope data in full, consists of 2 bytes per axis (X, Y and Z) stored in the buffer.
Input: Logger : SYSHANDLE A user provided handle to uniquely identify the logger. See SYSHANDLE page. This field is mandatory.
Downsample : UINT (default 1) Only collect a gyroscope data set after this amount of measurements, thus saving buffer space. Values 0 and 1 represent no downsampling.
LowRes : BOOL (default FALSE) If true, only store the most significant byte of each axis in the buffer.
Returns: INT
Declaration FUNCTION msLoggerAddGyr : INT; Example: // For a more complete example, see example under msReadEvent |