Functions | |
def | checkDirectorySize (save_dir, max_size) |
def | getDirectorySize (start_path='.') |
def | keyFuncToSortBag (bag) |
def | killChildProcesses (ppid) |
def | killROSBag () |
def | listBagsSortedByDate (save_dir) |
def | main (topics, size, save_dir, max_size, rate=1) |
def | mkdirForBag (root_dir, bag) |
def | moveBagFiles (save_dir, bags) |
def | parseBagFile (bag) |
def | removeOldFiles (save_dir, max_size, current_size) |
def | restartROSBag (topics, size, save_dir) |
def | runROSBag (topics, size, save_dir) |
def | watchFileSystem (save_dir, max_size) |
Variables | |
args = parser.parse_args() | |
bool | g_rosbag_process = False |
help | |
parser = argparse.ArgumentParser(description='rosbag record regardless of rosmaster status') | |
required | |
True | |
type | |
def rosbag_always.checkDirectorySize | ( | save_dir, | |
max_size | |||
) |
Definition at line 109 of file rosbag_always.py.
def rosbag_always.getDirectorySize | ( | start_path = '.' | ) |
Definition at line 70 of file rosbag_always.py.
def rosbag_always.keyFuncToSortBag | ( | bag | ) |
Definition at line 82 of file rosbag_always.py.
def rosbag_always.killChildProcesses | ( | ppid | ) |
Definition at line 122 of file rosbag_always.py.
def rosbag_always.killROSBag | ( | ) |
Definition at line 132 of file rosbag_always.py.
def rosbag_always.listBagsSortedByDate | ( | save_dir | ) |
Definition at line 88 of file rosbag_always.py.
def rosbag_always.main | ( | topics, | |
size, | |||
save_dir, | |||
max_size, | |||
rate = 1 |
|||
) |
Definition at line 143 of file rosbag_always.py.
def rosbag_always.mkdirForBag | ( | root_dir, | |
bag | |||
) |
Definition at line 41 of file rosbag_always.py.
def rosbag_always.moveBagFiles | ( | save_dir, | |
bags | |||
) |
Definition at line 53 of file rosbag_always.py.
def rosbag_always.parseBagFile | ( | bag | ) |
Definition at line 31 of file rosbag_always.py.
def rosbag_always.removeOldFiles | ( | save_dir, | |
max_size, | |||
current_size | |||
) |
Definition at line 96 of file rosbag_always.py.
def rosbag_always.restartROSBag | ( | topics, | |
size, | |||
save_dir | |||
) |
Definition at line 117 of file rosbag_always.py.
def rosbag_always.runROSBag | ( | topics, | |
size, | |||
save_dir | |||
) |
run rosbag and return Popen object
Definition at line 21 of file rosbag_always.py.
def rosbag_always.watchFileSystem | ( | save_dir, | |
max_size | |||
) |
Definition at line 61 of file rosbag_always.py.
rosbag_always.args = parser.parse_args() |
Definition at line 173 of file rosbag_always.py.
bool rosbag_always.g_rosbag_process = False |
Definition at line 115 of file rosbag_always.py.
rosbag_always.help |
Definition at line 169 of file rosbag_always.py.
rosbag_always.parser = argparse.ArgumentParser(description='rosbag record regardless of rosmaster status') |
Definition at line 168 of file rosbag_always.py.
rosbag_always.required |
Definition at line 169 of file rosbag_always.py.
rosbag_always.True |
Definition at line 172 of file rosbag_always.py.
rosbag_always.type |
Definition at line 172 of file rosbag_always.py.