Skip to content

Simulator Models#

This section explains the models of the simulator: what each model computes, its main equations, its parameters and its limits. The source code is the authority. Each page names its source files. C++ Headers gives the comments of each header, generated from the code.

The Models#

Model Source Parameters Page
Polaris Ranger and its drive-by-wire AcresUtvModel.h polaris.json Polaris Ranger
Case IH Maxxum 150 and its implements AcresVehicleModel.h, AcresImplementModel.h, AcresImplementCoupling.h, AcresFieldWorkModel.h tractor.json, implements/*.json Maxxum 150
The Maxxum's physics against the literature Game/Core/Tools/tractor_audit.cpp, Game/Core/Source/AcresCoreTractor.h Results/Tractor/physics_audit.json Tractor Physics Audit
Tire, soil, surfaces and energy AcresSoilModel.h, AcresVehicleModel.h, AcresSurfaceMap.h, AcresPowerModel.h tractor.json, soil_library.json Tire and Soil
Crops, soil water, weather, farm traffic AcresFarmModel.h, AcresEnvironmentModel.h, AcresNpc.h farm.json, environment.json Farm and Weather
LiDAR, camera, GNSS, IMU, INS, CAN AcresSensors.h, AcresLidarModel.h, AcresCameraModel.h, AcresGnssModel.h sensors.json, sensors_polaris.json Sensors
Time steps and determinism AcresCommandTiming.h, AcresSimControl.h Game/Config/DefaultEngine.ini Time Stepping
The vehicle software Vehicle/Runtime/ Config/*.json Run-Time Library
The proofs of the checker Vehicle/Proofs/ Formal Verification

The source files are in Game/Source/Acres unless the table gives a different folder. The parameter files are in Game/Content/Simulation.

Conventions#

  • Units. The models use SI units. The drive-by-wire fields keep the units of the messages (degrees, percent, bar), so that a recorded command replays without a change.
  • Vehicle frame. x forward, y left, z up. A positive steering angle turns the vehicle to the left. The wheels are 0 front left, 1 front right, 2 rear left and 3 rear right.
  • World frames. Files and Formats gives the frames.
  • Physics step. 1/120 s. The models have no Unreal type, so that the model tests and ACRES Core compile them.
  • Random numbers. Each random part has a seed. The weather uses a seeded SplitMix64 generator. The sensors use the seed -SensorSeed= or seed of the sensor file.

Tests of the Models#

Tests/Game/run.sh builds and runs the tests of the engine-free models without Unreal: the vehicle, the Polaris, the LiDAR, the implements and the episode log. The folders are Tests/Game/Vehicle, Tests/Game/Polaris, Tests/Game/Lidar, Tests/Game/Implement and Tests/Game/EpisodeLog.