Code Monkey home page Code Monkey logo

rcj_ballmotionsimulator's Introduction

RCJ_BallMotionSimulator

Simulator for turning movement to the ball

rcj_ballmotionsimulator's People

Contributors

ekusiad0723 avatar

Watchers

James Cloos avatar  avatar

rcj_ballmotionsimulator's Issues

ロボットが円形近似で実用性が無い

問題内容

ロボットを円形で近似して回り込みのアルゴリズムを作っているので補足域に入った後の動作に移行させるまでに至らず、実用性が皆無である。

解決策

ロボットに補足域を設けて、極座標方程式で表して近似できるようにする。
ボールに対するロボットの座標と、ロボットに対するボールの座標は点対称で表せることを用いて、
ボールに対する相対座標に、ロボット自体の半径を考慮した侵入できない(しない)エリアを設けることで演算を行っているので、その部分を極座標方程式の輪で表現する。thetaに対してrが二重になってしまった場合には大きい方のrを採用して侵入エリアの演算を行う。

形の近似は連続でない曲線、直線の組み合わせになってしまうので、端店での連続性に注意して設計すること。

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.