Comments (4)
Hi Peter, I am also at this stage and would love any help from you.
I have already built the hexapod and done most of the wiring (although not sure if it's correct) and am stuck.
I have not had much luck contacting Kris, so if we are able to help each other that would be amazing....
let me know your thoughts.
BTW, I am a product designer but not much of a Software guy. So baby talk, please :)
from insectrobotsimulation.
Hi @Fedefeo, I'd be happy to help. What are you currently stuck on?
from insectrobotsimulation.
@Fedefeo, I spent more time on this and I think that I have an understanding of what @neuroprod was doing here. The remote control reads the values of the joysticks and buttons and sends a series of 19 bytes out over the wire. Here is the protocol that I've been able to reverse from the (mostly) undocumented code:
He's reading the A-to-D values from the joysticks as 16-bit integers which get split in to two bytes when serialized into this protocol.
I've got my build pretty much working now. It's cool to see it move around on my workbench. :)
from insectrobotsimulation.
Sorry for the late reply, but yes, @peterfelts is correct, i send the 16 bit analog input in 2 bytes, (check the anloginput.h)
so the remote just sends raw data of its state.
The InsectRobotSimulationApp.cpp sends the motor data (from the computer simulation) but for that to work you need the insectrobotUSB.ino flashed to the robot (this is what i used to test it first, all the IK was running on the computer at this point).
If you use the remote, you need the insectrobot.ino, it gets the joistick data, does his own IK and controles the motors
from insectrobotsimulation.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from insectrobotsimulation.