Comments (3)
Hmmm. I must confess I'm not that up to date with our code base to answer your question. And I'm currently on vacation so I don't have the hardware in front of me.
But. I can share with you the code that is running on our Orion board.
https://github.com/tiigbg/telepresence-motorcontrol/blob/master/motorcontrol/motorcontrol.ino
Our robot has mecanum wheels, and we have some code on the orion to make the robot able to strafe.
The orion code receives commands from a computer over serial. This command consists of a rotation speed, direction and movement speed. The Orion code then calculates the proper speeds for the four motors according to the algoritm/equations found in this paper: http://eprints.utem.edu.my/16543/1/Omni%20Directional%20Control%20Algorithm%20For%20Mecanum%20Wheel%2024%20Pages.pdf
Here is a link to the node program that sends the serial commands to the orion board:
https://github.com/Dealerpriest/websocket-to-serial/blob/master/websocket-serial-server.js
I'm aware that this might be a lot to dig through, but as of now I can't provide that much more help.
A thought I had is that I see that your code calls setMode(1). In our code we never call setMode() i think. Maybe that could be an issue, even though I right now wouldn't know how.
from me-high-power-motorboard-firmware.
Thanks mate,
I managed to make it work getting rid of the PID because we didn't really need it for our application.
Thanks so much about your help, our robot is now way less noisy and annoying which is awesome!
from me-high-power-motorboard-firmware.
Nice!
We should document the firmware better. I hope to find some time after vacation to do that!
from me-high-power-motorboard-firmware.
Related Issues (2)
- Firmware not uploading HOT 2
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 me-high-power-motorboard-firmware.