Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Selecting autonomous through dashboard, help please (http://www.chiefdelphi.com/forums/showthread.php?t=143660)

Thoth_1 11-02-2016 18:33

Selecting autonomous through dashboard, help please
 
Hello, I'm the programmer for my FRC team and we have decided to have multiple autonomouses and would like to be able to select them through the dashboard but I'm not sure how to do this, actually I have no idea so can anyone help me out? (We are using Labview 2016 not sure if it's necessary granted where I'm posting this but I figure more information is better than not enough)

Greg McKaskle 12-02-2016 00:18

Re: Selecting autonomous through dashboard, help please
 
The template has code in Begin to list out the names of the autonomous selections. It has code in the Dashboard to show this list in the Drive tab and to write it to the robot via a NT Variable. In Auto, it will switch on the string that was chosen. That is the provided mechanism, but of course you can do something different if it suits your team.

Greg McKaskle

BDRessler 16-03-2016 05:20

Re: Selecting autonomous through dashboard, help please
 
Note that the mode will need to be set before you power on your robot or the NT Write won't update until the code is restarted.


All times are GMT -5. The time now is 03:49.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi