mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
module_schema.yaml: add 'decimal' and 'increment' for floats
This commit is contained in:
@@ -123,6 +123,12 @@ parameters:
|
|||||||
max:
|
max:
|
||||||
# Optional maximum value (only for int32 or float)
|
# Optional maximum value (only for int32 or float)
|
||||||
type: number
|
type: number
|
||||||
|
decimal:
|
||||||
|
# Optional number of decimal places to display (only for float)
|
||||||
|
type: number
|
||||||
|
increment:
|
||||||
|
# Optional increment step size (for a GCS) (only for float)
|
||||||
|
type: number
|
||||||
unit:
|
unit:
|
||||||
# Optional parameter unit (only for int32 or float)
|
# Optional parameter unit (only for int32 or float)
|
||||||
# (Extend this list as needed)
|
# (Extend this list as needed)
|
||||||
|
|||||||
Reference in New Issue
Block a user