Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyBullet Simulation #264

Open
jorgejc2 opened this issue Oct 19, 2024 · 0 comments
Open

PyBullet Simulation #264

jorgejc2 opened this issue Oct 19, 2024 · 0 comments

Comments

@jorgejc2
Copy link

jorgejc2 commented Oct 19, 2024

PyBullet is a Python library that can be used to help make photorealistic simulations. Though we still want simple plots to see how the dynamics evolve over time, having a photorealistic simulator is very helpful to gain an intuitive understanding of the dynamics and for debugging.

This first step of this task is to take a look at how the inverted pendulum dynamics are defined at this url:
https://github.com/jorgejc2/ISS_Lyapunov_Stable_NN_Controllers/blob/main/neural_lyapunov_training/pendulum.py

After understanding these dynamics, you can try putting them into PyBullet and messing around to see if the model makes sense.

The second step would be a simpler quadrotor case (2D case) and seeing if this works in the simulator as well.
https://github.com/jorgejc2/ISS_Lyapunov_Stable_NN_Controllers/blob/main/neural_lyapunov_training/quadrotor2d.py

The code uses the following resource for writing the dynamics in code:
https://underactuated.mit.edu/acrobot.html#section3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant