billtubbs / gym-cartpole-bt-v0 Goto Github PK
View Code? Open in Web Editor NEWA modified version of the cart-pole OpenAI Gym environment for testing different control policies
A modified version of the cart-pole OpenAI Gym environment for testing different control policies
Pendulum angle (theta) is the reverse of how it is defined in CartPole-v1. In CartPole-v1, theta = 0 is the pendulum in the vertical-up position which make sense, whereas here theta = 0 is the pendulum in the vertical-down (stable) position.
Consider changing it for consistency.
(This will also affect how we deal with angle wrap-around and the calculation of rewards).
I.e.
d(k) = C(z)/D(z)e(k)
where C(z) and D(z) are polynomials that can be specified and e(k) is the current random disturbance variable added to the angle state.
x3(k) = x3(k) + d(k)
At the moment, you should use the following command to run the unit tests:
python -m unittest test/test_cartpole_bt_env.py
If you run the usual
python -m unittest
It also runs the scripts that start with 'test_'
!
In this variant, the pendulum would start in the down position and the goal is to swing it up to the vertical up position. To make this even more challenging the weight of the pendulum could be adjusted so that multiple swings are needed to generate enough energy in the system for the final swing-up.
This will be good for testing observers. Propose to use the labels '-mL'
and '-mH'
for this (low and high measurement noise).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.