本文整理汇总了Python中parameters.Parameters.addDrone方法的典型用法代码示例。如果您正苦于以下问题:Python Parameters.addDrone方法的具体用法?Python Parameters.addDrone怎么用?Python Parameters.addDrone使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类parameters.Parameters
的用法示例。
在下文中一共展示了Parameters.addDrone方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Donnees
# 需要导入模块: from parameters import Parameters [as 别名]
# 或者: from parameters.Parameters import addDrone [as 别名]
- creation of a parameter dictionary -> no : dictionary mix them all..
- every time we run the program, we change one parameter in the canvas and dump it into a parameter file.
+ open backup, parse it, empty it, close it.
+ copy CAM3 and change the name
- at the end of one parameter, launch the analysis program <and decide the value to adopt for this parameter> -> and changes at the end for a medium value.
"""
# script to call a command:
# >>> import os
# >>> import subprocess
# >>> subprocess.call(['./exe'])
# >>> subprocess.call(['cp', 'cam3.avi', 'results/new name.avi'])
# >>> subprocess.call(['vlc', 'name.avi', 'vlc://quit'])
settings.addOut(tools.openYml("outside.yml"))
settings.addDrone(tools.openYml("drones.yml"))
data = Donnees("main test")
f = open("testDonnees.txt", "w")
t = tools.openBackup()
data.appendResult("history10", t)
data.printMe(f)
a = {} # dictionary of analysis
xls = Xlswriter()
""" --- history --- + --- 10 to 100 --- """