Go to Post After all, professional engineers know The Right Way To Do It (TM) and if we knew that we'd be deprived of the educational experience of screwing up. - phrontist [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-02-2016, 18:33
Thoth_1 Thoth_1 is offline
Registered User
FRC #2373
 
Join Date: Jan 2016
Location: Oklahoma
Posts: 3
Thoth_1 is an unknown quantity at this point
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)
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2016, 00:18
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #3   Spotlight this post!  
Unread 16-03-2016, 05:20
BDRessler's Avatar
BDRessler BDRessler is offline
Programming Lead
FRC #1828 (BoxerBots)
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2009
Location: Vail
Posts: 6
BDRessler has a spectacular aura aboutBDRessler has a spectacular aura about
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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