mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-23 13:24:03 +08:00
[python] message: add missing fieldtypes property
This commit is contained in:
@@ -56,6 +56,11 @@ class PprzMessage(object):
|
||||
"""Get list of field values."""
|
||||
return self._fieldvalues
|
||||
|
||||
@property
|
||||
def fieldtypes(self):
|
||||
"""Get list of field types."""
|
||||
return self._fieldtypes
|
||||
|
||||
def get_field(self, idx):
|
||||
"""Get field value by index."""
|
||||
return self._fieldvalues[idx]
|
||||
|
||||
Reference in New Issue
Block a user