tvaLib
Public Member Functions | Public Attributes | List of all members
include.config.PredictionMethods Class Reference

Interaction configruation. More...

Inheritance diagram for include.config.PredictionMethods:
lib.tools_constructors.SuperList

Public Member Functions

def __init__ (self, kwargs)
 
def setCameraSettings (self, kwargs)
 
- Public Member Functions inherited from lib.tools_constructors.SuperList
def __init__ (self)
 
def __repr__ (self)
 
def __str__ (self)
 
def __len__ (self)
 
def __getitem__ (self, i)
 
def __iter__ (self)
 
def __add__ (self, slist)
 
def append (self, value)
 
def reverse (self)
 
def count (self, value)
 
def index (self, value)
 
def asNpArray (self)
 
def write (self)
 
def get (self, i=None, id=None, name=None)
 
def getIndex (self, kwargs)
 
def getRange (self)
 

Public Attributes

 data
 
- Public Attributes inherited from lib.tools_constructors.SuperList
 data
 

Detailed Description

Interaction configruation.

Definition at line 432 of file config.py.

Constructor & Destructor Documentation

◆ __init__()

def include.config.PredictionMethods.__init__ (   self,
  kwargs 
)

Definition at line 433 of file config.py.

433  def __init__(self, **kwargs):
434  import prediction as TrafIntPrediction
435  import lib.prediction_DMP as tvaPrediction
436  self.data = [PredictionMethod(label='Constant Velocity', label_short='cvl', idx=0, paramClass=TrafIntPrediction.ConstantPredictionParameters, **kwargs),
437  PredictionMethod(label='Normal Adaptation', label_short='nad', idx=1, paramClass=TrafIntPrediction.NormalAdaptationPredictionParameters, **kwargs),
438  PredictionMethod(label='Point Set Prediction', label_short='psp', idx=2, paramClass=TrafIntPrediction.PointSetPredictionParameters, **kwargs),
439  PredictionMethod(label='Evasive Action', label_short='eva', idx=3, paramClass=TrafIntPrediction.EvasiveActionPredictionParameters, useFeatures=False, nPredictedTrajectories=100, maxAcceleration=4.3, **kwargs),
440  PredictionMethod(label='Feature Evasive Action', label_short='fea', idx=4, paramClass=TrafIntPrediction.EvasiveActionPredictionParameters, useFeatures=True, nPredictedTrajectories=10, maxAcceleration=4.3, **kwargs),
441  PredictionMethod(label='Curvilinear Motion Pattern', label_short='cmp', idx=5, paramClass=tvaPrediction.MotionPattern, protocol='dmp', prepare=True, **kwargs)]
442 

Member Function Documentation

◆ setCameraSettings()

def include.config.PredictionMethods.setCameraSettings (   self,
  kwargs 
)

Definition at line 443 of file config.py.

443  def setCameraSettings(self, **kwargs):
444  for data in self.data:
445  data.setCameraSettings(**kwargs)
446  return True
447 

Member Data Documentation

◆ data

include.config.PredictionMethods.data

Definition at line 436 of file config.py.


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