feature: Get sensor data reading working

This commit is contained in:
Tera << 8 2025-06-24 16:30:16 -04:00
parent ad3045fc29
commit 243d595a35
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
11 changed files with 413 additions and 147 deletions

7
ardriver/xreal/go_ffi.c Normal file
View 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);
}