FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Help troubleshoot motors!

I'm helping a rookie team and we are having trouble making the robot move.

I helped them get their robot moving. I then saw that, for some reason, they had last years robot code they were deploying to the robot. We applied the 2011 FRC update (from the ni website) and after that, the robot wouldn't move. We re-imaged the cRio from their classmate, I can see the joystick getting to the 2 motor arcade drive vi (In teleop) but the robot doesn't move.

The Jaguars have the yellow flashing lights so they are at least getting power. I didn't have my DMM with me so I couldn't tell if power is getting out to the motors.

What can we try to troubleshoot this?

Thanks

"Lockheed" Joe
Testing Blog"
0 Kudos
Message 1 of 3
(3,547 Views)

few ideas:

  • Ensure the joysticks are set to the corrext USB in the Driver Station (should be green, and when clicked it lights up blue). set those accordingly from coding.
  • Sometimes the PWM wires are just not in all the way, press them firmly in. If you enable the robot and the light on the victors/jaguars turns solid then the PWM is successfully coded and connected to the victor/jaguar
  • Try some other codes (the arcade joystick example works great)
  • Open the cRIO imaging tool (does it say the image is 2011?)
  • Also a simple thing to overlook is ensuring the cable that goes from slot 4 of the cRIO to the Digital Side Car is nicely in (try taking it out and blowing it out to remove debri)

Just check these over.

Possibly try providing the code in an attachment.

Davis Catherman

0 Kudos
Message 2 of 3
(2,732 Views)

The joysticks seem to be correct since we can get the joystick output in the teleop vi (We added indicators)

We re-imaged the cRio to the 2011 (which it already was set up but did anyway just to make sure)

I'll have them try the example joystick control. However we did try the example motor control and it did not run the motor (we could see the vi running, just not controlling the motor)

It may be the digital sidecar, i'll probably have them swap the one they are using for the other one they have.

Thanks for the suggestions.

"Lockheed" Joe
Testing Blog"
0 Kudos
Message 3 of 3
(2,732 Views)