Code Monkey home page Code Monkey logo

pencil-landing-simulator's People

Contributors

edgorman avatar

Watchers

 avatar

pencil-landing-simulator's Issues

Refactor project

Make the file structure similar in style to URL Analyser

This also includes adding argparse for user input via command line,
and simplifying the environment.yaml file

Add other environments

Using the config file to specify them

Need to decide how this links with the model saving stuff, probably just another folder within 'ppo' like 'earth'

Add water platform environment

Model waves using simple sine wave
Platform angle is the tangent to the wave at a fixed position along wave

Make sure step function reports the angle as relative to angle of agent

Implement game physics

The base environment should control all physics processes

Child environments can add their own processes that affect the forces applied to the agent (e.g. air resistance)

Need to pass in list of entities acting in environment, alongside the forces acting on them
-> This requires a new class of 'entities' that will be rendered, agents/landing platforms/obstacles are subclasses of this
-> Each one should have code dictating how it moves (e.g. platforms are fixed, agents will move)

Refactor environments

Move spaceenv step code to baseenv, rename planetenv to gravityenv and create a new env called dragenv which inherits from gravityenv

Also fix drag calculation

Improve reward system

Currently the agent likes to stay at the top of the screen and fire the engine until it has no fuel

This is likely because we reward a low velocity, but we should only give this reward when close to the goal

Final fixes to environment

Randomly alter the agent starting conditions when environment.reset() is called, including position/velocity/angle.

Make the reward system dependent on the environment config given (e.g. reward for firing engine based on unit distance to pad)

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.