Go to Post To me game hints are like robot teasers. Much ado about nothing and I ignore both. - Koko Ed [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 10-12-2011, 11:50
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
keyboard in cRio project

last year, our programmer, who graduated, programmed the robot to disable if the spacebar is pressed (someone broke the stop button). I know that you can't use keyboard inputs, so how did he do this?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-12-2011, 12:20
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: keyboard in cRio project

He didn't program it. It's built into the driver station.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-12-2011, 16:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: keyboard in cRio project

The 2010 and 2011 Driver Station software accepted the F1 key to enable the robot and the space bar to disable. Control-Alt-Enter was what the USB Stop button produced, and it was recognized as the Emergency Stop command.

For 2012, the USB Stop button is no longer used with the Driver Station, and the space bar will do the Emergency Stop. The Enter key takes its place as the disable command. It takes a little training to remember not to press the space bar to disable the robot.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-12-2011, 17:10
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: keyboard in cRio project

Quote:
Originally Posted by Alan Anderson View Post
For 2012, the USB Stop button is no longer used with the Driver Station, and the space bar will do the Emergency Stop. The Enter key takes its place as the disable command. It takes a little training to remember not to press the space bar to disable the robot.
That's good to know, thanks for mentioning that. For some reason, I feel we'd miss that bit of information and spend way more time that I'd like re-discovering the correct keyboard shortcuts.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #5   Spotlight this post!  
Unread 12-12-2011, 07:16
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: keyboard in cRio project

oh ok. That helps a lot. So there is no way to have it recognize other keypresses, right?
Reply With Quote
  #6   Spotlight this post!  
Unread 12-12-2011, 08:32
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,752
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: keyboard in cRio project

At this point, the driver station doesn't do anything with the keyboard except for the three keys mentioned:
F1 enumerates the joysticks again and tries to enable the robot
Space estops the robot, older versions disabled
Enter disables the robot, older versions did nothing

If you wish to use other keys, you can do it with the dashboard, and have the dashboard send messages to the robot. What is it you had in mind? Is it easier or better to do this with a game controller or joystick?

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 13-12-2011, 07:07
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: keyboard in cRio project

well there is nothing in mind specifically, i was just wondering in case it came up somewhere, so i had the knowledge about it. there is something that i could use it for possibly now that i think about it. How would you put it into dashboard? is it the same as a standard vi?
Reply With Quote
  #8   Spotlight this post!  
Unread 13-12-2011, 09:45
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: keyboard in cRio project

See FRCMastery.com on Dashboard Customization

http://www.frcmastery.com/labview-fo...customization/
__________________
Omar
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 20:48.

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