dynamic_obstacle_tracking
detectes and track dynamic obstacles in pointcloud
Public Member Functions | Public Attributes | List of all members
mot.tracked_object Class Reference

caution###### current tracking will be in xz plane only, z will be managed once convex hull part is figured out More...

Public Member Functions

def __init__ (self, x=0.0, y=0.0, z=0.0, is_active=False, is_dead=False, youth=0, strikes=0, dt=0.16)
 
def update_matrices (self, dt)
 
def activate (self)
 
def deactivate (self)
 
def dead (self)
 
def __str__ (self)
 

Public Attributes

 id
 
 x
 
 y
 
 z
 
 is_active
 
 is_dead
 
 youth
 
 strikes
 
 color
 
 kf
 

Detailed Description

caution###### current tracking will be in xz plane only, z will be managed once convex hull part is figured out

Class to make individual tracked objects. More attributes can be added as detection algorithms evolve 

Constructor & Destructor Documentation

◆ __init__()

def mot.tracked_object.__init__ (   self,
  x = 0.0,
  y = 0.0,
  z = 0.0,
  is_active = False,
  is_dead = False,
  youth = 0,
  strikes = 0,
  dt = 0.16 
)
x and yare coordinates of the the obstacles in the plane they are moving. is_active determines if a marker is to be published for this object.
Youth variable is used to track the number of frames a new object appears, this is to filter out transient noise. Strikes calculate how long the object was not tracked.

Member Function Documentation

◆ __str__()

def mot.tracked_object.__str__ (   self)

◆ activate()

def mot.tracked_object.activate (   self)

◆ deactivate()

def mot.tracked_object.deactivate (   self)

◆ dead()

def mot.tracked_object.dead (   self)

◆ update_matrices()

def mot.tracked_object.update_matrices (   self,
  dt 
)

Member Data Documentation

◆ color

mot.tracked_object.color

◆ id

mot.tracked_object.id

◆ is_active

mot.tracked_object.is_active

◆ is_dead

mot.tracked_object.is_dead

◆ kf

mot.tracked_object.kf

◆ strikes

mot.tracked_object.strikes

◆ x

mot.tracked_object.x

◆ y

mot.tracked_object.y

◆ youth

mot.tracked_object.youth

◆ z

mot.tracked_object.z

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