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

This is an example holonomic drive for an HO15 - it "just" adds the appropriate inputs together to get values to drive the wheels.

[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
Code Sample for Holonomic Drive (HO15 drive) - by kresty - 02-06-2018, 02:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)