Partager via


ACC_DATA (Compact 7)

3/12/2014

This structure contains the accelerometer sample data delivered to the message queue.

Syntax

typedef struct _ACC_DATA {
    SENSOR_DATA_HEADER hdr;
    float  x,y,z;
} ACC_DATA, *PACC_DATA;

Members

  • hdr
    SENSOR_DATA_HEADER structure that contains information about the accelerometer data.
  • x
    Signed acceleration in G units (9.8 meters per second squared) along the x-axis.
  • y
    Signed acceleration in G units (9.8 meters per second squared) along the y-axis.
  • z
    Signed acceleration in G units (9.8 meters per second squared) along the z-axis.

Requirements

Header

accapi.h

sysgen

SYSGEN_ACCELEROMETER

See Also

Reference

Accelerometer COREDLL.DLL Structures