|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Drive Motors Don't Run in Auto Indpndt
I've be troubleshooting my code for a couple hours now to no avail. I'm trying to make my drive motors run by using constants wired into a tank drive vi. After the tank drive vi, the is an error wire running to a watchdog delay and feed. I've had motors (not tank drive), limit switches and a relay to work after the motors. The watchdogs that delay the tank drives seem to work because my relay turns on the correct amount of seconds the motors should go for. Any ideas why my tank drive motors won't drive?
|
|
#2
|
|||||
|
|||||
|
Re: Drive Motors Don't Run in Auto Indpndt
If they do drive in Teleop and not in Autonomous the most likely error is with getting the refnum. Make sure that the refnum you set in begin and the one you get in Autonomous are exactly the same, any spaces in the wrong spot will cause it not to work.
|
|
#3
|
|||
|
|||
|
Re: Drive Motors Don't Run in Auto Indpndt
Look at the Diagnostics tab for errors that the auto code may be reporting.
Greg McKaskle |
|
#4
|
|||
|
|||
|
Re: Drive Motors Don't Run in Auto Indpndt
Hey,
Thank you for the quick reply, I'll look at any errors it is reporting and I'll check the refnum name. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to run auto? | Tottanka | Programming | 16 | 01-04-2008 09:54 |
| Motors Don't Run | Windward | Electrical | 11 | 29-01-2007 08:13 |
| Can't get auto mode to run with OI switches | kiettyyyy | Programming | 11 | 15-04-2006 00:05 |
| Auto run | sirbleedsalot | Chit-Chat | 3 | 06-02-2005 00:17 |
| 24v Motors, run on 12v? | Jacob Morgan | Electrical | 26 | 01-01-2004 23:11 |