Go to Post "Who needs finesse when you have air pressure?!" - neelpatel1710 [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 21-01-2010, 11:08
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
FTC, I have returned.
AKA: @doctorfogarty
FTC #11444 (Garnet Squadron) & FRC#1102 (M'Aiken Magic)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: SC
Posts: 1,566
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
Question Logitech or Xbox 360 Controllers?

Ok so currently i'm using the Logitech Action 3's that came in last years FRC KOP, but since it's been proven we can use Logitech Dual Action Gamepads or Xbox 360 controllers i'm looking into using one of those. I know you must have the drivers installed and such. But in LabVIEW how do you configure them to work in your code?
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632
2013 FTC World Championship Guest Speaker
  #2   Spotlight this post!  
Unread 21-01-2010, 11: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,112
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: Logitech or Xbox 360 Controllers?

The program will treat them just like joysticks. You might have to experiment to determine which stick/pad/switch on the controller is associated with each analog axis or digital button in the code. That's easy to do with LabVIEW -- just wire an indicator to the output of the Joystick Get vi and watch the front panel when you run the code.
  #3   Spotlight this post!  
Unread 21-01-2010, 11:28
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: Logitech or Xbox 360 Controllers?

We have tested the Xbox 360 Controller with LabVIEW, and it works. Just need the drivers like you said. When you unbundle the axis from the "Joystick Get" vi, x and y are the left joystick and the 4th and 5th axis are the right (no 3rd throttle).

However, my team is not going to use it. The little joysticks do not self-center, so when you let go there is still some movement and you have to fiddle with it to stop. This is unacceptable for our purposes, so out it goes. Still, it was pretty cool play with.
__________________
Twitter Profile
  #4   Spotlight this post!  
Unread 21-01-2010, 13:17
Michael DiRamio Michael DiRamio is offline
Registered User
FRC #1114 (Simbotics)
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 2006
Location: St. Catharines, Ontario, Canada
Posts: 39
Michael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond repute
Re: Logitech or Xbox 360 Controllers?

I would recommend the logitech gamepads over the xbox 360 controllers. They self-centre on a much smaller range than the 360 controllers. It's also a lot cheaper!
  #5   Spotlight this post!  
Unread 21-01-2010, 14:56
Chris is me's Avatar
Chris is me Chris is me is online now
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,651
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Logitech or Xbox 360 Controllers?

Logitech for sure. Xbox 360 controller joysticks don't consistently return to center. Plug one in and play with it for a few seconds and you'll see what I mean. Unless you want to program in a deadband, it's a lot easier to just use Logitech.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
  #6   Spotlight this post!  
Unread 21-01-2010, 19:18
daltore's Avatar
daltore daltore is offline
Electronics/programming/design
AKA: Aaron Osmer
FRC #3529 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: San Antonio, TX
Posts: 272
daltore has a spectacular aura aboutdaltore has a spectacular aura aboutdaltore has a spectacular aura about
Send a message via AIM to daltore Send a message via MSN to daltore Send a message via Yahoo to daltore
Re: Logitech or Xbox 360 Controllers?

Not to mention, it's less fun doing tank drive with a 360 controller due to the offset joysticks (same with Gamecube D-pads...)
  #7   Spotlight this post!  
Unread 27-01-2010, 14:01
TD912 TD912 is offline
Registered User
AKA: Chris Leung
FRC #1989 (Viking Robotics)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Vernon, NJ
Posts: 156
TD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud of
Re: Logitech or Xbox 360 Controllers?

Just wondering, did anyone else have any problems installing/configuring the 360 controller drivers? The Game Controller control panel doesn't seem to detect it...?

I used the ones from here:
http://support.microsoft.com/kb/906347
  #8   Spotlight this post!  
Unread 27-01-2010, 14:30
Chris is me's Avatar
Chris is me Chris is me is online now
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,651
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Logitech or Xbox 360 Controllers?

I now realize the OP was discussing KoP Joystics versus Xbox gamepads, which is different than what I thought (Logitech gamepads versus Xbox gamepads).

The reasons many teams use gamepads over joysticks is that they allow the driver to physically move without impacting the robot. For some games (Overdrive in particular, but really most games with tall things you can't see past), this could be an issue for your drivers. The downside of gamepads is that joysticks on them give you less precision and range of motion. In Lunacy without traction control, this was pretty vital for some teams.

If you do explore the gamepad route, I would recommend many Logitech PS2-clone USB controllers due to the Xbox pad's inconsistent recentering as I initially said. The KOP sticks are not utter crap like in 2008 and before, though; they will serve you very well in competition.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
  #9   Spotlight this post!  
Unread 27-01-2010, 18:14
TD912 TD912 is offline
Registered User
AKA: Chris Leung
FRC #1989 (Viking Robotics)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Vernon, NJ
Posts: 156
TD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud of
Re: Logitech or Xbox 360 Controllers?

Somehow some evil person found our joysticks sitting in the back room and broke them in half, and nobody else has any USB controllers except for some wired Xbox ones, so we were thinking of using them temporarily until the new ones arrive.
  #10   Spotlight this post!  
Unread 08-02-2010, 18:51
LiquidMagik LiquidMagik is offline
Registered User
FRC #0649
 
Join Date: Feb 2010
Location: Saratoga
Posts: 15
LiquidMagik is an unknown quantity at this point
Re: Logitech or Xbox 360 Controllers?

YO DAWGS. I GOT THIS.

Just look up the proper driver for the XBOX 360 controller and then once installed, go to the game controllers/ devices and click properties. there, it will give you button numbers. hopefully this will work out. have yet to try it
  #11   Spotlight this post!  
Unread 08-02-2010, 21:28
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: Logitech or Xbox 360 Controllers?

* One other thing to remember in the 360 vs Logitech controller debate is that the Logitech controller has symetrical joysticks, which are important for a skid steer, while the 360 does not, which makes it harder to do skid-steer with.
* If it really bugs you that the 360 joysticks aren't straight, you can always correct it in software.
* If you were doing something like crab-drive that required a translational angle stick and a rotational distance/speed stick, then the 360 controller would work well (except the centering issues, of course).
* We are using a Logitech controller because we have a skid-steer, but I have personally used an Xbox (original) controller with many of my demos because they require two distinct sticks, angle and speed. Everyone always says that we are using a PS2 controller and most still don't know its actually a Logitech one. It works well. It's actually the same one we used in Overdrive.
* We used the Kit joysticks in 2009 and they worked well. We never used the 08 and previous kit joysticks, except the older CH Flightsticks which we used in every robot until Overdrive.
* the Logitech gamepad dosen't need drivers, I don't know about the 360 one.
__________________
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

Last edited by apalrd : 08-02-2010 at 21:30.
  #12   Spotlight this post!  
Unread 08-02-2010, 22:51
Ziaholic's Avatar
Happy Birthday! Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Logitech or Xbox 360 Controllers?

I've been using a Logitech gamepad for my home programming/testing (i.e. the 'bot or the cRIO aren't around). But it's a wireless one and I don't think they'd let us use a wireless joystick for competition, right? I admit I haven't read that section of the rules for this year, but from previous years' experience, unauthorized wireless stuff is verboten.

... so I donated an Xbox "clone" controller (GameStop branded) for the team to play with ...

I setup a simple VI to read the joystick axis and plot it out using the joystick opens/gets from a different pallet for when the joystick is on a local USB port (see attached pics)

I've not only found that the centering is sloppy and off center, but also the upper and lower right-hand-side don't go out to a full (1,1) or (1,-1) position.

... and while I do see the POV on my local/PC test VI ... we don't see the POV when the 360 controller is hooked up to the DS and we open it from the cRIO.

I'll probably go look into a wired Logitech gamepad. Thanks for the tips.
Attached Thumbnails
Click image for larger version

Name:	PC-Joystick.jpg
Views:	120
Size:	126.5 KB
ID:	8571  Click image for larger version

Name:	PC-Joystick2.jpg
Views:	98
Size:	149.1 KB
ID:	8572  
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
xbox 360 controller installation kuelin Technical Discussion 17 07-01-2008 19:43
XBox 360 Joe Matt Chit-Chat 83 29-11-2005 15:18
Xbox 360 + Walmart + Demo? Conor Ryan Chit-Chat 7 20-10-2005 20:29
Xbox 360 zdeswarte General Forum 1 11-05-2005 14:53


All times are GMT -5. The time now is 09:33.

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