Go to Post FIRST is all about working with others. - briholton [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2016, 18:30
maxnz's Avatar
maxnz maxnz is offline
Registered User
AKA: Max Narvaez
FRC #2855 (BEASTBot)
Team Role: Student
 
Join Date: Jan 2016
Rookie Year: 2016
Location: St. Paul, MN
Posts: 249
maxnz is a glorious beacon of lightmaxnz is a glorious beacon of lightmaxnz is a glorious beacon of lightmaxnz is a glorious beacon of lightmaxnz is a glorious beacon of lightmaxnz is a glorious beacon of light
How to add an option of multiple autos to the driver station

My team is hoping to do at least 2 different autos, one where we reach the defense and one where we cross the defense. What we're wondering is how we program the buttons into the driver station so we can choose between them before auto starts. We have two programming teams, labview and Java, so if we could learn how to do it in both languages, that would be great.

(We're new to Java this year so we have a backup option of labview in case Java doesn't work)
  #2   Spotlight this post!  
Unread 09-02-2016, 21:40
nollchr nollchr is offline
Registered User
FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Glastonbury, CT
Posts: 28
nollchr is an unknown quantity at this point
Re: How to add an option of multiple autos to the driver station

This should help you get started: https://wpilib.screenstepslive.com/s...smartdashboard
  #3   Spotlight this post!  
Unread 10-02-2016, 10:05
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,751
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: How to add an option of multiple autos to the driver station

The default/LV dashboard now has a combo-box selector on the front page. It will be filled with strings from a variable called /SmartDashboard/Auto List. The selected choice will available on the robot in a variable named /SmartDashboard/Auto Selector.

The default LV template code switches on this variable in auto, but it can be used in combination with other Basic controls and custom controls.

Greg McKaskle
Closed Thread


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 00:37.

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