This setup will first open a map of waypoints from which waypoints have to be picked; This will then open up the simulator and run the simulation. Once the simulation is done, matlab auto-exits. VDM is consequently initialized producing a comparison between the simulator and the VDM prediction. Once the whole process is finished, the generated data is automatically moved into a folder called DataSetX where X is the latest index.
-
Once the zip files are extracted, execute the "executesim.sh" file by typing "./executesim.sh".
-
Wait for the map to show up. once up, select the desired path and click on 'export to workspace". Manually close the map to continue the script.
-
The simulator will start next, where the car will follow the selcted waypoints. You can finish the simulation by either manually closing the simulation window or waiting for 300secs(compulsory to initiate next steps).
-
Once the simulation exits, the vdm scripts will run, plotting the map. after analyzing the map, you will need to close it for the bash script to proceed.
-
The script will finally create the "datasetx" folder into which the newly generated data is backed up. This will ensure that you don't need to backup the files before running the next simualtion.
-
I have tried to make all the paths relative but incase I have missed any, let me know.
-
High frequency noise in the steering signal.
-
The waypoint map is quite inaccurate and you need to do some guessing around to make it follow the correct path. highly likely that the car will roughly follow the selected path.
-
Matlab was refusing to quit in the bash script so I have created this weird flag system for it to exit. Let me know if this breaks.