
07-02-2016, 15:23
|
 |
 |
Technical Director
AKA: Gus Michel II
 FRC #3946 (Tiger Robotics)
Team Role: Mentor
|
|
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,679
|
|
|
Re: Programming or Electrical Issue?
Follow the signal all the way from joystick to motion - you could have issues at any step. Here are a few things to try: - Watch the diagnositcs on the motor controller. Are they in neutral or drive forward or reverse? (I'm not familiar with the Victors' colors; we haven't used them since I got involved.) If the lights show the right answer, it's somewhere between the controller and the wheel. If they don't, it's somewhere on the user/rio side of the controller (or in the controller).
- Monitor the input arguments to drive.tankDrive(). If these are bad, check the joysticks, both wiring and programming.
- Try adding commands to individually spin the drive motors, similar to what you're doing with the actuators. This will help verify that the motors are connected to the ports you're expecting.
__________________
If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
|