View Single Post
  #5   Spotlight this post!  
Unread 21-12-2011, 23:34
Sunstroke Sunstroke is offline
Programmer
AKA: Joe Grinstead
FRC #3504 (Girls of Steel)
Team Role: Mentor
 
Join Date: Apr 2009
Rookie Year: 2009
Location: New England
Posts: 49
Sunstroke is an unknown quantity at this point
Re: Non joystick control?

Quote:
Originally Posted by compwiztobe View Post
Has anyone ever played around enough to see (or just knows) if the driver station/FMS framework could support sending keyboard info/events to the robot, such as by modifying (or writing a new one from scratch) the driver station runtime? I assume that as soon as the driver station software is modified its no longer legal, but just curious.
The new SmartDashboard will support extensions. As long as it does not break any explicit rules (none that I know of), it will be possible to create a custom widget which reads keyboard values and sends it back to the robot using the new NetworkTable protocol. All in all, that means approximately 20 lines of code (besides the boiler-plate class definition), and a few on the robot depending on what control you want.
Reply With Quote