Skip to content

limiting deceleration #23

@mattinjersey

Description

@mattinjersey

I wanted to limit the deceleration to physically reasonable values?
Is this the way to do it? Did not seem to limit the deceleration as desired.
I put it in road.js after the vehicle is created.
Thx

if (vehNew.type=="car")
{
vehNew.longModel.bmax = 5/3.6;
}
else
{
vehNew.longModel.bmax = 0.5/3.6;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions