driverless's People
driverless's Issues
track mode with cubic splines bug
When track mode with cublic splines is attempted, some of the passed targets will become unpassed spuriously.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.