Functions | |
def | callback |
Variables | |
int | attempt = 0 |
string | command = "roslaunch openni_launch openni.launch depth_registered:=%s" |
int | consecutive_failures = 0 |
string | core_name = "core_%d" |
tuple | duration = time.time() |
float | end = 15.0 |
int | failures = 0 |
string | ns = "depth_reg_%d" |
tuple | p = subprocess.Popen(shlex.split(command), stdout=tmp, stderr=subprocess.STDOUT) |
list | received = [False] |
tuple | start = time.time() |
string | status = "success" |
tuple | sub = rospy.Subscriber(topic, PointCloud2, callback, callback_args=received) |
int | successes = 0 |
tuple | tmp = open(os.devnull, 'w') |
string | topic = "/camera/%s/points" |
def test_launch.callback | ( | data, | |
args | |||
) |
Definition at line 14 of file test_launch.py.
int test_launch::attempt = 0 |
Definition at line 19 of file test_launch.py.
string test_launch::command = "roslaunch openni_launch openni.launch depth_registered:=%s" |
Definition at line 32 of file test_launch.py.
Definition at line 22 of file test_launch.py.
string test_launch::core_name = "core_%d" |
Definition at line 64 of file test_launch.py.
tuple test_launch::duration = time.time() |
Definition at line 40 of file test_launch.py.
float test_launch::end = 15.0 |
Definition at line 37 of file test_launch.py.
int test_launch::failures = 0 |
Definition at line 21 of file test_launch.py.
string test_launch::ns = "depth_reg_%d" |
Definition at line 27 of file test_launch.py.
tuple test_launch::p = subprocess.Popen(shlex.split(command), stdout=tmp, stderr=subprocess.STDOUT) |
Definition at line 35 of file test_launch.py.
list test_launch::received = [False] |
Definition at line 26 of file test_launch.py.
tuple test_launch::start = time.time() |
Definition at line 36 of file test_launch.py.
string test_launch::status = "success" |
Definition at line 51 of file test_launch.py.
tuple test_launch::sub = rospy.Subscriber(topic, PointCloud2, callback, callback_args=received) |
Definition at line 30 of file test_launch.py.
int test_launch::successes = 0 |
Definition at line 20 of file test_launch.py.
tuple test_launch::tmp = open(os.devnull, 'w') |
Definition at line 34 of file test_launch.py.
string test_launch::topic = "/camera/%s/points" |
Definition at line 28 of file test_launch.py.