36#ifndef __INCLUDE_SENSING_COMPASS_COMMAND_H
37#define __INCLUDE_SENSING_COMPASS_COMMAND_H
70#define COMPASS_ACCEL_SAMPLING_MAX 16
75#define COMPASS_MAG_SAMPLING_MAX 8
CompassWalkStateType
Sensor state specified by COMPASS_CMD_SET_WALKSTATE.
Definition: compass_command.h:108
CompassCmdType
Publishers.
Definition: compass_command.h:85
@ COMPASS_WALK_STATE_DISABLED
Definition: compass_command.h:109
@ COMPASS_WALK_STATE_STOPPING
Definition: compass_command.h:110
@ COMPASS_WALK_STATE_WALKING
Definition: compass_command.h:111
@ COMPASS_CMD_UPDATE_MAG
Definition: compass_command.h:89
@ COMPASS_CMD_RESET_CALIB
Definition: compass_command.h:98
@ COMPASS_CMD_SET_SOFTIRON_PARAM
Definition: compass_command.h:92
@ COMPASS_CMD_UPDATE_ACCEL
Definition: compass_command.h:86
@ COMPASS_CMD_SET_WALKSTATE
Definition: compass_command.h:95
SensorExecResult
results.
Definition: sensor_command.h:113
the structure of Compass results. the result is returned only when COMPASS_CMD_UPDATE_MAG is specifie...
Definition: compass_command.h:188
float azimuth
Definition: compass_command.h:190
float roll
Definition: compass_command.h:199
float pitch
Definition: compass_command.h:195
int acc_azimuth
Definition: compass_command.h:208
float decl
Definition: compass_command.h:203
int calib_lv
Definition: compass_command.h:211
Definition: compass_command.h:122
size_t size
Definition: compass_command.h:124
void * addr
Definition: compass_command.h:123
Adjust parameter of magnetometer sensor.
Definition: compass_command.h:143
float gain_y
Definition: compass_command.h:149
float gain_z
Definition: compass_command.h:150
float rot_dist_pitch
Definition: compass_command.h:147
float tilt_yaw
Definition: compass_command.h:144
float gain_x
Definition: compass_command.h:148
float tilt_pitch
Definition: compass_command.h:145
float rot_dist_yaw
Definition: compass_command.h:146
Assert information structure.
Definition: sensor_assertion.h:91
the structure of compass commands.
Definition: compass_command.h:240
SensorFlushCompass flush_cmd
Definition: compass_command.h:247
SensorExecCompass exec_cmd
Definition: compass_command.h:246
SensorInitCompass init_cmd
Definition: compass_command.h:245
SensorCmdHeader header
Definition: compass_command.h:241
SensorResultCompass result
Definition: compass_command.h:250
the command of Compass execute by a frame(a few sample).
Definition: compass_command.h:157
ThreeAxisSampleData update_three_axis
Definition: compass_command.h:162
CompassCmdType cmd_type
Definition: compass_command.h:159
CompassWalkStateType walk_state
Definition: compass_command.h:167
CompassSetSoftIron soft_iron
Definition: compass_command.h:163
the command of compass terminate.
Definition: compass_command.h:177
the structure of Accelstep setting for initilaize.
Definition: compass_command.h:132
CompassDebugDumpInfo debug_dump_info
Definition: compass_command.h:134
the structure of sensor result on compass commands.
Definition: compass_command.h:223
CompassData compass
Definition: compass_command.h:228
SensorAssertionInfo assert_info
Definition: compass_command.h:229
SensorExecResult exec_result
Definition: compass_command.h:224
Definition: physical_command.h:95