public interface VehicleModel
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Interface and Description |
---|---|
static class |
VehicleModel.MassBased
Defines (fixed) mass and moment of inertia about z-axis.
|
Modifier and Type | Field and Description |
---|---|
static VehicleModel |
MINMAX
Acceleration bounded by GTU min and max acceleration.
|
static VehicleModel |
NONE
No bounds.
|
Modifier and Type | Method and Description |
---|---|
Acceleration |
boundAcceleration(Acceleration acceleration,
LaneBasedGTU gtu)
Returns a bounded acceleration.
|
default Mass |
getMass()
GTU mass.
|
default double |
getMomentOfInertiaAboutZ()
Moment of inertia about z-axis and center point of gravity.
|
static final VehicleModel NONE
static final VehicleModel MINMAX
Acceleration boundAcceleration(Acceleration acceleration, LaneBasedGTU gtu)
acceleration
- Acceleration; intended accelerationgtu
- LaneBasedGTU; gtudefault Mass getMass()
default double getMomentOfInertiaAboutZ()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.