|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Autonomous does not run during first enable
ours does something similar to this. The problem is that the autonomous runs too many things at once which slows it down the first time. AKA do you have multiple while loops acting independently? Thats what our problem is we have a PID loop and a drive loop. The PID loop delays the drive loop a couple seconds then it runs. So everything works but it just takes a couple seconds extra.
NOW FOR YOUR ANSWER IF IT DOESNT WORK SORRY Preface- If you have a working one DONT TOUCH THE OLD ONE TILL OFFSEASON 1 Run your robot in Autonomous mode (if your not already). And after about a minute or 2 it should execute something (if nothing happens go no further) 2 If something happens remove/combine some of your while loops. 3 Profit |
|
#2
|
|||
|
|||
|
Re: Autonomous does not run during first enable
If your autonomous loops are taxing the CPU too much, it is likely because one or more of them is running full speed, with no sleep function in it. This is very easy to spot and very easy to fix. Come by the NI booth or ask the CSE folks if you need assistance.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|