Functions | |
def | checkDirectorySize |
def | getDirectorySize |
def | keyFuncToSortBag |
def | killChildProcesses |
def | killROSBag |
def | listBagsSortedByDate |
def | main |
def | mkdirForBag |
def | moveBagFiles |
def | parseBagFile |
def | removeOldFiles |
def | restartROSBag |
def | runROSBag |
def | watchFileSystem |
Variables | |
tuple | args = parser.parse_args() |
g_rosbag_process = False | |
tuple | parser = argparse.ArgumentParser(description='rosbag record regardless of rosmaster status') |
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.
tuple rosbag_always::args = parser.parse_args() |
Definition at line 173 of file rosbag_always.py.
rosbag_always::g_rosbag_process = False |
Definition at line 115 of file rosbag_always.py.
tuple rosbag_always::parser = argparse.ArgumentParser(description='rosbag record regardless of rosmaster status') |
Definition at line 168 of file rosbag_always.py.