Hello Guys,
Does anyone know something about existing implementations of industrial I/O sensor data within PX4 or what would be a good solution to implement this?
Currently when compiling something it gives me the error iio.h not found so I somehow have to incorporate the correct flags with in the project.
Did you ever end up figuring it out?
I would assume in the CMakeLists.txt
It would be something like this:
px4_add_module(
MODULE drivers__imu__invensense__mpu6500
MAIN mpu6500
LINK_FLAGS -liio
COMPILE_FLAGS
SRCS
MPU6500.cpp
MPU6500.hpp
mpu6500_main.cpp
DEPENDS
drivers_accelerometer
drivers_gyroscope
px4_work_queue
)
This is based on the imu driver for mpu6500 in the repo currently.