Giter VIP home page Giter VIP logo

basebot's People

Contributors

katzuv avatar liorbarkai58 avatar orel-david avatar pauloalbert avatar

Watchers

 avatar  avatar

Forkers

msmow adamv17

basebot's Issues

Refactor method names and variable names to be consistent and more self explanitory

examples:

Update list of parameters

Pure Pursuit

Max velocity
Velocity K
Max accelration
Lookahed distance

Smoothing
Weight data
Weight smooth
Tolerance

Controller
kV = 1 / Max velocity
kA = 0.002
kP = 0.01

Find a more accurate way to stop at the last point.

While stopping using pure pursuit is pretty consistent, it isnt a calculated method like last year.
Here is the explanation from the article:

Our controller stops when the closest point to the robot is the last point in the path. Because our points are spaced 6” apart, this means the robot stops about 3” from the end of the path. This stopping behavior has worked well for us because it means the inertia of the robot carries it to our end point, instead of past it. The pure pursuit controller is consistent enough that it’s easy to adjust the path if it’s not stopping in the exact place you want.

Now compare this to the PID method, that ensures it accurately reaches the final setpoint.
Maybe we could even have a hybrid between pure pursuit, and when it reaches the end of the path, to use pid.

Create a 'generateAll' method

Instead of having to write all five generate methods one after another, we should create a method that does it all for us, in the right order.

Fix starting point

  • Move start point coordinates into constants
  • Add start point coordinates to parameters list

Implement changes in 'fix-path-class' into all branches

split each branch into a fix-branch and fix all problems when using getWaypoint() and Vector.add() in the code.

  • you could simply do this by removing each respective method, seeing where errors are caused and checking each case where that method is called.

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.