mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 11:03:16 +08:00
uORB has no type for electrical quantities, so power monitors can only use the legacy character drivers, which are deprecated and report their values in three incompatible unit systems. Add SENSOR_TYPE_VOLTAGE, SENSOR_TYPE_CURRENT and SENSOR_TYPE_POWER with their message structs in SI units (V, A, W). Signed-off-by: likun17 <likun17@xiaomi.com>