All Projects → EmbersArc → Gym Rocketlander

EmbersArc / Gym Rocketlander

Licence: mit
A SpaceX Rocket Lander environment for OpenAI gym using Box2D

Programming Languages

python
139335 projects - #7 most used programming language

GIF

Click here for higher quality video

The objective of this environment is to land a rocket on a ship. The environment is highly customizable and takes discrete or continuous inputs.

Installation

cd gym-rocketlander
pip install -e .

Usage

Once the has been installed, it can be used like any other Gym environment:

env = gym.make("gym_rocketlander:rocketlander-v0")

STATE VARIABLES

The state consists of the following variables:

  • x position
  • y position
  • angle
  • first leg ground contact indicator
  • second leg ground contact indicator
  • throttle
  • engine gimbal

If VEL_STATE is set to true, the velocities are included:

  • x velocity
  • y velocity
  • angular velocity

CONTROL INPUTS

Discrete control inputs are:

  • gimbal left
  • gimbal right
  • throttle up
  • throttle down
  • use first control thruster
  • use second control thruster
  • no action

Continuous control inputs are:

  • gimbal (left/right)
  • throttle (up/down)
  • control thruster (left/right)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].