View Single Post
  #2   Spotlight this post!  
Unread 20-02-2016, 22:14
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 55
mshafer1 is an unknown quantity at this point
Re: Autonomous is not working!

After loading your code into LabVIEW and seeing that the default case does not reset the motors, but sets them once and waits 10 secs, I suspect the issue is that it is always running the default.
If you are using the run from main method, you could probe the something in that case before running; then - once enabled - see if the probe is updated to confirm this.

The Alternative 2 case should work, with the exception that valid inputs are -1 to 1. So, if the first test shows that the case selector is working, try changing those values and running Alternative 2.

Finally, if you are running from main (i.e. not building and deploying or running as startup), then if there are changes made to the auto code to the point it wants to save the vi (the asterisk appears in the window title), then you will need to stop main and rerun it.
Reply With Quote