Go to Post Pro safety tip: put a string through coil springs that is tied off securely on the robot frame. This will help prevent the spring from jumping out and killing an inspector if it snaps. - Ninja_Bait [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 10-01-2012, 22:33
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
Driver Station

I'm sorry, this is a really dumb question but I'm just not sure where to look to get the info. If someone can just give me a basic link I'll do the research.

I'm a new mentor on the team and I'm trying to learn the ins and outs of this without slowing everyone down. Where can I learn about the driver station beyond the rules? I've read the rules, I'm talking more about what we can do. I know the machine is on a network with the robot. I know there is some driver dashboard software but I know nothing about it. I know we get a joystick but what else do we get? Can we add custom controls and where is the line drawn? Can we use an Arduino or other microcontroller if it's doing nothing but interfacing controls with the computer? I don't want to break the rules, but I feel a custom control scheme and HUD could make for better drivers and I know our students could do it. Where do I learn the details of this stuff beyond the rule books? Thanks!

-Mike
  #2   Spotlight this post!  
Unread 10-01-2012, 22:39
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Driver Station

This is FIRST's page on the Driver Station (there may be more, but that is the one I've found). In terms of a custom HID, there is a link on that page to the Cypress I/O Pinout Tables. The Cypress is a module that connects via USB and allows you to wire custom HID circuits and get analog voltages and digital values on the robot.
  #3   Spotlight this post!  
Unread 10-01-2012, 23:21
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Driver Station

Quote:
Originally Posted by mikegrundvig View Post
I know there is some driver dashboard software but I know nothing about it.
The bulk of this software is provided in the Kit of Parts; WindRiver is used for C++, Netbeans for Java, and LabView for, well, LabView. This is the computer's control interface for the robot, and is the only GUI you're allowed to use in competition to control the robot.

Quote:
Originally Posted by mikegrundvig View Post
I know we get a joystick but what else do we get?
What controls you use are purely up to you. Many teams use a dual Attack 3 setup for driving, in conjunction with a separate controls set for the robot's other functions. Others use Xbox joysticks, Logitech Gamepads, twist-axis joysticks, etc - it all depends on the team and the driver.

Quote:
Originally Posted by mikegrundvig View Post
Can we add custom controls and where is the line drawn? Can we use an Arduino or other microcontroller if it's doing nothing but interfacing controls with the computer? I don't want to break the rules, but I feel a custom control scheme and HUD could make for better drivers and I know our students could do it.
At the moment, the Cypress First Touch and CCI (available from E-Stop Robotics) are the most common interfaces used by teams for custom control schemes. There are alternatives - last year, one team used a touch screen interface to hang tubes - but if I'm not mistaken, interfacing with the First Touch and CCI are the simplest for the DS (Driver Station) to deal with.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #4   Spotlight this post!  
Unread 11-01-2012, 00:27
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
Re: Driver Station

Thanks, this is incredibly helpful. I often hear from my team that we are limited in what we can use but then I see other teams doing very different things. For instance, I was told outright we had to use the joystick that came with the kit and nothing else. That seemed very odd to me since I know we created a small keypad one year and even won an award for it.

You mention Netbeans as the UI - that's just a Java editor. Can we simply create whatever UI we want then or does it have to run inside of the Netbeans framework or are we customizing an existing editor using Netbeans as the editing tool? Though if it's that last one, I don't see why Netbeans is the only option as there are many excellent editors.

-Mike
  #5   Spotlight this post!  
Unread 11-01-2012, 00:28
mikegrundvig mikegrundvig is offline
Registered User
FRC #2410 (Metal Mustangs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 100
mikegrundvig is an unknown quantity at this point
Re: Driver Station

BTW: the pinout tables PDF file at that link is a 404. Anyone have another link? Thanks!
  #6   Spotlight this post!  
Unread 11-01-2012, 00:46
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Driver Station

Quote:
Originally Posted by mikegrundvig View Post
BTW: the pinout tables PDF file at that link is a 404. Anyone have another link? Thanks!
Different link is here.

If it is within your budget, I would highly recommend this part from AndyMark. It helps a great deal mapping the pins, and reduces the chance of wires falling out of the breadboard just before a match.
__________________
I'm right 90% of the time, so why worry about the other 3%?

Last edited by Cecil : 11-01-2012 at 00:49.
  #7   Spotlight this post!  
Unread 11-01-2012, 01:55
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Driver Station

Quote:
Originally Posted by slijin View Post
The bulk of this software is provided in the Kit of Parts; WindRiver is used for C++, Netbeans for Java, and LabView for, well, LabView. This is the computer's control interface for the robot, and is the only GUI you're allowed to use in competition to control the robot.


What controls you use are purely up to you. Many teams use a dual Attack 3 setup for driving, in conjunction with a separate controls set for the robot's other functions. Others use Xbox joysticks, Logitech Gamepads, twist-axis joysticks, etc - it all depends on the team and the driver.


At the moment, the Cypress First Touch and CCI (available from E-Stop Robotics) are the most common interfaces used by teams for custom control schemes. There are alternatives - last year, one team used a touch screen interface to hang tubes - but if I'm not mistaken, interfacing with the First Touch and CCI are the simplest for the DS (Driver Station) to deal with.
The Driver Dashboard software you speak of is not included in the kit of parts. It must be downloaded and installed from National Instruments website; once that's done, the software can be started like any other program and it will automatically detect and connect to the cRio when there's a possible linkup.

The programming software simply enables you to customize the code on the robot to output custom data to the running dashboard and driver station software.

I agree about the Cypress, one thing you'll find is that it's definitely the best time saver to, instead of hacking your own solution together with such a complicated system, it's best to learn to use their code libraries and modules and interface those with your robot control code. The built in libraries provide easy to use methods to interact with the Cypress, which one can hook up to a number of different digital and analog inputs, in addition to providing basic joystick/joypad control.
__________________
Attending: MN Duluth Regional
  #8   Spotlight this post!  
Unread 11-01-2012, 07:42
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: Driver Station

The Dashboard EXE is installed with the Driver Station. It is a compiled version of the code that is installed with LV. Many teams modify this code to add or remove displays, log match data, etc. There are also frameworks for making the dashboard out of Java and C#. One last clarification: the dashboard can communicate directly with the robot. So, it is possible to have autonomous settings or other information sent to the robot.

Greg McKaskle
  #9   Spotlight this post!  
Unread 11-01-2012, 00:48
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Quote:
Originally Posted by mikegrundvig View Post
BTW: the pinout tables PDF file at that link is a 404. Anyone have another link? Thanks!
After clicking the link to the pin outs add www. To the beginning of the URL.
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 23:28.

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