test IMU output
This commit is contained in:
parent
720435b6e8
commit
9c33257a3b
18 changed files with 1102 additions and 251 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "rogue_enemy.h"
|
||||
#include "imu_message.h"
|
||||
|
||||
#define DEV_IIO_HAS_ACCEL 0x00000001U
|
||||
#define DEV_IIO_HAS_ANGLVEL 0x00000002U
|
||||
|
|
@ -60,4 +60,9 @@ int dev_iio_read(
|
|||
struct input_event *const buf,
|
||||
size_t buf_sz,
|
||||
uint32_t *const buf_out
|
||||
);
|
||||
|
||||
int dev_iio_read_imu(
|
||||
const dev_iio_t *const iio,
|
||||
imu_message_t *const out
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue