delphyne
MobilCar Class Reference

Detailed Description

Introduce a MOBIL car in the road.
Inheritance diagram for MobilCar:
[legend]

Public Member Functions

def __init__ (self, name=py_trees.common.Name.AUTO_GENERATED, initial_pose=(0., 0., 0.), speed=1., direction_of_travel=True)
 
def setup (self, *builder)
 

Public Attributes

 initial_pose
 
 direction_of_travel
 
 speed
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name = py_trees.common.Name.AUTO_GENERATED,
  initial_pose = (0., 0., 0.),
  speed = 1.,
  direction_of_travel = True 
)
:param name: a name for the car.
:param initial_pose: initial car (SE2) pose in the world frame.
    That is, its (x, y, heading), either as a tuple of floats or
    as a callable expression that takes a road geometry and returns
    a tuple of floats.
:param speed: speed of the car as measured in the world frame, in
    meters per second.
:param direction_of_travel: with or against the lane s-direction.

Member Function Documentation

◆ setup()

def setup (   self,
builder 
)

Member Data Documentation

◆ direction_of_travel

direction_of_travel

◆ initial_pose

initial_pose

◆ speed

speed

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