Public Member Functions | Public Attributes | List of all members
detection.detection_publisher.DetectionPublisher Class Reference
Inheritance diagram for detection.detection_publisher.DetectionPublisher:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, topic_name="detection")
 
def send_mask (self, data, meta_header)
 

Public Attributes

 detect_pub
 

Detailed Description

A class to publish commands to ROS

Definition at line 44 of file detection_publisher.py.

Constructor & Destructor Documentation

def detection.detection_publisher.DetectionPublisher.__init__ (   self,
  topic_name = "detection" 
)
Initialize ros publisher, ros subscriber

Definition at line 47 of file detection_publisher.py.

Member Function Documentation

def detection.detection_publisher.DetectionPublisher.send_mask (   self,
  data,
  meta_header 
)
Set up a ROS camera
Input: 
    data  (str) The data to send to ROS [throttle, steer]
Output: None

Definition at line 52 of file detection_publisher.py.

Member Data Documentation

detection.detection_publisher.DetectionPublisher.detect_pub

Definition at line 49 of file detection_publisher.py.


The documentation for this class was generated from the following file:


cnn_bridge
Author(s): Noam C. Golombek , Alexander Beringolts
autogenerated on Mon Jun 10 2019 12:53:26