|
Re: Can't get code running
I'd love to post my code if I could-- but the thing is, I can't access this site on any computer at our build location because they block all forums on their networks, (I was typing the first post out on my phone) and now that I'm at home I don't have a copy of the code with me. I'm 90% sure that the code itself is not the origin of the issue, however, since at one point I went so far as to revert to the basic drive.tankDrive(leftStick, rightStick) but with no change in the condition, and I'm certain that the RobotDrive is instantiated with the proper values for the motor channels.
We're getting communications from the joysticks alright, they light up green on the dashboard and then blue when buttons are pressed down. That was the first thing that I checked.
I also don't think that the motors could "work against each other", since we're using independent wheel mecanum drive.
That pretty much leaves the wiring. I never thought to look in the robot, since I pretty much assumed that the electrical team had done their job correctly. I seem to recall the Jags blinking yellow when the robot was on, so at least they were plugged in. I presume that green means that they're on and receiving a signal to move, correct?
Regardless, that'll be the first thing I check on when I go back tomorrow.
|