mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-06 16:03:58 -04:00
AP_Logger: add Wh units
This commit is contained in:
parent
8ea9803193
commit
188cf71ee2
@ -74,6 +74,7 @@ const struct UnitStructure log_Units[] = {
|
|||||||
{ 'P', "Pa" }, // Pascal
|
{ 'P', "Pa" }, // Pascal
|
||||||
{ 'w', "Ohm" }, // Ohm
|
{ 'w', "Ohm" }, // Ohm
|
||||||
{ 'W', "Watt" }, // Watt
|
{ 'W', "Watt" }, // Watt
|
||||||
|
{ 'X', "W.h" }, // Watt hour
|
||||||
{ 'Y', "us" }, // pulse width modulation in microseconds
|
{ 'Y', "us" }, // pulse width modulation in microseconds
|
||||||
{ 'z', "Hz" }, // Hertz
|
{ 'z', "Hz" }, // Hertz
|
||||||
{ '#', "instance" } // (e.g.)Sensor instance number
|
{ '#', "instance" } // (e.g.)Sensor instance number
|
||||||
|
@ -71,6 +71,8 @@ Please keep the names consistent with Tools/autotest/param_metadata/param.py:33
|
|||||||
| 'v' | "V" | Volt|
|
| 'v' | "V" | Volt|
|
||||||
| 'P' | "Pa" | Pascal|
|
| 'P' | "Pa" | Pascal|
|
||||||
| 'w' | "Ohm" | Ohm|
|
| 'w' | "Ohm" | Ohm|
|
||||||
|
| 'W' | "W" | watt |
|
||||||
|
| 'X' | "W.h" | watt hour |
|
||||||
| 'Y' | "us" | pulse width modulation in microseconds|
|
| 'Y' | "us" | pulse width modulation in microseconds|
|
||||||
| 'z' | "Hz" | Hertz|
|
| 'z' | "Hz" | Hertz|
|
||||||
| '#' | "instance" | (e.g.)Sensor instance number|
|
| '#' | "instance" | (e.g.)Sensor instance number|
|
||||||
|
Loading…
Reference in New Issue
Block a user