A class to subscribe to a ROS camera
Definition at line 40 of file image_subscriber.py.
def tools.image_subscriber.ImageSubscriber.__init__ |
( |
|
self, |
|
|
|
topic = "usb_cam/image_raw" |
|
) |
| |
def tools.image_subscriber.ImageSubscriber.callback |
( |
|
self, |
|
|
|
ros_data |
|
) |
| |
Callback function of subscribed topic.
Here images get converted to cv2 format
Definition at line 60 of file image_subscriber.py.
tools.image_subscriber.ImageSubscriber.bridge |
tools.image_subscriber.ImageSubscriber.compressed |
tools.image_subscriber.ImageSubscriber.currentHeader |
tools.image_subscriber.ImageSubscriber.currentImage |
tools.image_subscriber.ImageSubscriber.frame_count |
tools.image_subscriber.ImageSubscriber.start_time |
tools.image_subscriber.ImageSubscriber.subscriber |
The documentation for this class was generated from the following file: