Giter Site home page Giter Site logo

Comments (4)

polzounov avatar polzounov commented on June 11, 2024

Hi!
It seems that we used the wrong equations to derive the simulator so it currently can not be relied on, I actually removed it on the dev branch but have not updated the master branch yet.

Due to problems with getting the simulator to work, we set it aside temporarily, but we can work on it a bit more if it's needed/valuable for users.

Also we are happy to take pull requests if you think you would be able/willing 😃

Cheers

from quanser-openai-driver.

zuzuba avatar zuzuba commented on June 11, 2024

Hi!
Thanks for your quick reply.
I am doing experiments on learning controllers and, in that context, the simulator is a much faster tool to test new ideas before moving to time-consuming experiments on hardware. Therefore, for my work, it would be valuable to have a trustworthy simulator.

I am happy to contribute by helping to fix the current one. Down the road, it would be nice to have also simulations with process and measurement noise that can be turned off and on with a flag but, as a start, I think that a simple deterministic simulator would do the job.

May I ask you how you derived the equations for the dynamics in the simulator? Have you tested them against those provided in the Quanser manual? Do you have an idea of where they may be failing (dynamics of theta_dot_dot, alpha_dot_dot or system parameters)?

Thanks a lot for your help.

Cheers

from quanser-openai-driver.

polzounov avatar polzounov commented on June 11, 2024

I originally used the Quanser Qube Servo2-USB workbook to derive the state space equations and another member of my team use the Quanser Rotary pendulum workbook.
It turns out that the two workbooks had different equations, so either one or both of them are wrong.

Then we found this paper

There is also some code trying to derive the equations in this repo, but it seems I likely made a mistake somewhere in the derivations.

I also tried to get a mujoco simulator working for myself in this repo; the dynamics here seem realistic, but they don't match the Qube

Let me know if there's any material you would like for me to send you (workbooks, papers, or code).

Cheers

from quanser-openai-driver.

polzounov avatar polzounov commented on June 11, 2024

Hi @zuzuba,

We have a working simulator now.
Just pass use_simulator=True when creating the environment.

You can look at this notebook to see how the dynamics of the simulator match up to the hardware

Please let us know if this is helpful!

Cheers

from quanser-openai-driver.

Related Issues (5)

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.