View Single Post
  #1   Spotlight this post!  
Unread 08-01-2013, 21:33
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Using a (Logitech) Controller?

Hey guys. So I'm still very new to LabVIEW (though thankfully not to programming in general). I finally got our cRIO imaged today and managed to deploy the starting code that FRC provides -- unedited -- over to our cRIO.

The last two years we've used 2 logitech joysticks, but long story short, we're switching to a controller this year and I do not have contact with our programmer for the last 2 years. Everything I learn will be from chief delphi, other online sources, and studying his code from last year.

So now my question: What's different between coding for 2 joysticks and coding for a controller? It has two joysticks and a dpad as well as some buttons, but when I tried running the starting code with it, only the left joystick worked.
Rather than programming Joystick 1 and Joystick 2, each with 2 axes, do I need to program Joystick 1 with 4 axes and just make it so that the first 2 axes are the left joystick and the second 2 axes are the right joystick?
What else might I run into trouble with?

Thanks for any/all help! I'll update this with a link to the specific Logitech controller we're using in the morning when I'm at school

EDIT: We're using a Logitech F310 controller
__________________
Team 3753 BulahBots

Last edited by ctccromer : 09-01-2013 at 11:42.
Reply With Quote