Go to Post That goal is going to commit suicide by the end of the regional........so many balls @_@... - DanDon [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 03-03-2015, 12:01
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 229
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Keyboard controls for Robot?

Hi! We want to use some arcade buttons that will be recognized by the computer as a keyboard to control things like autonomous programs and LED colors. I was wondering how I would go about getting the keyboard recognized by the driver station so I could send commands through our buttons? Thanks a bunch in advance!

Last edited by team-4480 : 03-03-2015 at 12:09.
  #2   Spotlight this post!  
Unread 03-03-2015, 12:47
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Keyboard controls for Robot?

You could write a custom dashboard that would read the input data from the device, and write the data out via networktables.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
  #3   Spotlight this post!  
Unread 03-03-2015, 12:56
tStano tStano is offline
Registered User
AKA: Sparks
no team
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Madison, WI
Posts: 177
tStano will become famous soon enough
Re: Keyboard controls for Robot?

I'm not sure why you want it to think its a keyboard, but that doesn't sound entirely necessary to me for what you're doing. If it is in fact necessary, ignore my response.

Theres this thing you got in your kit of parts this year called the TI launchpad, its in a little red box. Once you choose a firmware model for it, you can wire your buttons up to it, and it'll act like any other joystick or controller you would plug into your driver station. We haven't got our operator console up and running yet, but we've done some preliminary tests and the thing works great. Its really easy to wire and is recognized by the driver station like any other controller. We haven't tried programming for it yet, but as it behaves just like a Joystick, I'm almost certain it will be easy. Make sure you use 3.3v for all input devices(switches, buttons, pots) or the board makes smoke and you blow out a channel.

http://processors.wiki.ti.com/index....cs_Competition
  #4   Spotlight this post!  
Unread 03-03-2015, 13:13
team-4480's Avatar
team-4480 team-4480 is offline
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 229
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: Keyboard controls for Robot?

Quote:
Originally Posted by tStano View Post
I'm not sure why you want it to think its a keyboard, but that doesn't sound entirely necessary to me for what you're doing. If it is in fact necessary, ignore my response.

Theres this thing you got in your kit of parts this year called the TI launchpad, its in a little red box. Once you choose a firmware model for it, you can wire your buttons up to it, and it'll act like any other joystick or controller you would plug into your driver station. We haven't got our operator console up and running yet, but we've done some preliminary tests and the thing works great. Its really easy to wire and is recognized by the driver station like any other controller. We haven't tried programming for it yet, but as it behaves just like a Joystick, I'm almost certain it will be easy. Make sure you use 3.3v for all input devices(switches, buttons, pots) or the board makes smoke and you blow out a channel.

http://processors.wiki.ti.com/index....cs_Competition
That is exactly what I was looking for! Thanks so much!
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 21:17.

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