arex18 / rocket-lander Goto Github PK
View Code? Open in Web Editor NEWSpaceX Falcon 9 Box2D continuous-action simulation with traditional and AI controllers.
SpaceX Falcon 9 Box2D continuous-action simulation with traditional and AI controllers.
When I ran
python main_simulation.py
I'm getting this weird NotImplementedError. Do I need to manually edit the core.py file to implement this?
Here's the error:
gym/gym/__init__.py:22: UserWarning: DEPRECATION WARNING: to improve load times, gym no longer automatically loads gym.spaces. Please run "import gym.spaces" to load gym.spaces on your own. This warning will turn into an error in a future version of gym.
warnings.warn('DEPRECATION WARNING: to improve load times, gym no longer automatically loads gym.spaces. Please run "import gym.spaces" to load gym.spaces on your own. This warning will turn into an error in a future version of gym.')
WARN: gym.spaces.Box autodetected dtype as <class 'numpy.float32'>. Please provide explicit dtype.
Traceback (most recent call last):
File "main_simulation.py", line 19, in <module>
env = RocketLander(settings)
File "/Users/surya/Downloads/rocket-lander/environments/rocketlander.py", line 86, in __init__
self.reset()
File "/Users/surya/Documents/gym/gym/core.py", line 70, in reset
raise NotImplementedError
NotImplementedError
Even when i have installed all your Prerequisites i still get this error.
(base) C:\Users\marte>C:/ProgramData/Anaconda3/python.exe c:/DEV/rocket-lander-master/main_simulation.py ?[33mWARN: gym.spaces.Box autodetected dtype as <class 'numpy.float32'>. Please provide explicit dtype.?[0m Traceback (most recent call last): File "c:/DEV/rocket-lander-master/main_simulation.py", line 20, in <module> s = env.reset() File "c:\dev\openai\gym\gym\core.py", line 70, in reset raise NotImplementedError NotImplementedError
Hi Arex18,
First of all superb work on the implementation of this environment.
I tried to run it with my agent and got the following error.
warnings.warn(_use_error_msg)
-- Observations Box(8,)
-- actionspace [0, 0, 0]
Traceback (most recent call last):
File "C:\Project\Falcon\rocket-lander-master\RocketLander_SMPG_v0.8.py", line 261, in
a = env.action_space.sample()
AttributeError: 'list' object has no attribute 'sample'
[Finished in 4.537s]
Am I right to assume that the Actionspace should be Box(3,)
M
Hey there , my rocket is not moving its just stuck at the top and the cross is at landing site what to do ? hope you will read this
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.