test_tools
Functions | Variables
data_collector Namespace Reference

Functions

def del_empty_dirs (s_dir)
 

Variables

 arguments = docopt(__doc__, version='Data Collector 1.0')
 
string dir_name = name + "/" + cat_name
 
 end
 
dictionary GLOBS
 
 mod_date = get_modification_date(file_name)
 
 name = arguments["<name>"]
 
 now = datetime.now()
 
 start
 

Detailed Description

Data collector

Usage:
  data_collector.py <name> <start_time> <end_time> [--go]
  data_collector.py (-h | --help)
  data_collector.py --version

Examples:
  data_collector.py reo2016_challenge_navigation 15:30 15:40
  data_collector.py rwc_2016_challenge_restaurant 15:30 now
  data_collector.py rwc_2016_challenge_speech_recognition 15:30 2015-03-02 17:40 2015-04-08

Options:
  -h --help     Show this screen.

Function Documentation

◆ del_empty_dirs()

def data_collector.del_empty_dirs (   s_dir)

Definition at line 39 of file data_collector.py.

Variable Documentation

◆ arguments

data_collector.arguments = docopt(__doc__, version='Data Collector 1.0')

Definition at line 57 of file data_collector.py.

◆ dir_name

string data_collector.dir_name = name + "/" + cat_name

Definition at line 74 of file data_collector.py.

◆ end

data_collector.end

Definition at line 59 of file data_collector.py.

◆ GLOBS

dictionary data_collector.GLOBS
Initial value:
1 = {
2  "faces": ["/tmp/faces/*.jpeg"],
3  "hmi": ["/tmp/hmi/*.json"],
4  "speech": ["/tmp/*.wav"],
5  "mapping_data_plans_and_audio": ["/tmp/*.bag"],
6  "objects" : [os.path.expanduser("~/ed/kinect/*/*.*"), os.path.expanduser("~/ed/kinect/*/*/*.*")]
7 }

Definition at line 30 of file data_collector.py.

◆ mod_date

data_collector.mod_date = get_modification_date(file_name)

Definition at line 81 of file data_collector.py.

◆ name

data_collector.name = arguments["<name>"]

Definition at line 60 of file data_collector.py.

◆ now

data_collector.now = datetime.now()

Definition at line 55 of file data_collector.py.

◆ start

data_collector.start

Definition at line 59 of file data_collector.py.