X-Drive Help

Our team built an X-Drive base (picture attached). But we have no idea on how to program it. We tried the mecanum drive sample code and that kinda worked. The front is the open side.

 
#pragma config(Motor,  port1,           frontRight,    tmotorVex393_HBridge, openLoop)
#pragma config(Motor,  port2,           backRight,     tmotorVex393_MC29, openLoop)
#pragma config(Motor,  port3,           frontLeft,     tmotorVex393_MC29, openLoop)
#pragma config(Motor,  port4,           backLeft,      tmotorVex393_MC29, openLoop) 


Try this Youtube ! Good luck…

Cody’s tutorial will help get you started.
https://vexforum.com/t/holonomic-drives-2-0-a-video-tutorial-by-cody/27052/1

You may want to look at the structure of the X drive you built before adding the rest of the robot. As you put weight on the robot, those brackets holding your wheels will start to bow out. It works great now, but as you build the rest of the robot, it will probably change for the worse.

Look at 8059D’s gorgeous X drive. Once you get the programming and driving down, you may want to rebuild the chassis. (It is awfully fun to drive X drives so please give yourself enough time to do so)
https://vexforum.com/t/8059d-catapult-hybrid-singapore-vex-2016-edition-reveal/35633/1