Coder Social home page Coder Social logo

lulyany / hexapod-robot-simulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mithi/hexapod-robot-simulator

0.0 0.0 0.0 2.32 MB

A hexapod robot simulator built from first principles

Home Page: https://hexapod-robot-simulator.herokuapp.com

License: MIT License

Python 84.38% CSS 15.33% Shell 0.30%

hexapod-robot-simulator's Introduction

Build Status codecov Code Climate HitCount License: MIT Code style: black PRs welcome! first-timers-only

Mithi's Hexapod Robot Simulator

Twisting turning and tilting Adjusting camera view

Announcement

You might be interested in checking out my rewrite in Javascript, live at: https://hexapod.netlify.app/ , which is like 10000000x faster. If you'd like to build you're own user interface with Node, you can download the algorithm alone as a package in the npm registry: Hexapod Kinematics Library. There is also a "fork" modified where you can use the app to control a physical hexapod robot as you can see in the gif below.

drawing

Features

STATUS FEATURE DESCRIPTION
๐ŸŽ‰ Forward Kinematics Given the angles of each joint, what does the robot look like?
๐ŸŽ‰ Inverse Kinematics What are the angles of each joint to make the robot look the way I want? Is it even possible? Why or why not?
๐ŸŽ‰ Uniform Movements If all of the legs behaved the same way, how will the hexapod robot as a whole behave?
๐ŸŽ‰ Customizability Set the dimensions and shape of the robot's body and legs. (6 parameters)
๐ŸŽ‰ Usability Control the camera view, pan, tilt, zoom, whatever.
๐ŸŽ‰ Simplicity Minimal dependencies. Depends solely on Numpy for calculations. Uses only Plotly Dash for plotting, Dash can be safely replaced if a better 3d plotting library is available.
โ— Stability Check (WIP) If we pose the robot in a particular way, will it fall over?
โ— Fast Okay, it's not as fast as I wanted, but when run locally, it's okay
โ— Bug-free Fine, right now there's still room for improvement
โ— Well-tested Yeah, I need to compile test cases first

Preview

image image
image image

Requirements

  • Python 3.8.1
  • Plotly Dash 1.18.1
  • Plotly Dash Daq 0.5.0
  • Numpy 1.19.5
  • See also ./requirements.txt

Run

$ python index.py
Running on http://127.0.0.1:8050/

Screenshots

Kinematics
IK

More Information

Check the Wiki for more additional information

๐Ÿค— Contributors

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.