View Single Post
  #9   Spotlight this post!  
Unread 04-03-2015, 14:32
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Re: Labview Programming Computer Features Recommendations

You will still run robot main, but by clicking the white arrow in the top left corner of the front panel of robot main. This now allows you tweak settings on the robot while the code is live. This setup means the robot is connected to your programming laptop and the controls could come from the programming laptop or from the classmate that is connected to the robot. I suggest having the driver station up on the programming laptop and control the robot from there. In the driver station there are multiple modes that it can be in. The ones you want to use for auto is the autonomous mode and practice mode. Now by default the robot should be disabled and when you click on one of the two modes, make sure the robot is setup the way you want it to and have whatever you need to look at up. When you feel comfortable, click enable and the robot will execute its autonomous. If the driver station is in auto mode, it will only run autonomous until it reaches the end of your commands, this means it will not stop at a hard time limit. This means if you have a while loop in the code it will continue running until the while loop reaches its conditions. When the driver station is in practice mode it will keep running auto until it reaches the time limit on the driver station. The time can be edited, but remember to set it to the actual competition's time limit for autonomous. Once it finishes autonomous the robot will immediately go into tele-op. That means your joystick/controller will now start controlling the robot. Be very aware where are your controls or else you might accidentally control the robot when you didn't mean to. It's highly recommended that when you are about to tweak the code, disable the robot. During the entire time you are testing you can edit the values, but I recommend to do it after testing your values first. When you are done with testing, be sure to disable the robot and click the finish button on the front panel on robot main to stop the robot from running the code. When you think the values are correct, save your values and if the values are controls and are always constant, I recommend to make the values default. This can be found on the front panel from the vi where your values are located. Click edit and click "Make Current Values Default". This should keep the values the same when you deploy it to the robot.
__________________
VEX & FRC Student Team Member #357 Royal Assault 2010-2014 "Dare Mighty Things"
2014-2019 Attending Drexel University Major:Electrical Enginnering
Reply With Quote