Did I find the right examples for you? yes no

All Samples(20)  |  Call(16)  |  Derive(0)  |  Import(4)

src/c/u/cuav-HEAD/cuav/modules/camera.py   cuav(Download)
        self.view_thread_h = None
 
        from MAVProxy.modules.lib.mp_settings import MPSettings, MPSetting
        self.camera_settings = MPSettings(
            [ MPSetting('depth', int, 8, 'Image Depth', choice=['8', '16'], tab='Capture'),
 
        self.image_settings = MPSettings(
            [ MPSetting('MinRegionArea', float, 0.15, range=(0,100), increment=0.05, digits=2, tab='Image Processing'),
              MPSetting('MaxRegionArea', float, 2.0, range=(0,100), increment=0.1, digits=1),
              MPSetting('MinRegionSize', float, 0.1, range=(0,100), increment=0.05, digits=2),

src/c/u/cuav-HEAD/cuav/tools/geosearch.py   cuav(Download)
from MAVProxy.modules.mavproxy_map import mp_slipmap
from MAVProxy.modules.lib import mp_image
from MAVProxy.modules.lib.mp_settings import MPSettings, MPSetting
 
slipmap = None
 
  camera_settings = MPSettings(
    [ MPSetting('roll_stabilised', bool, opts.roll_stabilised, 'Roll Stabilised'),
      MPSetting('altitude', int, opts.altitude, 'Altitude', range=(0,10000), increment=1),
      MPSetting('filter_type', str, 'simple', 'Filter Type',
 
  image_settings = MPSettings(
    [ MPSetting('MinRegionArea', float, 0.15, range=(0,100), increment=0.05, digits=2, tab='Image Processing'),
      MPSetting('MaxRegionArea', float, 2.0, range=(0,100), increment=0.1, digits=1),
      MPSetting('MinRegionSize', float, 0.1, range=(0,100), increment=0.05, digits=2),

src/m/a/MAVProxy-HEAD/MAVProxy/mavproxy.py   MAVProxy(Download)
        self.vehicle_type = None
        self.vehicle_name = None
        from MAVProxy.modules.lib.mp_settings import MPSettings, MPSetting
        self.settings = MPSettings(
            [ MPSetting('link', int, 1, 'Primary Link', tab='Link', range=(0,4), increment=1),

src/m/a/MAVProxy-HEAD/MAVProxy/modules/mavproxy_map/__init__.py   MAVProxy(Download)
        self.vehicle_type_name = 'plane'
        self.map_settings = mp_settings.MPSettings(
            [ ('showgpspos', int, 0),
              ('showgps2pos', int, 1),
              ('showsimpos', int, 0),

src/m/a/MAVProxy-HEAD/MAVProxy/modules/mavproxy_tracker.py   MAVProxy(Download)
        self.pstate = ParamState(self.tracker_param, self.logdir, self.vehicle_name, 'tracker.parm')
        self.tracker_settings = mp_settings.MPSettings(
            [ ('port', str, "/dev/ttyUSB0"),
              ('baudrate', int, 57600),
              ('debug', int, 0)

src/m/a/MAVProxy-HEAD/MAVProxy/modules/mavproxy_serial.py   MAVProxy(Download)
                          'set (SERIALSETTING)'])
        self.serial_settings = mp_settings.MPSettings(
            [ ('port', int, 0),
              ('baudrate', int, 57600),
              ('timeout', int, 500)

src/m/a/MAVProxy-HEAD/MAVProxy/modules/mavproxy_cameraview.py   MAVProxy(Download)
        self.camera_params = CameraParams() # TODO how to get actual camera params
        self.settings = mp_settings.MPSettings(
            [ ('r', float, 0.5),
              ('g', float, 0.5),
              ('b', float, 1.0),

src/m/a/MAVProxy-1.3.3/MAVProxy/modules/mavproxy_map/__init__.py   MAVProxy(Download)
        self.vehicle_type_name = 'plane'
        self.map_settings = mp_settings.MPSettings(
            [ ('showgpspos', int, 0),
              ('showgps2pos', int, 1),
              ('showsimpos', int, 0),

src/m/a/MAVProxy-1.3.3/MAVProxy/modules/mavproxy_tracker.py   MAVProxy(Download)
        self.pstate = ParamState(self.tracker_param, self.logdir, self.vehicle_name, 'tracker.parm')
        self.tracker_settings = mp_settings.MPSettings(
            [ ('port', str, "/dev/ttyUSB0"),
              ('baudrate', int, 57600),
              ('debug', int, 0)

src/m/a/MAVProxy-1.3.3/MAVProxy/modules/mavproxy_serial.py   MAVProxy(Download)
                          'set (SERIALSETTING)'])
        self.serial_settings = mp_settings.MPSettings(
            [ ('port', int, 0),
              ('baudrate', int, 57600),
              ('timeout', int, 500)

  1 | 2  Next