Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
this class is separated to make it possible to use the parameter
functions on a secondary connection

src/m/a/MAVProxy-1.3.3/MAVProxy/modules/mavproxy_tracker.py   MAVProxy(Download)
 
from MAVProxy.modules.lib import mp_module
from MAVProxy.modules.mavproxy_param import ParamState
 
# this should be in mavutil.py
        self.connection = None
        self.tracker_param = mavparm.MAVParmDict()
        self.pstate = ParamState(self.tracker_param, self.logdir, self.vehicle_name, 'tracker.parm')
        self.tracker_settings = mp_settings.MPSettings(
            [ ('port', str, "/dev/ttyUSB0"),

src/m/a/MAVProxy-HEAD/MAVProxy/modules/mavproxy_tracker.py   MAVProxy(Download)
 
from MAVProxy.modules.lib import mp_module
from MAVProxy.modules.mavproxy_param import ParamState
 
# this should be in mavutil.py
        self.connection = None
        self.tracker_param = mavparm.MAVParmDict()
        self.pstate = ParamState(self.tracker_param, self.logdir, self.vehicle_name, 'tracker.parm')
        self.tracker_settings = mp_settings.MPSettings(
            [ ('port', str, "/dev/ttyUSB0"),