ajkapss avatar

MIT Race Car Project Autopilot Test

ajkapss

Published: 23 Mar 2018 › Updated: 23 Mar 2018MIT Race Car Project Autopilot Test

MIT Race Car Project Autopilot Test


Hey Steemians , this is another video in the MIT Race Car Series project.In this video we used a trained Auto-pilot model.The model was trained on a track such that it would follow the dotted dashed line in the middle of the track.

In the following video we ran the autopilot to see how well it reacts when certain obstacles are present in it's path.
Our Initial findings shows us that the autopilot has learn't how to distinguish other car's that are in the path,additionally the autopilot has also learnt how to reverse in order to avoid an obstacle if one is present.

In order to train the car you need to run car.py (train) and then drive a few laps.When the car is driving it is essentially capturing images on a frame by frame basis .This was important for our project as it tells us how much training data we have.

Once we have collected enough training data we can run the training algorithm which will run for approximately 50 or so iterations.The training model that we used was able to distinguish the different images on the basis of Pixels in the image.The training time on average is approximately 40 minutes or so.

Some Key points we learnt

  • Collect an average of 50,000 Images for optimal results
  • Drive the car on the training track for approximately 25 minutes
  • Manually filter out bad training data for optimal results
  • Conclusion and observations

    Images CollectedTraining TimeIterations CompletedModel Accuracy
    2000039 min25/10025%
    4000044 min43/10045%
    5000055 min65/10079%

    On an average about 50000 images produced the best results.and therefore based on our leanings I would recommend collecting at-least 50000 images to get the best results.

    Note : The technique used for Training a model is called perceptron algorithm,i'll do another post to show you guys how it works.

    Here you can gain access to the code
    Below is how you would run the training scripts if you were to do it on you're own.
    Usage:
    car.py (drive) [--model=]
    car.py (train) (--tub=) (--model=)
    car.py (calibrate)


    ▶️ DTube
    ▶️ IPFS

    Leave MIT Race Car Project Autopilot Test to:

    Written by

    Programmer, Developer ,Computer Scientist

    Read more #steemstem posts


    Best Posts From ajkapss

    We have not curated any of ajkapss's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

    More Posts From ajkapss