Did I find the right examples for you? yes no

All Samples(84)  |  Call(79)  |  Derive(0)  |  Import(5)

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'),
              MPSetting('save_pgm', bool, True, 'Save Raw Images'),
              MPSetting('capture_brightness', int, 150, 'Capture Brightness', range=(10, 300), increment=1),
              MPSetting('gamma', int, 950, 'Capture Gamma', range=(0,1000), increment=1),

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',
                choice=['simple', 'compactness']),
      MPSetting('fullres', bool, opts.fullres, 'Full Resolution'),

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),
              MPSetting('streamrate', int, 4, 'Stream rate link1', range=(0,20), increment=1),
              MPSetting('streamrate2', int, 4, 'Stream rate link2', range=(0,20), increment=1),
              MPSetting('heartbeat', int, 1, 'Heartbeat rate', range=(0,5), increment=1),

src/m/a/MAVProxy-HEAD/MAVProxy/modules/mavproxy_sensors.py   MAVProxy(Download)
        self.reports['speed'] = sensors_report()
 
        from MAVProxy.modules.lib.mp_settings import MPSetting
        self.settings.append(MPSetting('speedreporting', bool, False, 'Speed Reporting', tab='Sensors'))
 

src/c/u/cuav-HEAD/cuav/tests/algtest.py   cuav(Download)
from cuav.lib import cuav_util, cuav_region
from MAVProxy.modules.lib import mp_image, wxsettings, mp_settings
from MAVProxy.modules.lib.mp_settings import MPSettings, MPSetting
from MAVProxy.modules.lib.mp_menu import *
 
        settings = MPSettings(
          [
          MPSetting('MetersPerPixel', float, 0.2, range=(0,10), increment=0.01, digits=2, tab='Image Processing'),
          MPSetting('MinRegionArea', float, 0.15, range=(0,100), increment=0.05, digits=2),
          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),