Public Member Functions | Public Attributes | Static Public Attributes | List of all members
line_follower.LineFollower Class Reference

Public Member Functions

def __init__ (self, modelPath=None, velocityTopic=None, videoTopic=None)
 
def double_range_mask (self, img)
 
def get_steering (self, img)
 
def param_callback (self, config, level)
 
def preprocess_img (self, img)
 
def publish_mask (self, mask)
 
def publish_vel (self, steering)
 
def simple_mask (self, img)
 
def video_callback (self, Image data)
 

Public Attributes

 bridge
 
 interpreter
 
 mask_func
 
 mask_pub
 
 pub_mask
 
 srv
 
 vel_pub
 
 video_sub
 

Static Public Attributes

 color_mask_config = None
 

Detailed Description

Definition at line 18 of file line_follower.py.

Constructor & Destructor Documentation

◆ __init__()

def line_follower.LineFollower.__init__ (   self,
  modelPath = None,
  velocityTopic = None,
  videoTopic = None 
)

Definition at line 21 of file line_follower.py.

Member Function Documentation

◆ double_range_mask()

def line_follower.LineFollower.double_range_mask (   self,
  img 
)

Definition at line 61 of file line_follower.py.

◆ get_steering()

def line_follower.LineFollower.get_steering (   self,
  img 
)

Definition at line 134 of file line_follower.py.

◆ param_callback()

def line_follower.LineFollower.param_callback (   self,
  config,
  level 
)

Definition at line 98 of file line_follower.py.

◆ preprocess_img()

def line_follower.LineFollower.preprocess_img (   self,
  img 
)

Definition at line 151 of file line_follower.py.

◆ publish_mask()

def line_follower.LineFollower.publish_mask (   self,
  mask 
)

Definition at line 129 of file line_follower.py.

◆ publish_vel()

def line_follower.LineFollower.publish_vel (   self,
  steering 
)

Definition at line 122 of file line_follower.py.

◆ simple_mask()

def line_follower.LineFollower.simple_mask (   self,
  img 
)

Definition at line 45 of file line_follower.py.

◆ video_callback()

def line_follower.LineFollower.video_callback (   self,
Image  data 
)

Definition at line 109 of file line_follower.py.

Member Data Documentation

◆ bridge

line_follower.LineFollower.bridge

Definition at line 22 of file line_follower.py.

◆ color_mask_config

line_follower.LineFollower.color_mask_config = None
static

Definition at line 19 of file line_follower.py.

◆ interpreter

line_follower.LineFollower.interpreter

Definition at line 25 of file line_follower.py.

◆ mask_func

line_follower.LineFollower.mask_func

Definition at line 31 of file line_follower.py.

◆ mask_pub

line_follower.LineFollower.mask_pub

Definition at line 39 of file line_follower.py.

◆ pub_mask

line_follower.LineFollower.pub_mask

Definition at line 35 of file line_follower.py.

◆ srv

line_follower.LineFollower.srv

Definition at line 33 of file line_follower.py.

◆ vel_pub

line_follower.LineFollower.vel_pub

Definition at line 37 of file line_follower.py.

◆ video_sub

line_follower.LineFollower.video_sub

Definition at line 43 of file line_follower.py.


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


leo_example_line_follower
Author(s): Aleksander SzymaƄski
autogenerated on Fri Nov 25 2022 03:11:50