mirror of https://github.com/ArduPilot/ardupilot
AP_Logger: add new unit `t` for torque in N.m
This commit is contained in:
parent
5503ac204e
commit
2863dcfb94
|
@ -67,6 +67,7 @@ const struct UnitStructure log_Units[] = {
|
|||
{ '%', "%" }, // percent
|
||||
{ 'S', "satellites" }, // number of satellites
|
||||
{ 's', "s" }, // seconds
|
||||
{ 't', "N.m" }, // Newton meters, torque
|
||||
{ 'q', "rpm" }, // rounds per minute. Not SI, but sometimes more intuitive than Hertz
|
||||
{ 'r', "rad" }, // radians
|
||||
{ 'U', "deglongitude" }, // degrees of longitude
|
||||
|
|
|
@ -68,6 +68,7 @@ Please keep the names consistent with Tools/autotest/param_metadata/param.py:33
|
|||
| 's' | "s" | seconds|
|
||||
| 'q' | "rpm" | revolutions per minute| Not an SI unit, but sometimes more intuitive than Hertz|
|
||||
| 'r' | "rad" | radians|
|
||||
| 't' | "N.m" | Newton meters | torque |
|
||||
| 'U' | "deglongitude" | degrees of longitude|
|
||||
| 'u' | "ppm" | pulses per minute|
|
||||
| 'v' | "V" | Volt|
|
||||
|
|
Loading…
Reference in New Issue