Public Member Functions | Public Attributes | List of all members
segmentation.mask_publisher.MaskPublisher Class Reference
Inheritance diagram for segmentation.mask_publisher.MaskPublisher:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, width, height, topic_name="mask")
 
def send_mask (self, data, meta_header)
 

Public Attributes

 mask
 
 mask_pub
 

Detailed Description

A class to publish commands to ROS

Definition at line 42 of file mask_publisher.py.

Constructor & Destructor Documentation

def segmentation.mask_publisher.MaskPublisher.__init__ (   self,
  width,
  height,
  topic_name = "mask" 
)
Initialize ros publisher, ros subscriber

Definition at line 45 of file mask_publisher.py.

Member Function Documentation

def segmentation.mask_publisher.MaskPublisher.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 61 of file mask_publisher.py.

Member Data Documentation

segmentation.mask_publisher.MaskPublisher.mask

Definition at line 50 of file mask_publisher.py.

segmentation.mask_publisher.MaskPublisher.mask_pub

Definition at line 47 of file mask_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