mirror of https://github.com/ArduPilot/ardupilot
25 lines
385 B
Python
25 lines
385 B
Python
"""
|
|
The standard interface emitters must implement
|
|
"""
|
|
|
|
import re
|
|
|
|
|
|
class Emit:
|
|
def __init__(self):
|
|
pass
|
|
|
|
prog_values_field = re.compile(r"-?\d*\.?\d+: ?[\w ]+,?")
|
|
|
|
def close(self):
|
|
pass
|
|
|
|
def start_libraries(self):
|
|
pass
|
|
|
|
def emit(self, g):
|
|
pass
|
|
|
|
def should_emit_field(self, param, field):
|
|
return field not in ['Legacy']
|