View Single Post
  #10   Spotlight this post!  
Unread 15-03-2015, 10:55
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Deploying Code...

Quote:
Originally Posted by TogetherSword8 View Post
Another LabVIEW trick, code in dashboard variables for any variables you have in your code (works out really well for autonomous). This allows you to easily test your autonomous code and modify any values without having to stop and change in your code. Once you hit the right combination, screenshot your dashboard, and go back to your code and replace the dashboard variable receive function with the variable it is supposed to be. This is useful in competition, we were able to fully debug an autonomous in one practice field time in this method, and we ran it 5 times in a row during this same session to make sure it would run consistently on the field.

The running from robot main method works great when you are in your shop, i just get a little wary about possibly forgetting to rebuild and redeploy the code before we go out onto the field.
I've been doing that for a while and had that set up this season, though from it's usage, I found that using time controls with autonomous has proven to be unreliable and will in the future try to use encoders + PID.
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
Reply With Quote