Introduce a MOBIL car in the road.
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.