I’m looking to write a program where one joystick controls forward/backwards movement, and one joystick controls turning. We are using a four wheel, four motor drive. Can someone potentially provide some example code or tell me where I could start?
1 Like
using blocks or text?
Using text (20 charrrrr)
1 Like
int drivetrainLeftSideSpeed = Controller1.Axis3.position() + Controller1.Axis1.position();
int drivetrainRightSideSpeed = Controller1.Axis3.position() - Controller1.Axis1.position();
im pretty sure this is it let me know if im wrong
1 Like
Okay, I’ll try it out and see
1 Like
Worked great. Thanks!
1 Like
glad i could help!
wishing the best for you guys
1 Like