4WD Mecanum Wheel Beginner Mobile Robot Kit rb-kkr-03 sample code

Hi!

I require your help regarding a problem I’m encountering.

I bought https://www.robotshop.com/en/4wd-mecanum-wheel-beginner-mobile-robot-kit.html robot kit. I’m trying to find a sample code for the robot, I can’t seems to find any. I was thinking to use the example for https://www.robotshop.com/en/4wd-arduino-compatible-mecanum-robot.html but the robot the I got comes with an Arduino Due and the code doesn’t compile on Arduino Due. Is there any sample code that I can use to tinker with?

Thank you so much in advance for your help!

Basic Mecanum drive is fairly straightforward. Although this code doesn’t make use of encoders, it’s fairly complete. You need to check which pins are used for what.


Specifically: https://www.robotshop.com/media/files/zip2/rb-rbo-96_-_mecanum_wasd_keyboard_control.zip
You should be able to follow the code itself to understand how to customize it.