Skip to main content

A JavaScript library for modeling and realtime simulation of automotive tires.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
52%
Published
6 months ago (2024.6.5)

default

A JavaScript library for modeling and realtime simulation of automotive tires.

v
AST_NODE_TYPE

The types of nodes that may comprise a Tire Properties File (.tir) abstract syntax tree (AST).

c
BaseTireModel

The base class for all tire models. As the number of supported models increases, shared behavior will make its way into this class.

v
CALCULATION_MODE
No documentation available
f
clamp

Returns a value clamped between a minimum and maximum value. If n is less than the minimum, the function will return the minimum. If n is greater than the maximum, the function will return the maximum. If n is both less than the maximum and greater than the minimum, the function will return n.

v
DEFAULT_EPSILON

The default margin of error used during miscellaneous calculations.

c
HarshAndShyrokau2019

An extension to the Pacejka Magic Formula model that models includes temperature effects in tire force calculations.

c
ModelLoadingError
No documentation available
c
PropertyNotFoundError

An error that can be generated by Pacejka2002 models when they can't find an expected tire property from a Tire Properties File (.tir).

c
SectionNotFoundError

An error that can be generated by Pacejka2002 models when they can't find an expected tire property section from a Tire Properties File (.tir).

f
sineStep
No documentation available
v
TABULAR_DATA_KEY
No documentation available
v
TIRE_SIDE
No documentation available
c
TireProperties
No documentation available
c
TirLoadError
No documentation available
c
TirParser

A parser for Tire Properties Files (.tir).

c
TirSyntaxError
No documentation available
c
BaseTireModel

The base class for all tire models. As the number of supported models increases, shared behavior will make its way into this class.

v
CALCULATION_MODE
No documentation available
c
HarshAndShyrokau2019

An extension to the Pacejka Magic Formula model that models includes temperature effects in tire force calculations.

c
PropertyNotFoundError

An error that can be generated by Pacejka2002 models when they can't find an expected tire property from a Tire Properties File (.tir).

c
SectionNotFoundError

An error that can be generated by Pacejka2002 models when they can't find an expected tire property section from a Tire Properties File (.tir).

v
TIRE_SIDE
No documentation available
v
AST_NODE_TYPE

The types of nodes that may comprise a Tire Properties File (.tir) abstract syntax tree (AST).

c
TirParser

A parser for Tire Properties Files (.tir).