Functions | Variables
configuration Namespace Reference

Functions

def getConfig (folder)
 
def getCurrentConfig ()
 
def getFile (fileLoc)
 
def getLogFolders ()
 
def getLogSubFolders (folder)
 
def getStartPosition (folder)
 
def getYaml (file)
 
def isLogFolder (folder)
 
def latestLogFolder ()
 
def reduceLogSize (logFolder)
 
def restartConfigPanes ()
 
def rmFile (filename)
 
def saveYaml (file, dataMap, flow_style=False)
 
def setConfig (cfg, restart=True)
 
def setDefaultPos ()
 
def writeDatabase (file, cfg)
 
def writeFakeRecognizer (file, cfg)
 
def writeWorldLaunchFile (file, cfg)
 

Variables

list allPanes
 
dictionary cfg_may25
 
dictionary cfg_story1_missing_knife
 
dictionary cfg_story1_schrank
 
dictionary cfg_story2
 
list cfgs
 
list configPanes
 
tuple controlPane = (2, 0)
 
tuple fakeRecognizerPane = (11, 0)
 
tuple gazeboPane = (0, 1)
 
 homeDir = os.path.expanduser("~")
 
tuple initialSearchmanagerPane = (8, 0)
 
tuple ismPane = (4, 0)
 
string logDir = homeDir+"/log/"
 
 logFolders = getLogFolders()
 
tuple movePane = (9, 0)
 
tuple nbvPane = (5, 0)
 
list orientations
 
list positions
 
tuple ptuControllerCliPane = (10, 2)
 
tuple ptuControllerPane = (10, 1)
 
tuple ptuDriverPane = (10, 0)
 
tuple ptuRefreshFrustumPane = (10, 3)
 
tuple roscorePane = (0, 0)
 
tuple rvizPane = (3, 0)
 
tuple smPane = (7, 0)
 
tuple vizServerPane = (6, 0)
 
tuple worldModelPane = (5, 1)
 

Function Documentation

def configuration.getConfig (   folder)

Definition at line 239 of file configuration.py.

def configuration.getCurrentConfig ( )

Definition at line 274 of file configuration.py.

def configuration.getFile (   fileLoc)

Definition at line 11 of file configuration.py.

def configuration.getLogFolders ( )

Definition at line 24 of file configuration.py.

def configuration.getLogSubFolders (   folder)

Definition at line 51 of file configuration.py.

def configuration.getStartPosition (   folder)

Definition at line 254 of file configuration.py.

def configuration.getYaml (   file)

Definition at line 94 of file configuration.py.

def configuration.isLogFolder (   folder)

Definition at line 61 of file configuration.py.

def configuration.latestLogFolder ( )

Definition at line 33 of file configuration.py.

def configuration.reduceLogSize (   logFolder)

Definition at line 43 of file configuration.py.

def configuration.restartConfigPanes ( )

Definition at line 271 of file configuration.py.

def configuration.rmFile (   filename)

Definition at line 37 of file configuration.py.

def configuration.saveYaml (   file,
  dataMap,
  flow_style = False 
)

Definition at line 100 of file configuration.py.

def configuration.setConfig (   cfg,
  restart = True 
)

Definition at line 65 of file configuration.py.

def configuration.setDefaultPos ( )

Definition at line 280 of file configuration.py.

def configuration.writeDatabase (   file,
  cfg 
)

Definition at line 83 of file configuration.py.

def configuration.writeFakeRecognizer (   file,
  cfg 
)

Definition at line 88 of file configuration.py.

def configuration.writeWorldLaunchFile (   file,
  cfg 
)

Definition at line 75 of file configuration.py.

Variable Documentation

list configuration.allPanes
Initial value:
1 = [
2  ismPane,
3  nbvPane,
4  worldModelPane,
5  vizServerPane,
6  smPane,
7  initialSearchmanagerPane,
8  movePane,
9  ptuDriverPane,
10  ptuControllerPane,
11  fakeRecognizerPane
12 ]

Definition at line 124 of file configuration.py.

dictionary configuration.cfg_may25
Initial value:
1 = {
2  "world_description" : "$(find asr_world_model)/rsc/world_descriptions/world_description_25th_may.yaml",
3  "database" : resources_for_active_scene_recognition_path + "/scene_recordings/scene_25th_may.sqlite",
4  "fake_recognizer_objs" : "./config/scene_25th_may.xml",
5  "startPositions" : [(positions[2][5], orientations[0])]
6 }

Definition at line 225 of file configuration.py.

dictionary configuration.cfg_story1_missing_knife
Initial value:
1 = {
2  "world_description" : "$(find asr_world_model)/rsc/world_descriptions/world_description.yaml",
3  "database" : resources_for_active_scene_recognition_path + "/scene_recordings/story_1.sqlite",
4  "fake_recognizer_objs" : "./config/story_1.xml",
5  "startPositions" : [(positions[0][0], orientations[0])]
6 }

Definition at line 203 of file configuration.py.

dictionary configuration.cfg_story1_schrank
Initial value:
1 = {
2  "world_description" : "$(find asr_world_model)/rsc/world_descriptions/world_description.yaml",
3  "database" : resources_for_active_scene_recognition_path + "/scene_recordings/story_1.sqlite",
4  "fake_recognizer_objs" : "./config/story_1_schrank.xml",
5  "startPositions" : [(positions[4][0], orientations[0])]
6 }

Definition at line 210 of file configuration.py.

dictionary configuration.cfg_story2
Initial value:
1 = {
2  "world_description" : "$(find asr_world_model)/rsc/world_descriptions/world_description.yaml",
3  "database" : resources_for_active_scene_recognition_path + "/scene_recordings/story_1.sqlite", # TODO: not there
4  "fake_recognizer_objs" : "./config/story_2_tisch.xml" # TODO: might vary from story 2 mission
5 }

Definition at line 218 of file configuration.py.

list configuration.cfgs
Initial value:
1 = [
2  cfg_story1_missing_knife,
3  cfg_story1_schrank,
4  cfg_story2,
5  cfg_may25
6 ]

Definition at line 232 of file configuration.py.

list configuration.configPanes
Initial value:
1 = [
2  ismPane,
3  worldModelPane,
4  smPane,
5  fakeRecognizerPane
6 ]

Definition at line 137 of file configuration.py.

tuple configuration.controlPane = (2, 0)

Definition at line 110 of file configuration.py.

tuple configuration.fakeRecognizerPane = (11, 0)

Definition at line 123 of file configuration.py.

tuple configuration.gazeboPane = (0, 1)

Definition at line 109 of file configuration.py.

configuration.homeDir = os.path.expanduser("~")

Definition at line 22 of file configuration.py.

tuple configuration.initialSearchmanagerPane = (8, 0)

Definition at line 117 of file configuration.py.

tuple configuration.ismPane = (4, 0)

Definition at line 112 of file configuration.py.

string configuration.logDir = homeDir+"/log/"

Definition at line 23 of file configuration.py.

configuration.logFolders = getLogFolders()

Definition at line 49 of file configuration.py.

tuple configuration.movePane = (9, 0)

Definition at line 118 of file configuration.py.

tuple configuration.nbvPane = (5, 0)

Definition at line 113 of file configuration.py.

list configuration.orientations
Initial value:
1 = [
2  (0, -35)
3 ]

Definition at line 144 of file configuration.py.

list configuration.positions

Definition at line 148 of file configuration.py.

tuple configuration.ptuControllerCliPane = (10, 2)

Definition at line 121 of file configuration.py.

tuple configuration.ptuControllerPane = (10, 1)

Definition at line 120 of file configuration.py.

tuple configuration.ptuDriverPane = (10, 0)

Definition at line 119 of file configuration.py.

tuple configuration.ptuRefreshFrustumPane = (10, 3)

Definition at line 122 of file configuration.py.

tuple configuration.roscorePane = (0, 0)

Definition at line 108 of file configuration.py.

tuple configuration.rvizPane = (3, 0)

Definition at line 111 of file configuration.py.

tuple configuration.smPane = (7, 0)

Definition at line 116 of file configuration.py.

tuple configuration.vizServerPane = (6, 0)

Definition at line 115 of file configuration.py.

tuple configuration.worldModelPane = (5, 1)

Definition at line 114 of file configuration.py.



asr_resources_for_active_scene_recognition
Author(s): Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Karrenbauer Oliver, Marek Felix, Mei├čner Pascal, Stroh Daniel, Trautmann Jeremias
autogenerated on Tue Feb 18 2020 03:14:15