Closed duarte11vieira closed 1 year ago
I don't use it, but should work in general. I think I tested it in the past with my brake pedal rumble motor. And if I use a replay SimHub shows a signal with these properties.
For every wheel I used the NCalc Formula (FL, FR, RL, RR):
if([ViperDataPlugin.CalcLngWheelSlip.Computed.LngWheelSlip_FL]>0,[ViperDataPlugin.CalcLngWheelSlip.Computed.LngWheelSlip_FL]*100, 0)
Because the values of my properties are between -1.0 and +1.0, positive values = locking, negative values = spinning. For brake rumble you need the positive values only, what is the first check in the Formula. And then you have to multiply the value by 100, because you need it in percent, which means between 0 and 100.
Thanks for your answer with such detail, so I am looking in to the negative values (slip effect for acelerator).
I dont know If simhub will handle negative values, but probably is just need to convert it in to a positive value. Something like:
if([ViperDataPlugin.CalcLngWheelSlip.Computed.LngWheelSlip_FL]<0,[ViperDataPlugin.CalcLngWheelSlip.Computed.LngWheelSlip_FL]*-100, 0)
Will try this formula latter.
This is exactly how it should work ;-)
Hey man, worked like a charm! Thanks for your contribution :)
Issue solved
Hi first of all thanks for your work, is there any way I can use the properties generated by your plugin to drive a rumble motor?
I allready tried to assign to each wheel signal, the correct property generated by the plugin, but nothing happens.
Could this be a scale issue? Or there are other things I need to be aware.
Thanks in adavance.