A Simulator for Autonomous Ground Vehicles
The MAVS provides a utility to automatically generate outdoor scenes with different types of vegetation. This feature can be accessed through the GUI, but it requires ecosystem input files to populate the vegation.
The ecosystem input files are found in the MAVS data directory under data/ecosystem_files and specify the type of plants that compete with each other in a given ecosystem. The meshes and material files (.obj and .mtl) for these plants must all be located in the same directory, specified by the “PathToMeshes” entry below.
An example ecosystem file is shown below, with description of the parameters following.
{
"Surface Mesh": "path/to/surface.obj",
"Anvel Replay File": "path/to/vehicle2_pos_1.vprp",
"PathToMeshes": "path/to/meshes/",
"Simulation Length": 20,
"Trail Properties": {
"Tire Width": 0.6,
"Wheelbase": 2.5,
"Ground Clearance": 0.3,
"Trail Width": 4.5
},
"Species":[
{
"Mesh File": "Tree_V9_Final.obj",
"Species Name": "Oak tree",
"Num New Per Area":0.05,
"Growth Rate": 0.05,
"Max Height": 10.0,
"Min Height": 3.0,
"Mesh Height": 18.5955,
"Height To Diameter Ratio": 0.5,
"Max Age": 50.0,
"Rotate Mesh": true
},
{
"Mesh File": "GC08_1.obj",
"Species Name": "Pine tree",
"Num New Per Area":3.0,
"Growth Rate": 0.25,
"Max Height": 1.0,
"Min Height": 0.1,
"Mesh Height": 4.10518,
"Height To Diameter Ratio": 0.05,
"Max Age": 50.0,
"Rotate Mesh": false
}
]
}
An example output from a MAVS ecosystem simulation is shown below.