Giter Club home page Giter Club logo

autopylot's Issues

Load and Save data

Load and save images using opencv (cv2)

  • one function to load images using a filename
  • one function to save the image using a filename
  • one function to load .json files
  • one function to save .json files
  • functions that combine both
  • create tests for those functions

T-shirt Autonomobile

Price per T-shirt : 20โ‚ฌ (logo Autonomobile + Texte)
If you are okay, I need a better quality logo

speed sensor

Had a minor issue with the serial port / arduino for the speed, acted weird with high speed loops as if the serial port was flooded even if I think the limit is pretty far. Will investigate why this happens (shouldn't cause too much problems as we will only work at 30hz at most).

basic car control loop

Do a basic program to control the car with a controller

using controller buttons values:

  • determine when we should drive
  • determine when we should record images

Data augmentation functions

We will later on have a class that will be responsible for feeding data into the model during the training.

We could just feed the raw images, but we won't stop here.
The idea is to have some functions that will modify the images and annotations to increase the accuracy of the model.

Here are some function ideas (higher is highest priority):

  • image / annotation flip : flipping images and steering (and maybe some other values that can be mirrored)
  • random noise : add some noise to the image.
  • random brightness : change the brightness of the image.
  • random shadows : change the brightness of a region on the image.
  • color shift : maybe vary a bit the colors on the image.
  • simulate a car in front : add a randomly placed image of back of cars on the image (maybe also offset the steering to be able to overtake). The size of the car will also vary.

Add Settings to autopylot

I think autopylot is lacking of some basic but important settings:
for instance i would like to have a CONST_SPEED: true|false which will describe if the model has to take speed from prediction or from a constant value.
This constant value may be store in another parameter of type float MAX_SPEED which will contain the maxim speed the car can approach. in the case CONST_SPEED is false, MAX_SPEED is the actual speed of the car

Create you own model

  1. Create your own CNN model for the car.

  2. Trainning it with the same datas.

  3. Then competing in the most intense of competitions.

Data handling

I will start by creating classes to fetch images from cameras

Data visualization

This should be quite quick to do but is important for the first presentation.
We will use opencv functions to draw/visualize different data on the image for instance steering, throttle and speed.

  • make a function to vis every kind of data
  • make a function to vis multiples data inputs for instance Ground Truth vs Prediction of the model.

Robocar S12

new set of rules including:

  • cone avoidance: test data augm approach / object detection and simple policy
  • car avoidance: same as cone avoidance
  • manual throttle control (just need to add this feature)

Would also like to experiment with lane detections & online trajectory planning

First presentation !

As you all know, the first presentation is coming pretty fast !
So I will try to anticipate the big midterm rush by starting to think about it right now.

Here is what we need to do according to the file we were given:
image

  • I think it would be great to prepare individually what you all did since the beginning, you will have to present those.

  • Also, I think it would be great to have a visual representation of the project: big labelled boxes that are linked to represent every part of the code (Classes and important functions)

Datagenerator

datagenerator class to load data during the training of the model

Settings class

Have a way to store values and fetch them when needed.
For performance issues, we won't use a dict but rather a class (obviously we won't add settings on the go).

Needs:

  • Defaults values
  • A way to generate a json file from those default values
  • A way to load values from a json file (for exemple at startup)
  • A way to change those values using a string (kind of like you would do with a dict but in a class)

Dataset class

Create a dataset class to load and save folders of data, we will consider one folder to be a dataset.
We will have to develop:

  • a load dataset function
  • a load multiple dataset function (taking in input multiples paths)
  • every load functions but with sorted data
  • every load functions but with sequences of sorted data

quick reminder: the images will have in its name the date (fetch the date using the time.time() function) followed by .png, the json should have the same name but should end with .json instead of .png

You will need to use the glob.glob() function to fetch the path of every json path in the folder

Car Hardware

Just adding the schematics we did using Tinkercad

Complete the telemetry server

We need some widgets to add to the server.
Feel free to provide ideas. We need to present data in a usefull way.
Here are some example :

  • Speed indicator
  • Speed History
  • Live view
  • Controls to remote control the car
  • notifications center
  • etc ...

Issue with image types coming from sim / webcam

Need to investigate the difference between data coming from simulator and webcam (one is np.uint8 and the other np.float64), will need to make both have the same type to avoid any future issues

Completing project report

Everybody has to write min 2 (in project report part 2 / realized tasks) pages about what he did since January

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.