We were given an old robot, and when we engage it, it automatically engages all the motors. It has a type of omni-wheel set up. Does anyone have any info on these types of drive trains, and how to program them in LabView? Or why it is engaging all motors from the moment of connection? When we move the joystick, it actually SLOWS DOWN and STOPS the motors!
Yes, but it is in a different language that ours (We have LabView, We think they had Java) and we don’t have access to the old code, even though it is on the RoboRio! We are hesitant to start from stitch, we just wanted to try driving this thing (We think it is arcade mode) but maybe we should just code a new arcade drive in Labview and scratch the old code?
Mecanums run all motors except in very specific directions, so I’m going to suggest that you may want to look at joystick trims and then speed controller calibrations. It’s entirely possible that you’ve got something out of trim.
Either that, or somebody’s conversion code isn’t working properly. It should be taking a joystick 127 and setting it to PWM 127, but it sounds like it’s taking a joystick 127, setting it as “speed = 0”, and setting “PWM = speed”… which would slap the motor(s) in question to full reverse or full forwards.