GithubHelp home page GithubHelp logo

python3 test.py err about pydiffgame HOT 5 CLOSED

krichelj avatar krichelj commented on July 17, 2024
python3 test.py err

from pydiffgame.

Comments (5)

krichelj avatar krichelj commented on July 17, 2024

Thank you for your comment about line 172 - fixed in the latest commit.
About the theory being the model presented - a basic intro is presented in the readme files,
I suggest reading it.

About pursuit/evasion scenarios as you mentioned - I'm not sure we currently support these cases.
Can you be more specific?

from pydiffgame.

zhang261007 avatar zhang261007 commented on July 17, 2024

Thanks for you apply. I.ve read the readme and the math, alse dealling with Riccati equation by hand.
First, just wondering the differential equation form in the Tutorial, as

A = np.array([[-2, 1], [1, 4]]) B = [np.array([[1, 0], [0, 1]]), np.array([[0], [1]]), np.array([[1], [0]])] X0 = np.array([10, 20])

What's the meaning of them in the real world?

What's more, I shouldn't bother you for asking using diff-game in Bicycle Model in car. Should learn more about these two first.
Thanks.

from pydiffgame.

krichelj avatar krichelj commented on July 17, 2024

@zhang261007
PyDiffGame is intended for applying control on linear systems, when the modeling is done using the state space representation.

In general terms, the main concept at hand is the differential equation you mentioned. The matrix A is the system dynamics matrix - it defines the autonomous behavior of the system when no input is fed to it. The matrix B is the input coefficients matrix - it defines the relations between the inputs to the differential model of the system and X0 is the initial vector of the variable X, as we are solving a differential equation and therefore need an initial condition.

Here you can find a relevant Wikipedia entry for further reading:
https://en.wikipedia.org/wiki/State-space_representation#Linear_systems

from pydiffgame.

zhang261007 avatar zhang261007 commented on July 17, 2024

Thanks, and maybe as poor as my expression.
I know the math meaning of these matrix. I just wanna know what model A = np.array([[-2, 1], [1, 4]]) meaning, like pendulum , acrobots,Cart-Poles, or Quadrotors ?
Simple car as dxp=vpcosφp,dyp=vpsinφp. I wanna know the number [[-2, 1], [1, 4]] meaning in the real world.

from pydiffgame.

krichelj avatar krichelj commented on July 17, 2024

@zhang261007
These values are purely experimental and are meant to simulate the package functions.
If you have any actual values you would like to simulate and need any help, please comment further.

Thanks

from pydiffgame.

Related Issues (13)

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.