Fri 31. Oct 2014, 11:04
357228000000 tcp_rgb
357251000000 tcp_depth
357294000000 tcp_rgb
357317000000 tcp_depth
357360000000 tcp_rgb
357383000000 tcp_depth
357426000000 tcp_rgb
357449000000 tcp_depth
357492000000 tcp_rgb
357515000000 tcp_depth
357558000000 tcp_rgb
357581000000 tcp_depth
357624000000 tcp_rgb
357647000000 tcp_depth
357690000000 tcp_rgb
357713000000 tcp_depth
357756000000 tcp_rgb
357779000000 tcp_depth
357822000000 tcp_rgb
357845000000 tcp_depth
357888000000 tcp_rgb
...
46002000000 tcp_rgb
46004000000 tcp_depth
46068000000 tcp_rgb
46070000000 tcp_depth
46134000000 tcp_rgb
46136000000 tcp_depth
46200000000 tcp_rgb
46202000000 tcp_depth
46266000000 tcp_rgb
46268000000 tcp_depth
46332000000 tcp_rgb
46334000000 tcp_depth
46398000000 tcp_rgb
46400000000 tcp_depth
46464000000 tcp_rgb
46466000000 tcp_depth
46530000000 tcp_rgb
46532000000 tcp_depth
46596000000 tcp_rgb
46598000000 tcp_depth
46662000000 tcp_rgb
46664000000 tcp_depth
46728000000 tcp_rgb
46730000000 tcp_depth
46794000000 tcp_rgb
46796000000 tcp_depth
46860000000 tcp_rgb
46862000000 tcp_depth
...
import roslib; # roslib.load_manifest('euroc_c2_demos2')
import rospy
from geometry_msgs.msg import *
from euroc_c2_msgs.msg import *
from euroc_c2_msgs.srv import *
from euroc_c2_system import euroc_c2_selector
from euroc_c2_system import euroc_c2_system
import yaml
import time
import sys
import signal
import math
import threading
from sensor_msgs.msg import Image
rospy.init_node('test', anonymous=True)
lock = threading.RLock()
with open('/tmp/time.log', 'w') as log_file:
def debug_image(name, image):
with lock:
log_file.write('{}\t{}\n'.format(image.header.stamp.to_nsec(), name))
def tcp_depth_image(image):
debug_image('tcp_depth', image)
def tcp_rgb_image(image):
debug_image('tcp_rgb', image)
euroc_interface_node = '/euroc_interface_node/'
rospy.Subscriber(euroc_interface_node + 'cameras/tcp_rgb_cam', Image, tcp_rgb_image)
rospy.Subscriber(euroc_interface_node + 'cameras/tcp_depth_cam', Image, tcp_depth_image)
rospy.spin()
Fri 31. Oct 2014, 11:04
Mon 3. Nov 2014, 17:14
Tue 4. Nov 2014, 11:33
Bei iphpbb3.com bekommen Sie ein kostenloses Forum mit vielen tollen Extras
Forum kostenlos einrichten - Hot Topics - Tags
Beliebteste Themen: Cam, Uni, NES, Software, Mode
Impressum | Datenschutz