Go to Post Moral of the story: Crashes happen, things break... SHIFT HAPPENS. - Qbranch [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 11-07-2011, 11:09
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Custom Game Controllers/Pads

We have traditionally built a custom control box for our operator, and let the driver use either a Logitech DualAction or two joysticks.

This worked well until last year, with the introduction of the Cypress board. We used the Cypress board to handle IO in Kitty's Kat Box (Our operator that year was named "Kitty".). We had to boot up the Classmate at least three matches ahead of time in case the driver had an issue, which could force us to reboot one or two times. A very annoying fix. We needed an analog dial for kick power, and the Cypress board was the only thing that gave us an analog input that didn't re-center each time it was plugged in.

This year, we used an xBox controller (Kitty's Kat Pad) for the operator, but ran out of buttons (the disadvantage of using a stock gamepad). Unhappy with the Cypress board last year, we bought a Logitech Precision pad (which contains only buttons - no joysticks), opened it up, and soldered wires to all of the button inputs. We built a new box, which we backed in velcro so it sticks to the operator console shelf, and it included a 6-position auto select switch, 3 light color buttons, a button for Score LOW (never used in the official season), and an extra button (originally assigned to FOLD, it was just easier to fold it manually).

OTS gamepad:
+Already made
+Has JS axises
-Lacks many buttons (if you need a lot of buttons)

Semi-custom gamepad (using a gamepad as base instead of Cypress board):
-No support for analog inputs that don't automatically center
+Lots of buttons (Whatever the controller had, plus the 4 D-pad axis)

Cypress-based control box:
-Cypress bug - I don't know if this was fixed
+Easier to build than gamepad, maybe.
-Cypress bug. Seriously. Its a big issue.

As for HMI's, we've used a box of state buttons for many years with success. Our 2007 and 2005 robots both had a button for each state, plus buttons to open the claw/fingers, and 2007 also had ramp buttons. Our 2011 robot could have worked with such a control board, but we initially didn't want to use Cypress IO (and built around an xBox pad).
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #2   Spotlight this post!  
Unread 11-07-2011, 12:46
msimon785 msimon785 is offline
Fusing Function with Form
AKA: Mathew Simon
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Los Angeles
Posts: 251
msimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant futuremsimon785 has a brilliant future
Re: Custom Game Controllers/Pads

Team 1515 has driven a fairly unique "gamepad" in the past 2 years- touch screen. We use a single 3 axis joystick to control the drive (both years mecanum) and the touch-screen to control everything else.
It's really quite cool. For instance, in Logomotion, we had 2 main screens: Drive and Maintenance modes.

Within Maintenance mode, there were animated thumbnails of the mecanum wheels, and FWD/Rev buttons, 2 speeds each. This allowed us to completely test the drivetrain. Addtionally, we had the ability to control both our forklift style lift and pneumatic joints in the arm. For the forklift, we had both absolute and relative control. We could also deploy the minibot.

Within Drive mode, every thing was streamlined in order to ensure speedy gameplay. To raise our lift, when on absolute control, we could touch any peg on the full onscreen pegboard, thus causing the lift to go to that height. (It was self-calibrating, every time it touched the bottom, it registered 0). When on relative control, we could simply press UP and DOWN arrows to take the lift to that height. Of course the pneumatics were simple, press and they change position. When the operator pressed the 'Deploy Minibot" button, an "are you sure" window popped up, and on OK, it deployed.

Consequently, we won the Innovation in Control in both the Los Angeles and Denver regional this year. The screen was a donation from a local company. The connection between the touchscreen and the classmate is somewhat complex, but it's worth it in my opinion. The image below displays our entire OI. I can't say I can explain how it was accomplished, so I'll end here.

__________________

Mathew Simon
CAD/Design
[2013-20xx]: 973 "Greybots"
[2011-2013]: 1515 "MorTorq"
[2008-2010]: 1836 "MilkenKnights"

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 05:19.

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