Giter VIP home page Giter VIP logo

interactive_rrt's Introduction

インタラクティブに実行して遊べるRRT (Rapidly Random Tree)を作る。 タイムリミットは金曜日。

実装基盤

Pythonで書く。 描画、インタラクションはmatplotlib.

モードを2つ作る。

  1. お絵描きモード。障害物の追加と削除ができる。
  2. 動作モード。アニメーション的にRRTが少しずつ広がっていく。

モード1と2を行ったり来たりする。

RRTなのでノードとエッジで経路は構成される。 ノードを赤、エッジを青(または緑)で表現する。 ただしエッジは線ではなく、ノード間をつなぐドットの連なりとする。 つまりエッジ間のノードを求める処理が必要になる。

障害物は黒色で書く。

描画方法

Matplotlibのpcolormapで描く。

ショートカットキー

e: 全edgeを消す c: 全cellを消す o: 全obstacleを消す n: 全nodeを消す

interactive_rrt's People

Contributors

t4k48n avatar

Watchers

James Cloos avatar  avatar

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.