Skip to content

five-on-it / packages/ai/src/traffic-route / ROUTE

Variable: ROUTE ​

const ROUTE: object

Defined in: packages/ai/src/traffic-route.ts:20

The numbers of a route.

Type Declaration ​

bendAccel ​

readonly bendAccel: 4 = 4

Lateral acceleration a bend is taken at (m/s²).

curvePoints ​

readonly curvePoints: 5 = 5

Points a junction's curve is drawn with.

minBendSpeed ​

readonly minBendSpeed: 3 = 3

The slowest any bend is taken (m/s).

uTurnReach ​

readonly uTurnReach: 6 = 6

A U-turn at a dead end loops this far beyond the road's end (m).