View Single Post
  #6   Spotlight this post!  
Unread 12-02-2014, 23:27
Alpha Beta's Avatar
Alpha Beta Alpha Beta is offline
Strategy, Scouting, and LabVIEW
AKA: Mr. Aaron Bailey
FRC #1986 (Team Titanium)
Team Role: Coach
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Lee's Summit, Missouri
Posts: 763
Alpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond reputeAlpha Beta has a reputation beyond repute
Re: Where does autonomous go in Labview

Thank you for providing the code sample. There are several things that jump out at me.

1. I'm not sure how the 1 second wait and the time delay impact each other. I suggest getting rid of all the time delays and just run the wait.

2. To drive forward in tank drive both the Left Axis and Right Axis should be wired.

3. The safety configs are unnecessary. If implemented they need to receive updated information every 100 ms. The 1000 ms wait would make them time out if they were enabled.

4. The red dots indicate a mismatch between the data type of the terminal and constant applied to it. To automatically get the right data type right click on an unwired terminal and select create/constant from the menu.

5. I think the booleans should work for setting the solenoids but if you follow the advice in #4 above you would be selecting off/on from the menu for a single acting solenoid or forward/reverse for a double acting solenoid.

Attached is a simplified version of the code to try.
Attached Thumbnails
Click image for larger version

Name:	Simple Auto.PNG
Views:	61
Size:	12.0 KB
ID:	16216  
__________________
Regional Wins: 2016(KC), 2015(St. Louis, Queen City), 2014(Central Illinois, KC), 2013(Hub City, KC, Oklahoma City), 2012(KC, St. Louis), 2011(Colorado), 2010(North Star)
Regional Chairman's Award: 2014(Central Illinois), 2009(10,000 Lakes)
Engineering Inspiration: 2016(Smoky Mountain), 2012(Kansas City), 2011(Denver)
Dean's List Finalist 2016(Jacob S), 2014(Cameron L), 2013(Jay U), 2012(Laura S), 2011(Dominic A), 2010(Collin R)
Woodie Flowers Finalist 2013 (Aaron Bailey)
Championships: Sub-Division Champion (2016), Finalist (2013, 2010), Semifinalist (2014), Quaterfinalist (2015, 2012, 2011)
Other Official Awards: Gracious Professionalism (2013) Entrepreneurship (2013), Quality (2015, 2015, 2013), Engineering Excellence (Champs 2013, 2012), Website (2011), Industrial Design (Archimedes/Tesla 2016, 2016, 2015, Newton 2014, 2013, 2011), Innovation in Control (2014, Champs 2010, 2010, 2008, 2008), Imagery (2009), Regional Finalist (2016, 2015, 2008)