Functions | Variables
test_launch Namespace Reference

Functions

def callback (data, args)
 

Variables

int attempt = 0
 
string command = "roslaunch openni_launch openni.launch depth_registered:=%s" % ns
 
int consecutive_failures = 0
 
string core_name = "core_%d" % attempt
 
 duration = time.time() - start
 
float end = start + 15.0
 
int failures = 0
 
string ns = "depth_reg_%d" % attempt
 
 p = subprocess.Popen(shlex.split(command), stdout=tmp, stderr=subprocess.STDOUT)
 
list received = [False]
 
 start = time.time()
 
string status = "success"
 
 sub = rospy.Subscriber(topic, PointCloud2, callback, callback_args=received)
 
int successes = 0
 
 tmp = open(os.devnull, 'w')
 
string topic = "/camera/%s/points" % ns
 

Function Documentation

◆ callback()

def test_launch.callback (   data,
  args 
)

Definition at line 14 of file test_launch.py.

Variable Documentation

◆ attempt

int test_launch.attempt = 0

Definition at line 19 of file test_launch.py.

◆ command

string test_launch.command = "roslaunch openni_launch openni.launch depth_registered:=%s" % ns

Definition at line 32 of file test_launch.py.

◆ consecutive_failures

int test_launch.consecutive_failures = 0

Definition at line 22 of file test_launch.py.

◆ core_name

string test_launch.core_name = "core_%d" % attempt

Definition at line 64 of file test_launch.py.

◆ duration

test_launch.duration = time.time() - start

Definition at line 40 of file test_launch.py.

◆ end

float test_launch.end = start + 15.0

Definition at line 37 of file test_launch.py.

◆ failures

int test_launch.failures = 0

Definition at line 21 of file test_launch.py.

◆ ns

string test_launch.ns = "depth_reg_%d" % attempt

Definition at line 27 of file test_launch.py.

◆ p

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

Definition at line 35 of file test_launch.py.

◆ received

list test_launch.received = [False]

Definition at line 26 of file test_launch.py.

◆ start

test_launch.start = time.time()

Definition at line 36 of file test_launch.py.

◆ status

string test_launch.status = "success"

Definition at line 51 of file test_launch.py.

◆ sub

test_launch.sub = rospy.Subscriber(topic, PointCloud2, callback, callback_args=received)

Definition at line 30 of file test_launch.py.

◆ successes

int test_launch.successes = 0

Definition at line 20 of file test_launch.py.

◆ tmp

test_launch.tmp = open(os.devnull, 'w')

Definition at line 34 of file test_launch.py.

◆ topic

string test_launch.topic = "/camera/%s/points" % ns

Definition at line 28 of file test_launch.py.



openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Thu Apr 21 2022 02:37:23