VN_config.set_integer('algorithm', 'radius_tolerance', 2) #Tolerance used in comparing actaul ratios and preceived ratios VN_config.set_float('algorithm', 'ratio_tolerance', 0.015) #target specific data #target_code is the unique ratio between rings target_code_def = np.array([0.8, 0.91, 0.76, 0.84, 0.7, 0.66, 0.49]) VN_config.set_array('algorithm', 'target_code', target_code_def) #the outer_ring is a scaling factor for targets of various sizes; radius of outer ring in meters VN_config.set_float('algorithm', 'outer_ring', 0.08255) ####PROCESSING####### VN_config.set_integer('processing', 'desired_cores', 4) #check if a core is already in use for background image capture VN_config.set_boolean('processing', 'background_capture', True) #####LOGGING###### VN_config.set_string('logging', 'location', '~/SmartCamera/') #levels = 'debug' , 'general' , 'aircraft' , 'algorithm' , ' performance' #multiple message levels can be selected by concatination strings i.e. 'debug, aircraft' #what type of messages we print to the terminal VN_config.set_string('logging', 'print_level', 'debug, general') #what type of messages we log to a file VN_config.set_string('logging', 'log_level', 'aircraft , algorithm, general') VN_config.set_string('logging', 'display_level', 'raw, gui') #what type of images we record VN_config.set_string('logging', 'record_level', 'raw')
#target specific data #target_code is the unique ratio between rings target_code_def = np.array([0.8,0.91,0.76,0.84,0.7,0.66,0.49]) VN_config.set_array('algorithm', 'target_code',target_code_def) #the outer_ring is a scaling factor for targets of various sizes; radius of outer ring in meters VN_config.set_float('algorithm', 'outer_ring', 0.08255) ####PROCESSING####### VN_config.set_integer('processing', 'desired_cores', 4) #check if a core is already in use for background image capture VN_config.set_boolean('processing','background_capture', True) #####LOGGING###### VN_config.set_string('logging','location','~/SmartCamera/') #levels = 'debug' , 'general' , 'aircraft' , 'algorithm' , ' performance' #multiple message levels can be selected by concatination strings i.e. 'debug, aircraft' #what type of messages we print to the terminal VN_config.set_string('logging','print_level','debug, general') #what type of messages we log to a file VN_config.set_string('logging','log_level','aircraft , algorithm, general') VN_config.set_string('logging', 'display_level', 'raw, gui')