Page 1 of 2

[Question] About Axis parameter tuning

Posted: Mon Jan 22, 2018 1:10 am
by flyelfrick
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

Re: [Question] About Axis parameter tuning

Posted: Tue Jan 23, 2018 9:06 am
by flyelfrick
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);

Re: [Question] About Axis parameter tuning

Posted: Tue Jan 23, 2018 9:51 am
by GoDlike
Im glad you know it already. I was going to ask Team Leader about this ;)

Re: [Question] About Axis parameter tuning

Posted: Tue Jan 23, 2018 1:26 pm
by Matlo
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?

Re: [Question] About Axis parameter tuning

Posted: Tue Jan 23, 2018 2:57 pm
by flyelfrick
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?

Re: [Question] About Axis parameter tuning

Posted: Wed Jan 24, 2018 1:47 pm
by Matlo
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.

Re: [Question] About Axis parameter tuning

Posted: Wed Oct 23, 2019 1:48 am
by RagingBeard
Can you please expand further on what those values mean, how do I know what to put for my HE Sprint pedals?

Also, what is the "Shape" box for in the Axis tab?

Thanks

Re: [Question] About Axis parameter tuning

Posted: Thu Oct 24, 2019 5:58 am
by Matlo
The dead zone is for mouse to stick translation, you don't need to worry about it for wheel emulation.

Default sensitivity is 0.008 for pedals, and 0.0039 for the wheel. It allows mapping 100% of the input to 100% of the output.

The spreadsheet helps if you want to apply a non-linear translation curve tweaking the sensitivity and acceleration.

Re: [Question] About Axis parameter tuning

Posted: Thu Oct 24, 2019 8:47 pm
by RagingBeard
Thanks I just do not understand how to use the spreadsheet and what the 0.026 is about.

Is it possible to produce a more linear throttle pedal in GT Sport?

Thanks

Re: [Question] About Axis parameter tuning

Posted: Thu Oct 24, 2019 9:00 pm
by Matlo
Please post a log file in the topic you started here: viewtopic.php?f=5&t=3204