Apache License 2.0

项目介绍

mithi/hexapod-irl 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 Apache License 2.0 许可证,目前获得 82 个 Star、9 次 Fork。

仓库全名
mithi/hexapod-irl
开源许可证
Apache License 2.0
Star 数
82
Fork 数
9
未关闭 Issue
2

README 摘要

This is a "fork" of the original Bare-Minimum Hexapod Robot Simulator 2 that is modified to be able to control a real physical hexapod robot, among other things. Note: This uses the hexapod-kinematics-library for computations, replacing previous src/hexapod. 🚧 Work In Progress 🚧 ❗❗🚜 🚧 👷 🏗️ (Underconstruction, use at your own risk! ) ❗❗🚜 🚧 👷 🏗️ Updates v0.2.0 - Replace PubNub with SocketIO. Based on my…

完整内容见 GitHub 原始 README 或本页 。

常见问题

hexapod-irl 用什么语言开发?

主要使用 JavaScript 编写,采用 Apache License 2.0 许可证,目前有 82 个 Star。

hexapod-irl 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 hexapod-irl 的源码?

可以直接克隆仓库:git clone https://github.com/mithi/hexapod-irl.git;安装与运行步骤见仓库 README。

hexapod-irl 最近还在维护吗?

仓库最近一次更新为 2021年1月11日,当前有 2 个未关闭 Issue;Star 数为 82,可作为社区活跃度的参考。

关于

A "fork" of Bare-Minimum Hexapod Robot Simulator 2 modified to be able to control a real physical hexapod robot.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
182
价值分
60
活跃状态
活跃

README

Mithi’s Hexapod IRL buy me coffee

drawing

This is a “fork” of the original Bare-Minimum Hexapod Robot Simulator 2 that is modified to be able to control a real physical hexapod robot, among other things. Note: This uses the hexapod-kinematics-library for computations, replacing previous src/hexapod.

drawing

🚧 Work In Progress 🚧

❗❗🚜 🚧 👷 🏗️ (Underconstruction, use at your own risk! ) ❗❗🚜 🚧 👷 🏗️

Updates

  • v0.2.0 - Replace PubNub with SocketIO. Based on my experiments, PubNub batches messages and isn’t “inrealtime” enough. Using SocketIO, the jankiness is significantly reduced.
  • v0.1.0 - Use PubNub to send commands. Janky.

How to Use (v0.0.2)

  1. Never built a hexapod robot before? The mithi/hexy repository is a great place to start! Includes the BOM!

  2. Build your hexapod robot with an Arduino-compatible / Johnny-five compatible board. I personally used an Adafruit Metro Mini 328. Don’t forget to flash your board with the recommended standard firmata flavor (see also: Johnny Five Wiki: Getting Started)

  3. Update your servo config in ./src/_SERVO_CONFIG.js. The Johnny Five documentation, Servo API page is your friend!

  4. I personally use two pwm pins of my board and one PCA9685 to drive my eighteen mg996r servos. If you do the same, make sure you hook it up properly!

  5. Inspect and modify the variables in ./src/_VAR_CONFIG.js as needed.

  6. This is how the angle of each servo is transformed (function) based on my specific physical hexapod robot configuration. Modify this to suit your needs.

  7. This is the bare minimum node script that will talk to your Arduino and the front-end web app / user interface. Modify this to suit your needs.

  8. Open two terminal tabs and run the following:

$ npm install

# on one terminal tab, this builds and serves the react app
$ npm run prod:client

# on another terminal tab, this runs the johnny-five script
$ npm run run:server

Enjoy!

评论

暂无评论