The 18 Degree Of Freedom (DOF) vehicle model is a double-track vehicle model with simplified roll and no pitch. This is the intermediate level of fidelity and is thus faster than the 24 DOF model but slower than the 11 DOF model. The 18 DOF model does not capture pitch and heave motions, and the front and rear suspension are represented simply by their respective roll stiffness and roll damping coefficients. Additionally, wheel lift off conditions cannot be simulated. The vertical forces
Model parameters are set through JSON files which are then used in the construct
solver function. Examples of these JSON files are available for 2 different vehicles in data/json/HMMWV and data/json/Sedan. Examples of use are available in demos.
Driver Inputs can be provided at run-time during the simualtion or before the beginning of the simulation. For examples on provided driver inputs at run-time, see demos/HMMWV/demo_hmmwv_hi_step.cpp.
These inputs can also be provided before the simulation begins through text files. See data/input/acc.txt for an example. Here, the first column is the time, second column is steering, third column is throttle and the last column is braking. The solver then computes the steering, throttle and braking inputs at a given time through linear-interpolation. See demos/HMMWV/demo_hmmwv_hi for more details.
See here for a general description of how to run the demos. For the 11 DOF model, the demos are placed in the demos folder. The demos are built in the build folder. The demos require command line arguments specifying the input controls for the vehicles. For a description of how to create these control input files, or how to use the default control input files provided, see here.