qrb_sensor_client
Data Struct
sensors_event_t
Member types |
Member name |
---|---|
int64_t |
timestamp |
sensors_vec_t |
acceleration |
sensors_vec_t |
gyro |
sensors_vec_t
Member types |
Member name |
---|---|
float |
x |
float |
y |
float |
z |
API
Function Name |
Comment |
---|---|
bool CreateConnection() |
Create connection with sensor service |
void DisconnectServer() |
Destroy connection with sensor service |
bool GetImuData(sensors_event_t** accel_ptr, sensors_event_t** gyro_ptr, int32_t* sample_count) |
Get Imu data.
|