![]() |
XBOX 360 Controller configuration for Labview
Dear CD,
I have only used the joysticks in the past so I have a few questions about use of the XBOX 360 controller (for the student operator) 1) Does anyone have the Labview configuration mapping of the XBOX 360 controller? 2) Can you copy and paste your TeleOP.vi portion that you created for the XBOX 360 showing analog and button configurations? 3) Some threads show use of Logitech F210? controller? Have you found thos one to be better for the FIRST game environment? Thanks in advance for your help, |
Re: XBOX 360 Controller configuration for Labview
Quote:
Use Unbundle By Name vis on the two outputs from Joystick Get. |
Re: XBOX 360 Controller configuration for Labview
Joe,
What about the Logitech F310? Is it better suited for the FRC environment? |
Re: XBOX 360 Controller configuration for Labview
We've never used that one, but I have heard it is higher quality (In terms of sensor accuracy and deadzone). I will always prefer a logitech attack 3d due to increased precision, accuracy, and quality over a handheld joypad.
|
Re: XBOX 360 Controller configuration for Labview
so its my third year programming and ive never done xbox 360 controllers the most complicated thing that ive ever done was a six cim drive train so i wanted to know if someone could tutorial me on programing a xbox 360 controller using the left thumbstick for movement forwards and backwards and the right thumstick for movement right and left and the right trigger for acceleration forward and the left trigger for backward acceleration
i know itll be difficult but i wanted a challenge and now im second guessing myself and need tons of help !!!! |
Re: XBOX 360 Controller configuration for Labview
lol so far im still at zero ive been on this for 4 hours lol so i realized that the accel thing is not gunna work so i dummed it down to using the left thumb stick for forwards movement and backwards movement, using the right thumbstick for left and right movement
|
Re: XBOX 360 Controller configuration for Labview
Quote:
|
Re: XBOX 360 Controller configuration for Labview
The default arcade drive robot project will do what you want with two small changes to the Unbundle By Name connected to the axes of the Joystick Get function in Teleop. Use whatever axis is the left stick's front/back as the Y input, and use whatever axis is the right stick's left/right as the X input.
|
Re: XBOX 360 Controller configuration for Labview
I recently learned how to program for the Xbox controller. Many people seem to mistake many of the controls from what I have seen.
Axis 1: Left X axis Axis 2:Left Y axis Axis 3: Triggers (Left trigger is a negative output, right trigger is a positive) Axis 4:Right X axis Axis 5:Right Y axis Axis 6: D-pad (Not recommended for use) Button 1:A Button 2:B Button 3:X Button 4:Y Button 5:Left Bumper Button 6:Right Bumper Button 7:Stop/Back Button 8:Start Button 9:Left Thumbstick Button 10:Right Thumbstick The rest of the setup just unbundles the same way a logitech controller does. I hope this helps. |
Re: XBOX 360 Controller configuration for Labview
1 Attachment(s)
Attached is a visual representation courtesy of team 358.
|
Re: XBOX 360 Controller configuration for Labview
Quote:
|
Re: XBOX 360 Controller configuration for Labview
Quote:
|
Re: XBOX 360 Controller configuration for Labview
Quote:
1) Linearity to response on the joystick 2) Dead band of the joystick 3) General reliability of either model in the FRC environment (issues with the driver station,funny issues while programming, or failing after dropping). 4) From the pictures the Logitech model has the two joysticks close together versus the XBOX controller. In my simple mind this would seem to be a major advantage. Have your student drivers/operators found this to be the case? 5) One CD user commented that the D switches seemed unreliable and they only used the buttons. Was this your experience as well? |
Re: XBOX 360 Controller configuration for Labview
Quote:
1) Linearity can be fixed by using a couple equations as we and others have done 2) the deadband is a problem, as the axes never seem to quite hit zero, but this can be fixed with a bit of coding 3) With our environment, it's a miracle that any controller would survive longer than a year, but we still have the same USB xbox controllers from 2011! :D 4)The position on the joysticks bring up one of the biggest playstation vs xbox arguements. Obviously the Logitech 310 is based on a Playstation model, so i think it comes down to a matter of preference. Me as a driver and having played xbox for years, an offset joystick configuration feels right to me and the other drivers, we don't have any problems using Tank Drive with it. 5) The D-Pad is very odd in that it isn't just straight-forward buttons. We have never used it and we really don't plan to, but if we need 8 more buttons, I guess we'll have to use it. We've actually never used every button on the controller (1-10) to date, obviously automation is key to controlling a robot I think it really comes down to preference. I prefer the xbox controller but I can see any team being effective with the 310! |
| All times are GMT -5. The time now is 06:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi