[Question] About Axis parameter tuning

Need help? Ask here and someone will help
Post Reply
flyelfrick
Posts: 11
Joined: Thu Jan 11, 2018 1:51 pm

[Question] About Axis parameter tuning

Post by flyelfrick » Mon Jan 22, 2018 1:10 am

Hi

I am using HE Pedals Pro + OSW on PS4 for GTS, everything is working fine, but the gas and brake not working well.
The problem is gas and brake working range too short (looks like 30% and then jump to 90%). I think it can be tuning by change config file, but I have no idea about below parameters, and what that effect? Have any information can share? Thanks.

low_value = 32767 // I know Its hardware low values output range
low_coef = -16384 // What is this for? middle of output? 32768 - 16384 = 16383 (50%??)
high_value = 0 // What is this for?
high_coef = 0 // What is this for?

exponent="1.00" // 1.00 is bypass value output? like no filter?
multiplier="0.0085" // Is this parameters like gamma effect? higher for? lower for? Why not set to 1.00 ?

Rick
| Windows 10 64 bit / PS4 Pro | OSW with SimuCube beta firmware | HE Pro Pedals + Hand brake | Fanatec SQ Shifter |

flyelfrick
Posts: 11
Joined: Thu Jan 11, 2018 1:51 pm

Re: [Question] About Axis parameter tuning

Post by flyelfrick » Tue Jan 23, 2018 9:06 am

Thanks for open source project, replying question myself. The answer in source codes.

Code: Select all

value = event->jaxis.value; // device axis values

/* how joystick axis corrections parameters apply */
/* coef[0] : low_value
 * coef[1] : high_value
 * coef[2] : low_coef
 * coef[3] : high_coef
 */
value = value > corr->coef[0] ? (value < corr->coef[1] ? 0 :
                        ((corr->coef[3] * (value - corr->coef[1])) >> 14)) :
                        ((corr->coef[2] * (value - corr->coef[0])) >> 14);
| Windows 10 64 bit / PS4 Pro | OSW with SimuCube beta firmware | HE Pro Pedals + Hand brake | Fanatec SQ Shifter |

User avatar
GoDlike
Posts: 355
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: [Question] About Axis parameter tuning

Post by GoDlike » Tue Jan 23, 2018 9:51 am

Im glad you know it already. I was going to ask Team Leader about this ;)
My hardware: Xbox 360 S "Trinity" RGH | PS3 Slim CFW 4.80 | PS4 5.50 | Mouse: 8 years old Gigabyte M8000x :mrgreen:
My Steam: http://steamcommunity.com/id/Godlike_RU/ | PSN: GoDlike_RU

User avatar
Matlo
Posts: 4817
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [Question] About Axis parameter tuning

Post by Matlo » Tue Jan 23, 2018 1:26 pm

There is a calibration tool in gimx-config that allow setting these values easily.
It is triggered when binding a control to a pedal axis (in the Axis tab).
Did you try it?
GIMX creator Donate Shop

flyelfrick
Posts: 11
Joined: Thu Jan 11, 2018 1:51 pm

Re: [Question] About Axis parameter tuning

Post by flyelfrick » Tue Jan 23, 2018 2:57 pm

Yes, I have tried this tool, but the result is not good.
After study source codes, now i know what those parameters use for?
And I adjust it manual to get more correct output result.

for example:
HE Pedals Pro brake output values detect in ginput_test.exe are:
-32768~ 0~ 32767

And I want to brake output not linear.

I wish result as below:
HE Out: 0% ---> 50% ---> 70% ---> 95% ---> 100%
In Game: 0% ---> 30% ----> 60% ---> 90% ---> 100%

(sorry for my English, hope u can understand what i mean?

Rick
Matlo wrote:
Tue Jan 23, 2018 1:26 pm
There is a calibration tool in gimx-config that allow setting these values easily.
It is triggered when binding a control to a pedal axis (in the Axis tab).
Did you try it?
| Windows 10 64 bit / PS4 Pro | OSW with SimuCube beta firmware | HE Pro Pedals + Hand brake | Fanatec SQ Shifter |

User avatar
Matlo
Posts: 4817
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [Question] About Axis parameter tuning

Post by Matlo » Wed Jan 24, 2018 1:47 pm

Revert everything to the default values, and use the following values:
sensitivity: 0.0085 x 0.026 = 0,000221
acceleration: 1.8

Use the attached calculator for finer tweaking.
Attachments
output.ods
Output calculator
(22.84 KiB) Downloaded 35 times
GIMX creator Donate Shop

Post Reply