feature: Get sensor data reading working
This commit is contained in:
parent
ad3045fc29
commit
243d595a35
11 changed files with 413 additions and 147 deletions
7
ardriver/xreal/go_ffi.c
Normal file
7
ardriver/xreal/go_ffi.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include "device_imu.h"
|
||||
|
||||
extern void goIMUEventHandler(uint64_t, device_imu_event_type, device_imu_ahrs_type*);
|
||||
|
||||
void imuEventHandler(uint64_t timestamp, device_imu_event_type event, const device_imu_ahrs_type* ahrs) {
|
||||
goIMUEventHandler(timestamp, event, (device_imu_ahrs_type*)ahrs);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue