the command of Compass execute by a frame(a few sample). More...
#include <compass_command.h>

Public Attributes | |
| CompassCmdType | cmd_type |
| union { | |
| ThreeAxisSampleData update_three_axis | |
| CompassSetSoftIron soft_iron | |
| CompassWalkStateType walk_state | |
| }; | |
the command of Compass execute by a frame(a few sample).
| CompassCmdType cmd_type |
Indicates the Compass command type.
| ThreeAxisSampleData update_three_axis |
Frame of 3 axis data.
| CompassSetSoftIron soft_iron |
Adjust parameter of magnetometer sensor.
| CompassWalkStateType walk_state |
Used to update sensor status.