Functions | Variables
test_subscription Namespace Reference

Functions

def callback (data, args)
 

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"
 
 duration = time.time()-start
 
float end = start+10.0
 
int failures = 0
 
 p = subprocess.Popen(shlex.split(command), stdout=tmp, stderr=subprocess.STDOUT)
 
list received = [False]
 
 start = time.time()
 
string status = "success"
 
 sub = rospy.Subscriber(topic, Image, callback, callback_args=received)
 
int successes = 0
 
 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

int test_subscription.attempt = 0

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.

int test_subscription.consecutive_failures = 0

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.

test_subscription.duration = time.time()-start

Definition at line 39 of file test_subscription.py.

float test_subscription.end = start+10.0

Definition at line 36 of file test_subscription.py.

int test_subscription.failures = 0

Definition at line 21 of file test_subscription.py.

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

Definition at line 34 of file test_subscription.py.

list test_subscription.received = [False]

Definition at line 26 of file test_subscription.py.

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.

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

Definition at line 29 of file test_subscription.py.

int test_subscription.successes = 0

Definition at line 20 of file test_subscription.py.

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 Jun 10 2019 14:15:54