columbia-fsae / Simulation

1 stars 0 forks source link

X,Y Coordinates For All Track Types #1

Open dbrisi opened 4 years ago

dbrisi commented 4 years ago

If we want to simulate a car going around a track we naturally need to have a set of x and y coordinates to simulate the physical track.

Columbia competes on four different tracks. Thus we will need coordinates for the following events:

  1. Acceleration
  2. Skid Pad
  3. Autocross
  4. Endurance

Here is an overview of the track shapes for each event:

image

image

image

We will complete the issue in the same sequence as the numbered list. Ideally, we will have some race-line data to model the autocross and endurance courses. We should be able to create the other courses manually.

For more details, see this file

dbrisi commented 4 years ago

Using this to estimate the initial starting point for the skidpad event. Recall that timing doesn't start until you get to the circle of your second lap, but it may be important to include this initial extra acceleration.

dbrisi commented 4 years ago

Attempting to use this for the endurance track.

dbrisi commented 3 years ago

Skidpad is complete and meets specifications exactly.

An attempted endurance track has been constructed. It looks like this.

image

As you can see, the endurance has been built using the google image. I looked at landmarks like buildings and physically looked at MIS in google maps to manually rebuild the track into latitude and longitude coordinates.

I used this powerpoint to convert latitude and longitude coordinates to X and Y coordinates. These formulas can be seen in the code.

Clearly, making the endurance track is not a precise science. I am relying on images, drawings, and estimations.

Going forward, we will be comparing historic lap times with our current sim program. Changes will be made to the track to reflect the racing line. We may be able to use video of cars on the 2019 course to better map the racing line. We also should be able to smooth out X Y values to make the output more reasonable.

dbrisi commented 3 years ago

Looking at the 2019 MIS results we see that for all cars that finished 11 laps the best car averaged a lap time of 113 seconds and the worst car averaged a time of 162 seconds.

Columbia averaged 160 second lap times during its four laps.

The current sim using the endurance track estimates 165 second lap times given our parameters. Perhaps, we can more accurately track the racing line since drivers are trimming corners?

dbrisi commented 3 years ago

Distance measurement might be off .... using google maps measuring tool I get about a total distance of 2250 meters, not the 2600 seen in the lap time sim.