Giter Club home page Giter Club logo

driverless's People

Contributors

alex21347 avatar bluej1 avatar dstruiksma avatar energycz avatar hxmd01 avatar janrob23 avatar justin157 avatar khashayar-bo avatar michaltesnar avatar nhargittai avatar peter-varga08 avatar remcoan avatar scinii avatar thijses avatar yasmindg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

driverless's Issues

Sim crashes when multiple targets are passed within a single iteration of the while loop

This is because it causes a mismatch between the length of the non_passed_targets list and the non_passed_dists list. If the two lists differ in length, the code attempts to find the argmin of an empty list and the code breaks.

Will try added a clause to the for loop (where the argmin occurs) such that a prerequisite condition to continue is the two lists have the same length.

Or It might be better to simply add an if statement where if the length of the first list = 0, it manually empties out the other list.

Bug with computing alpha (angle to cone)

When beta (raw angle to cone) is in (0,90) and the car angle is in (-90,-180), the alpha computed is incorrect and the car drives off

this also happens when beta is in (0,-90) and the car angle is in (90,180) .

Tempted to just fix with an if-then statement but it will be less efficient than doing it properly

In track mode, car will sometimes aim for previous target after lap

once all targets are passed, in track mode the first 'lap' is complete and all targets are set to 'unpassed'. Therefore if the target behind the car is closest the car will aim for that one, which is clearly the wrong choice.

possible fixes:
-include the direction of the targets when choosing next target.
-have the previous cones not change to unpassed after lap (doubtful about this method)

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.