Functions | Variables
test_subscription Namespace Reference

Functions

def callback

Variables

int attempt = 0
string command = "rosrun openni_camera openni_node_unstable depth/image_raw:=%s"
int consecutive_failures = 0
string core_name = "core_%d"
tuple duration = time.time()
float end = 10.0
int failures = 0
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, Image, callback, callback_args=received)
int successes = 0
tuple tmp = tempfile.TemporaryFile(mode='r+')
string topic = "image_%d"

Function Documentation

def test_subscription.callback (   data,
  args 
)

Definition at line 14 of file test_subscription.py.


Variable Documentation

Definition at line 19 of file test_subscription.py.

string test_subscription::command = "rosrun openni_camera openni_node_unstable depth/image_raw:=%s"

Definition at line 31 of file test_subscription.py.

Definition at line 22 of file test_subscription.py.

string test_subscription::core_name = "core_%d"

Definition at line 78 of file test_subscription.py.

tuple test_subscription::duration = time.time()

Definition at line 39 of file test_subscription.py.

tuple test_subscription::end = 10.0

Definition at line 36 of file test_subscription.py.

Definition at line 21 of file test_subscription.py.

tuple test_subscription::p = subprocess.Popen(shlex.split(command), stdout=tmp, stderr=subprocess.STDOUT)

Definition at line 34 of file test_subscription.py.

Definition at line 26 of file test_subscription.py.

tuple test_subscription::start = time.time()

Definition at line 35 of file test_subscription.py.

string test_subscription::status = "success"

Definition at line 66 of file test_subscription.py.

tuple test_subscription::sub = rospy.Subscriber(topic, Image, callback, callback_args=received)

Definition at line 29 of file test_subscription.py.

Definition at line 20 of file test_subscription.py.

tuple test_subscription::tmp = tempfile.TemporaryFile(mode='r+')

Definition at line 32 of file test_subscription.py.

string test_subscription::topic = "image_%d"

Definition at line 27 of file test_subscription.py.



openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Mon Oct 6 2014 03:06:43