2018-08-27 06:40:32 -03:00
|
|
|
# Cerberus Validation Schema for module configuration files.
|
|
|
|
# See http://docs.python-cerberus.org/en/stable/validation-rules.html
|
|
|
|
|
|
|
|
|
|
|
|
module_name:
|
|
|
|
# human-readable module name (used for descriptions, can contain spaces)
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
|
|
|
|
serial_config:
|
|
|
|
# UART configuration (optional)
|
|
|
|
# A module can register autostart command(s) that are associated with a
|
|
|
|
# configuration parameter, so that a user can select on which serial port to
|
|
|
|
# run the command.
|
|
|
|
# One or several commands can be defined.
|
|
|
|
type: list
|
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
command:
|
|
|
|
# script command that is executed on autostart.
|
|
|
|
# These variables can be used:
|
|
|
|
# ${SERIAL_DEV} Serial device (e.g. /dev/ttyS1)
|
|
|
|
# ${BAUD_PARAM} param name for the baudrate
|
|
|
|
# ${i} instance in [0, N-1] (for multi-instance commands)
|
|
|
|
# It's possible to use multiple lines.
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
|
|
|
|
port_config_param:
|
|
|
|
# Parameter definition to configure on which port to run the
|
|
|
|
# command
|
|
|
|
type: dict
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
name:
|
|
|
|
# Parameter name (e.g. TEL_FRSKY_CONFIG, MAV_${i}_CONFIG)
|
|
|
|
type: string
|
2018-09-27 06:03:59 -03:00
|
|
|
regex: '[0-9A-Z_]+(\$\{i\}[0-9A-Z_]*)?_(CONFIG|CFG)'
|
2018-08-27 06:40:32 -03:00
|
|
|
required: true
|
|
|
|
group:
|
|
|
|
# Associated parameter group (e.g. GPS)
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default:
|
|
|
|
# Default value(s). This can be a string to specify the
|
|
|
|
# serial tag (e.g. GPS1, TEL1, ...) or a list of strings
|
|
|
|
# for multiple instances.
|
|
|
|
# If omitted, the command is disabled by default.
|
|
|
|
anyof:
|
|
|
|
- type: string
|
|
|
|
- type: list
|
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
type: string
|
2019-07-05 09:13:58 -03:00
|
|
|
depends_on_port:
|
|
|
|
# Optional serial tag dependency (e.g. GPS1). If a board
|
|
|
|
# does not specify this serial port, the parameter will
|
|
|
|
# not be included in the build (i.e. it's not
|
|
|
|
# configurable)
|
|
|
|
type: string
|
|
|
|
description_extended:
|
|
|
|
# Optional extended description
|
|
|
|
type: string
|
2018-08-27 06:40:32 -03:00
|
|
|
label:
|
|
|
|
# Optional command label (e.g. used in the autostart script).
|
|
|
|
# If omitted, module_name is used.
|
|
|
|
type: string
|
|
|
|
num_instances:
|
|
|
|
# Allow to configure and run multiple instances of a command.
|
|
|
|
# For multiple instances, '${i}' can be used to refer to
|
|
|
|
# an instance, for example in the parameter name or script
|
|
|
|
# command.
|
|
|
|
# Default: 1
|
|
|
|
type: integer
|
|
|
|
min: 1
|
2021-04-01 04:39:57 -03:00
|
|
|
supports_networking:
|
|
|
|
# set to true if the module supports networking (UDP)
|
|
|
|
type: boolean
|
2018-08-27 06:40:32 -03:00
|
|
|
|
2018-09-04 10:04:11 -03:00
|
|
|
|
2018-08-27 06:40:32 -03:00
|
|
|
parameters:
|
2018-09-04 10:04:11 -03:00
|
|
|
# Parameter definitions.
|
|
|
|
# This is a list of parameter groups, where each group has one or more
|
|
|
|
# parameter definitions.
|
2018-08-27 06:40:32 -03:00
|
|
|
type: list
|
2018-09-04 10:04:11 -03:00
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
group:
|
|
|
|
# Parameter group (should be short)
|
|
|
|
# This applies to all parameters in the definitions dictionary
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
definitions:
|
|
|
|
type: dict
|
|
|
|
keyschema:
|
2021-09-20 02:36:13 -03:00
|
|
|
# Parameter name
|
2018-09-04 10:04:11 -03:00
|
|
|
type: string
|
|
|
|
regex: '[0-9A-Z_]+(\$\{i\}[0-9A-Z_]*)?'
|
|
|
|
valueschema:
|
2021-09-20 02:36:13 -03:00
|
|
|
type: dict # This can also be a list containing multiple definitions
|
|
|
|
# (for multi-instance params with different instance_start)
|
|
|
|
# Not currently used in any yaml config file.
|
|
|
|
schema: ¶meter_definition
|
2018-09-04 10:04:11 -03:00
|
|
|
description:
|
|
|
|
type: dict
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
short:
|
|
|
|
# Short description (one line)
|
|
|
|
type: string
|
|
|
|
required: true
|
2021-03-23 12:20:47 -03:00
|
|
|
maxlength: 70
|
|
|
|
regex: '[^\n]+'
|
2018-09-04 10:04:11 -03:00
|
|
|
long:
|
|
|
|
# Long description (can be multiple lines)
|
|
|
|
type: string
|
2021-11-02 12:06:36 -03:00
|
|
|
required: false
|
2018-09-04 10:04:11 -03:00
|
|
|
|
|
|
|
type:
|
|
|
|
# Define the parameter type
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
allowed: ['int32', 'float', 'boolean', 'enum', 'bitmask' ]
|
|
|
|
min:
|
|
|
|
# Optional minimum value (only for int32 or float)
|
|
|
|
type: number
|
|
|
|
max:
|
|
|
|
# Optional maximum value (only for int32 or float)
|
|
|
|
type: number
|
2019-09-02 13:27:51 -03:00
|
|
|
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
|
2018-09-04 10:04:11 -03:00
|
|
|
unit:
|
|
|
|
# Optional parameter unit (only for int32 or float)
|
|
|
|
# (Extend this list as needed)
|
|
|
|
type: string
|
|
|
|
allowed: [
|
|
|
|
'%', 'Hz', 'mAh',
|
2020-08-24 06:33:08 -03:00
|
|
|
'rad', '%/rad', 'rad/s', 'rad/s^2', '%/rad/s', 'rad s^2/m','rad s/m',
|
2018-09-04 10:04:11 -03:00
|
|
|
'bit/s', 'B/s',
|
2023-11-15 06:29:10 -04:00
|
|
|
'deg', 'deg*1e7', 'deg/s', 'deg/s^2',
|
2018-09-04 10:04:11 -03:00
|
|
|
'celcius', 'gauss', 'gauss/s', 'mgauss', 'mgauss^2',
|
2023-11-21 12:13:50 -04:00
|
|
|
'hPa', 'kg', 'kg/m^2', 'kg m^2', 'kg/m^3',
|
2020-08-24 06:33:08 -03:00
|
|
|
'mm', 'm', 'm/s', 'm^2', 'm/s^2', 'm/s^3', 'm/s^2/sqrt(Hz)', 'm/s/rad',
|
2021-12-09 07:56:26 -04:00
|
|
|
'Ohm', 'V', 'A',
|
2020-08-24 06:33:08 -03:00
|
|
|
'us', 'ms', 's',
|
|
|
|
'S', 'A/%', '(m/s^2)^2', 'm/m', 'tan(rad)^2', '(m/s)^2', 'm/rad',
|
2023-11-15 06:29:10 -04:00
|
|
|
'm/s^3/sqrt(Hz)', 'm/s/sqrt(Hz)', 's/(1000*PWM)', '%m/s', 'min', 'us/C',
|
2020-08-24 06:33:08 -03:00
|
|
|
'N/(m/s)', 'Nm/(rad/s)', 'Nm', 'N',
|
2023-04-18 02:41:45 -03:00
|
|
|
'rpm',
|
2020-08-24 06:33:08 -03:00
|
|
|
'normalized_thrust/s', 'normalized_thrust', 'norm', 'SD']
|
2018-09-04 10:04:11 -03:00
|
|
|
bit:
|
|
|
|
# description of all bits for type bitmask.
|
|
|
|
# The first bit is 0.
|
|
|
|
type: dict
|
|
|
|
keyschema:
|
|
|
|
type: integer
|
|
|
|
valueschema:
|
|
|
|
type: string
|
|
|
|
|
|
|
|
values:
|
|
|
|
# enumeration of possible values for type enum
|
|
|
|
type: dict
|
|
|
|
keyschema:
|
|
|
|
type: integer
|
|
|
|
valueschema:
|
|
|
|
type: string
|
|
|
|
|
|
|
|
default:
|
|
|
|
# Default value(s). This is an integer or a float,
|
|
|
|
# or a list of values for multiple instances.
|
|
|
|
required: true
|
|
|
|
anyof:
|
|
|
|
- type: boolean
|
|
|
|
- type: number
|
|
|
|
- type: list
|
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
anyof:
|
|
|
|
- type: boolean
|
|
|
|
- type: number
|
|
|
|
- type: list
|
|
|
|
|
|
|
|
category:
|
|
|
|
# Optional parameter category
|
|
|
|
type: string
|
|
|
|
allowed: [ 'Developer', 'System' ]
|
|
|
|
volatile:
|
|
|
|
# Optional volatile flag. Set to true if the
|
|
|
|
# parameter can be changed by the system
|
2022-07-27 01:33:16 -03:00
|
|
|
# automatically
|
2018-09-04 10:04:11 -03:00
|
|
|
type: boolean
|
|
|
|
reboot_required:
|
|
|
|
# set to true, if changing of the parameter requires
|
|
|
|
# a reboot to take effect
|
|
|
|
type: boolean
|
|
|
|
num_instances:
|
|
|
|
# Optional number of instances.
|
|
|
|
# For multiple instances, '${i}' can be used to
|
|
|
|
# refer to an instance, for example in the parameter
|
|
|
|
# name or description.
|
|
|
|
# Default: 1
|
|
|
|
type: integer
|
|
|
|
min: 1
|
|
|
|
instance_start:
|
|
|
|
# The value of the first instance for multiple
|
|
|
|
# instances, used in '${i}'. If 0, ${i} expands to
|
|
|
|
# [0, N-1]
|
|
|
|
# Default: 0
|
|
|
|
type: integer
|
2021-09-20 02:36:13 -03:00
|
|
|
instance_start_label:
|
|
|
|
# Allows to use a different instance start for
|
|
|
|
# labels vs parameter name.
|
|
|
|
# Default: equal to 'instance_start'
|
|
|
|
type: integer
|
2021-04-01 04:39:57 -03:00
|
|
|
requires_ethernet:
|
|
|
|
# param is only added if the board has ethernet
|
|
|
|
# support
|
|
|
|
type: boolean
|
2018-09-04 10:04:11 -03:00
|
|
|
|
2021-09-20 02:36:13 -03:00
|
|
|
# Configuration for output drivers
|
|
|
|
actuator_output:
|
|
|
|
type: dict
|
|
|
|
schema:
|
2021-11-02 12:39:27 -03:00
|
|
|
show_subgroups_if:
|
|
|
|
# condition: ui only shows the groups if this condition is true
|
|
|
|
# (e.g. 'UAVCAN_ENABLE>=3')
|
|
|
|
type: string
|
|
|
|
regex: &condition_regex "^(true|false|[\\.\\-a-zA-Z0-9_]{1,16}(>|>=|==|!=|<|<=)\\-?\\d+)$"
|
|
|
|
|
|
|
|
config_parameters:
|
|
|
|
# list of configuration parameters that apply to the whole module
|
|
|
|
type: list
|
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
param:
|
|
|
|
# parameter name
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
label:
|
|
|
|
# human-readable label
|
|
|
|
type: string
|
|
|
|
function:
|
|
|
|
type: string
|
|
|
|
allowed: [ enable ]
|
2021-09-20 02:36:13 -03:00
|
|
|
output_groups:
|
|
|
|
type: list
|
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
2021-11-02 12:39:27 -03:00
|
|
|
group_label:
|
|
|
|
# Human-readable group label, e.g. 'ESCs'
|
|
|
|
type: string
|
2021-09-20 02:36:13 -03:00
|
|
|
generator:
|
|
|
|
# Optional generator that uses additional information for
|
|
|
|
# param generation (e.g. board-specific config)
|
|
|
|
type: string
|
|
|
|
allowed: [ pwm ]
|
|
|
|
param_prefix:
|
2021-10-05 08:26:52 -03:00
|
|
|
# parameter prefix for the min/max/disarmed/func params, e.g. PWM_MAIN.
|
2021-09-20 02:36:13 -03:00
|
|
|
# This also needs to be specified in the source code.
|
|
|
|
type: string
|
2021-11-08 06:25:03 -04:00
|
|
|
regex: '([0-9A-Z_]+|\$\{PWM_MAIN_OR_AUX\})'
|
2021-09-20 02:36:13 -03:00
|
|
|
required: true
|
|
|
|
channel_label:
|
|
|
|
# Human-readable per-channel label (index will be added), e.g. 'PWM Main'
|
|
|
|
type: string
|
2021-11-02 12:16:22 -03:00
|
|
|
channel_label_module_name_prefix:
|
|
|
|
# by default, the module_name is prefixed to the
|
|
|
|
# channel_label as part of the param description. Set
|
|
|
|
# this to false to turn it off
|
|
|
|
type: boolean
|
2021-09-20 02:36:13 -03:00
|
|
|
num_channels:
|
|
|
|
# (maximum) number of channels
|
|
|
|
type: integer
|
|
|
|
standard_params:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
disarmed:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
min:
|
|
|
|
# Minimum disarmed value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
|
|
|
max:
|
|
|
|
# Maximum disarmed value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
|
|
|
default:
|
|
|
|
# Default disarmed value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
2021-11-02 12:39:27 -03:00
|
|
|
show_if:
|
|
|
|
# ui only shows the param if this condition is true
|
|
|
|
type: string
|
|
|
|
regex: *condition_regex
|
2021-09-20 02:36:13 -03:00
|
|
|
min:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
min:
|
|
|
|
# Minimum minimum value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
|
|
|
max:
|
|
|
|
# Maximum minimum value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
|
|
|
default:
|
|
|
|
# Default minimum value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
2021-11-02 12:39:27 -03:00
|
|
|
show_if:
|
|
|
|
# ui only shows the param if this condition is true
|
|
|
|
type: string
|
|
|
|
regex: *condition_regex
|
2021-09-20 02:36:13 -03:00
|
|
|
max:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
min:
|
|
|
|
# Minimum maximum value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
|
|
|
max:
|
|
|
|
# Maximum maximum value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
|
|
|
default:
|
|
|
|
# Default maximum value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
2021-11-02 12:39:27 -03:00
|
|
|
show_if:
|
|
|
|
# ui only shows the param if this condition is true
|
|
|
|
type: string
|
|
|
|
regex: *condition_regex
|
2021-09-20 02:36:13 -03:00
|
|
|
failsafe:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
min:
|
|
|
|
# Minimum failsafe value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
|
|
|
max:
|
|
|
|
# Maximum failsafe value
|
|
|
|
type: integer
|
|
|
|
min: 0
|
|
|
|
max: 65536
|
2021-11-02 12:39:27 -03:00
|
|
|
show_if:
|
|
|
|
# ui only shows the param if this condition is true
|
|
|
|
type: string
|
|
|
|
regex: *condition_regex
|
2023-04-29 07:57:14 -03:00
|
|
|
custom_params:
|
|
|
|
type: list
|
|
|
|
schema: &mixer_parameter
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
label:
|
|
|
|
type: string
|
|
|
|
name:
|
|
|
|
# param name
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
show_as:
|
|
|
|
type: string
|
|
|
|
allowed: [ 'bitset', 'true-if-positive' ]
|
|
|
|
show_if:
|
|
|
|
# condition
|
|
|
|
type: string
|
|
|
|
regex: *condition_regex
|
|
|
|
index_offset:
|
|
|
|
type: integer
|
|
|
|
advanced:
|
|
|
|
type: integer
|
|
|
|
function:
|
|
|
|
type: string
|
|
|
|
identifier:
|
|
|
|
# for rules
|
|
|
|
type: string
|
2021-09-20 02:36:13 -03:00
|
|
|
extra_function_groups:
|
|
|
|
# Additional function groups to add, defined in output_functions.yaml
|
|
|
|
type: list
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
channel_labels:
|
|
|
|
# Only used for 'pwm' generator, specifies PWM and Capture pins
|
|
|
|
type: list
|
|
|
|
minlength: 2
|
|
|
|
maxlength: 2
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-05 08:36:28 -03:00
|
|
|
timer_config_file:
|
|
|
|
# Only used for 'pwm' generator, specifies
|
|
|
|
# board-specific timer_config.cpp file
|
|
|
|
type: string
|
2021-09-20 02:36:13 -03:00
|
|
|
pwm_timer_param:
|
|
|
|
# Only used for 'pwm' generator, per-timer config param
|
|
|
|
type: dict
|
|
|
|
schema: *parameter_definition
|
2021-11-02 12:39:27 -03:00
|
|
|
config_parameters:
|
|
|
|
# list of configuration parameters that apply to the
|
|
|
|
# group
|
|
|
|
type: list
|
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
param:
|
|
|
|
# parameter name
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
label:
|
|
|
|
# human-readable label
|
|
|
|
type: string
|
|
|
|
function:
|
|
|
|
type: string
|
|
|
|
allowed: [ primary ]
|
|
|
|
instance_start:
|
|
|
|
# The value of the first channel instance for multiple
|
|
|
|
# instances, used in '${i}'. If 0, ${i} expands to
|
|
|
|
# [0, N-1]
|
|
|
|
# Default: 1
|
|
|
|
type: integer
|
|
|
|
instance_start_label:
|
|
|
|
# Allows to use a different instance start for
|
|
|
|
# labels vs parameter name.
|
|
|
|
# Default: equal to 'instance_start'
|
|
|
|
type: integer
|
|
|
|
|
|
|
|
supported_actions:
|
|
|
|
# set of actuator actions supported by the driver
|
|
|
|
type: dict
|
|
|
|
keyschema:
|
|
|
|
# action name
|
|
|
|
type: string
|
|
|
|
regex: "^(beep|3d_mode_on|3d_mode_off|set_spin_direction1|set_spin_direction2)$"
|
|
|
|
valueschema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
supported_if:
|
|
|
|
type: string
|
|
|
|
regex: *condition_regex
|
|
|
|
actuator_types:
|
|
|
|
type: list
|
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
|
|
|
|
# Mixer (only set in control_allocator)
|
|
|
|
mixer:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
actuator_types:
|
|
|
|
type: dict
|
|
|
|
keyschema:
|
|
|
|
# actuator type name
|
|
|
|
type: string
|
|
|
|
valueschema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
functions:
|
|
|
|
# Which output functions this maps to. Must be a name from
|
|
|
|
# output_functions.yaml
|
|
|
|
type: string
|
|
|
|
actuator_testing_values:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
min:
|
|
|
|
type: number
|
|
|
|
min: -1
|
|
|
|
max: 1
|
|
|
|
required: true
|
|
|
|
max:
|
|
|
|
type: number
|
|
|
|
min: -1
|
|
|
|
max: 1
|
|
|
|
required: true
|
|
|
|
default:
|
|
|
|
type: number
|
|
|
|
min: -1
|
|
|
|
max: 1
|
|
|
|
default_is_nan:
|
|
|
|
type: boolean
|
|
|
|
required: true
|
|
|
|
per_item_parameters:
|
|
|
|
type: list
|
|
|
|
minlength: 1
|
2023-04-29 07:57:14 -03:00
|
|
|
schema: *mixer_parameter
|
2021-11-24 05:49:12 -04:00
|
|
|
rules:
|
|
|
|
# mixer rules, validated by the mavlink actuator component information schema
|
|
|
|
type: list
|
2021-11-02 12:39:27 -03:00
|
|
|
config:
|
|
|
|
# Airframe types
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
param:
|
|
|
|
# param name to configure the airframe type
|
|
|
|
type: string
|
|
|
|
types:
|
|
|
|
type: dict
|
|
|
|
keyschema:
|
|
|
|
# parameter value to select the airframe
|
|
|
|
type: integer
|
|
|
|
valueschema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
type:
|
|
|
|
# geometry type (used for rendering a geometry, and
|
|
|
|
# show type-specific functionality)
|
|
|
|
type: string
|
|
|
|
allowed: [ multirotor ]
|
2022-02-16 06:02:53 -04:00
|
|
|
title:
|
|
|
|
type: string
|
2021-11-02 12:39:27 -03:00
|
|
|
actuators:
|
|
|
|
type: list
|
|
|
|
minlength: 1
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
actuator_type:
|
|
|
|
type: string
|
2021-11-24 05:49:12 -04:00
|
|
|
group_label:
|
|
|
|
type: string
|
2021-11-02 12:39:27 -03:00
|
|
|
count:
|
|
|
|
# param name or fixed count
|
|
|
|
oneof:
|
|
|
|
- type: string
|
|
|
|
- type: integer
|
2021-11-29 08:50:09 -04:00
|
|
|
item_label_prefix:
|
|
|
|
# optional per-item label prefix list or (indexed) string
|
|
|
|
oneof:
|
|
|
|
- type: list
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- type: string
|
2021-11-02 12:39:27 -03:00
|
|
|
parameters:
|
|
|
|
type: list
|
|
|
|
minlength: 1
|
|
|
|
schema: *mixer_parameter
|
|
|
|
per_item_parameters:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
standard:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
position:
|
|
|
|
type: list
|
|
|
|
minlength: 3
|
|
|
|
maxlength: 3
|
|
|
|
schema:
|
|
|
|
# position param names
|
|
|
|
type: string
|
2021-11-29 08:50:09 -04:00
|
|
|
index_offset:
|
|
|
|
type: integer
|
2021-11-02 12:39:27 -03:00
|
|
|
extra:
|
|
|
|
type: list
|
|
|
|
schema: *mixer_parameter
|
|
|
|
instances:
|
|
|
|
# non-configurable actuators (fixed positions)
|
|
|
|
type: list
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
schema:
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
position:
|
|
|
|
type: list
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
minlength: 3
|
|
|
|
maxlength: 3
|
|
|
|
type: number
|
|
|
|
|
2018-08-27 06:40:32 -03:00
|
|
|
|