Hello

My project is to send sensor data over WLAN (UDP protocol), I aim for the highest sampling rate and lowest delay.

I thought I would serialize the data with google protocol buffers for its flexibility, fast parsing and to limit the required bandwidth.
Though it seems that the bottleneck to a high sampling rate with many sensors is the i2c bus between the sensors and the MCU, and not the WLAN connection. Has anyone experience to monitor accelerometers, gyro, magneto, and IMU at the same time and what is the maximum sampling rate while sending it over UDP? Would it be any faster to write the data to an SD card? (I might sacrifice the real-time data for some testing)

Is it worth bothering implementing google protocol buffers? Even if the bandwidth is not critical, I would like to use it for the low delay.

I have tried to compile the C library protobuf, following this https://developer.bosch.com/web/xdk/including-a-static-library-.a-

But I got :

Building file /home/pilou/XDK-Workspace/SendDataOverUdp/source/uniquementAcceleration.pb-c.c
arm-none-eabi-gcc: error: /include: No such file or directoryarm-none-eabi-gcc: error: /include: No such file or directory

arm-none-eabi-gcc: error:  : No such file or directory
arm-none-eabi-gcc: error:  : No such file or directory
make[1]: *** [application.mk:367: /home/pilou/XDK-Workspace/SendDataOverUdp/debug/objects/AppController.o] Error 1
make[1]: Leaving directory '/opt/XDK-Workbench/XDK/SDK/xdk110/Common'
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [application.mk:367: /home/pilou/XDK-Workspace/SendDataOverUdp/debug/objects/uniquementAcceleration.pb-c.o] Error 1
make: *** [Makefile:50: debug] Error 2

Thank you a lot

0 (0 Votes)