Git Product home page Git Product logo

Comments (3)

gunhaxxor avatar gunhaxxor commented on June 29, 2024

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.

streakerau avatar streakerau commented on June 29, 2024

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.

gunhaxxor avatar gunhaxxor commented on June 29, 2024

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)

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.