[Question] About Axis parameter tuning

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

[Question] About Axis parameter tuning

Post 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
| 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 »

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: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: [Question] About Axis parameter tuning

Post by GoDlike »

Im glad you know it already. I was going to ask Team Leader about this ;)
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [Question] About Axis parameter tuning

Post 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?
GIMX creator
flyelfrick
Posts: 11
Joined: Thu Jan 11, 2018 1:51 pm

Re: [Question] About Axis parameter tuning

Post 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?
| Windows 10 64 bit / PS4 Pro | OSW with SimuCube beta firmware | HE Pro Pedals + Hand brake | Fanatec SQ Shifter |
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [Question] About Axis parameter tuning

Post 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.
Attachments
output.ods
Output calculator
(22.84 KiB) Downloaded 489 times
GIMX creator
RagingBeard
Posts: 18
Joined: Thu Oct 17, 2019 8:27 pm

Re: [Question] About Axis parameter tuning

Post 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
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [Question] About Axis parameter tuning

Post 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.
GIMX creator
RagingBeard
Posts: 18
Joined: Thu Oct 17, 2019 8:27 pm

Re: [Question] About Axis parameter tuning

Post 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
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: [Question] About Axis parameter tuning

Post by Matlo »

Please post a log file in the topic you started here: viewtopic.php?f=5&t=3204
GIMX creator
Post Reply