|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: Mechanum with XBox Controller
Quote:
Last edited by jszipszky : 09-01-2015 at 19:10. |
|
#17
|
||||
|
||||
|
Re: Mechanum with XBox Controller
Okay thanks guys! Ill let you know if I can get it to work
![]() |
|
#18
|
||||
|
||||
|
Re: Mechanum with XBox Controller
Our team uses mecanum with a Logitech F310 gamepad. The way we map the controls is that we use tank drive with the joysticks to control forwards, backwards, and rotation. For strafing we use the back triggers because they are analog. I believe they translate to twist on the flight sticks. Hope this helps.
Last edited by Jalerre : 10-01-2015 at 22:42. |
|
#19
|
||||
|
||||
|
Re: Mechanum with XBox Controller
Quote:
Code:
max=fabs(s1);
if (fabs(s2)>max) max=fabs(s2);
if (fabs(s3)>max) max=fabs(s3);
if (fabs(s4)>max) max=fabs(s4);
if (max>1) {s1/=max; s2/=max; s3/=max; s4/=max;}
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|