GithubHelp home page GithubHelp logo

trajectory's Introduction

trajectory

trajectory generation via parametric optimal control

#function of different parts test_case.py: generate a set of final state values using curvature function

trajectory.py: initial a set of curvature parameters supposing a parabolic model, then fine-tune the initial parameters to get the trajectory

plot.py: plot and compare the trajectories of accurate parameters and calculated parameters or just plot an single calculated trajectory

main.py: interface of the algorithm

#some tricky part

  1. the integration among sin, cos function uses Simpson's rule

  2. gradient shooting method works only in fine-tune period

  3. Initial the parameters via:

    s = s = d * (theta_f ** 2 / 5 + 1) + 2 * abs(theta_f) / 5

    b = 6 * theta_f / (s ** 2) - 2 * k_0 / s + 4 * k_f / s

    c = 3 * (k_0 + k_f) / (s ** 2) + 6 * theta_f / (s ** 3)

    d = 0

  4. changes of parameters need to be scaled down to preserve the stability

    current scalability factor is (# of iteration) / 5

  5. due to the effect of scalability, the number of epics need to increase from 3 to 5

    which leads to less efficiency.

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.