Assignment 2


In this assignment, you will write code in CarSim (in your controller) to develop a path to the target and follow it with your vehicle. To do this, you should first discretize the space (in your own code) by imagining a grid over it, and then compute a short path on the grid. More precisely:

So, how should you compute a path? A simple approach is to throw an imaginary grid over the space and treat the grid as a graph.

The ultimate goal is to get to the destination and as fast as possible and stop there. Let's consider some of the relevant details:

Finally, a challenge: for bonus points, see if you can get an accelerative version to reach the target significantly faster than the equivalent non-accelerative version.

Submission: