Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code Sample for Holonomic Drive (HO15 drive)
#7
Code has been updated - http://www.rebeldroids.net/gallery/thumb...p?album=21

I'd been using a Leonardo with Serial1 to talk to the motor controllers and Serial for debug to the computer.  That won't work with Uno's though, so I've added a folder with an Uno version.

[Image: thumb_Sentry_Brain.jpg]
Arduino code for 4-wheel holonomic drive and 5 LED WS2811 lights

Additionally, I added a little bit of debug stuff:
* Set debug=false to turn the test debug stuff off.
* On start it rotates each wheel in turn for 1/4 second
* Then does it the opposite direction
* Then repeats (you may want to make the loop do it fewer times if you leave the test in)
* Turns on or off the onboard LED if the rotate R/C input is moved right or left.
Reply


Messages In This Thread
RE: Code Sample for Holonomic Drive (HO15 drive) - by kresty - 03-09-2018, 11:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)