FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Autonomous doesn't work in startup application

Using the basic robot program. We were able to get the sample autonomous to deploy and run in real time by adding a two motor drive VI and PMW 1 &2 constants, but when we save the Robot main.VI as a startup application and set it to run as startup, the autonomous does not work.  The drivers station is set to auto and it is enabled.The teleop portion of the Startup application works fine.  Any sugestions?

0 Kudos
Message 1 of 3
(5,504 Views)

What code do you have in the autonomous mode?  I spoke with a team who had deleted all the watchdog feeding and was seeing the system quit as soon as it entered autonomous mode.  Do you have code for feeding the user watchdog?

Ben

National Instruments
Certified LabVIEW Associate Developer
Certified TestStand Developer
0 Kudos
Message 2 of 3
(2,630 Views)

We missed in the documentation that we needed to run autonomous from the robot main.vi, since the 2 motor drive .vi is in the robot def then the only way we could run the autonomous independant.vi - independantly, was to add the 2 motor drive.vi , It is our thought that when we built the application using the robot main as the startup, the 2 /vi's were in confilict and neither 2 motor drive .vi worked.  We have since done all our autonomous testing by running the robot main and the applications work. On to the next challenge...

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