ardupilot/Tools/autotest/param_metadata/param.py

42 lines
851 B
Python
Raw Normal View History

class Parameter(object):
def __init__(self, name):
self.name = name
class Vehicle(object):
def __init__(self, name, path):
self.name = name
self.path = path
self.params = []
class Library(object):
def __init__(self, name):
self.name = name
self.params = []
known_param_fields = [
'Description',
'DisplayName',
'Values',
'Range',
'Units',
'Increment',
'User',
'RebootRequired',
2016-02-28 19:35:40 -04:00
'Bitmask',
'Volatile',
'ReadOnly',
2012-07-04 21:42:38 -03:00
]
required_param_fields = [
'Description',
'DisplayName',
'User',
]
2012-07-04 21:42:38 -03:00
known_group_fields = [
'Path',
]