Hello world :-)

It seems that new way of implementing sensor drivers is the uORB way
[1][2][3]. There were two contributions recently that added IMU and
Temperature sensor drivers, first provided old and new way, second
only the old way.

Question is if we really want to switch all sensors to the uORB style?

If so what do we do with the old sensors (in terms of existing and
incoming code)?

What are the benefits (standard interface and datastream, etc) and
disadvantages (more memory used, driver rewrite, etc)?

Lets discuss about how to better communicate that we now prefer the
uORB aligned sensor drivers. True deep in the documentation it is hard
to find and not very obvious. Someone may feel bad that they already
put an effort in the driver that will be rejected.

Another discussion is that uORB for now uses Floating Point numbers,
that is a problem on MCUs without FPU, and even worse on 8-bit ones
(like AVR). Raiden already opened an Issue on this on GH [4] and
proposes build time selectable fixed point or floating point
representation of uORB sensor data stream.

Any hints welcome :-)
Tomek

[1] https://nuttx.apache.org/docs/latest/components/drivers/special/sensors.html
[2] 
https://nuttx.apache.org/docs/latest/components/drivers/special/sensors/sensors_uorb.html
[3] https://nuttx.apache.org/docs/latest/applications/system/uorb/index.html
[4] https://github.com/apache/nuttx/issues/10644

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to