back

SimHub Custom serial profile atlas

SimHub stores profiles in Documents/SimHub/;
profiles on this site are highly dependent on matching Arduino sketches.

Earliest versions of harness tensioner profiles used e.g. delta_v.js to estimate G forces from changes in yaw and speed,
but SimHub made available proprietary acceleration properties for Assetto Corsa by late April 2021, as used in SimHubG.js.
Otherwise, despite significant code reorganization, logic is mostly similar between these two JavaScript messages.
tension.shsds   Feb 17 2021 3 messages
first (unused):   format([OrientationYaw],0)+'\t'+format([SpeedMph],0)+'\t'+format([GlobalAccelerationG],0)+'\r\n'
second:   offsets.js, a subset of new_range.js,
tension.js replaces single tc with separate ones for delta_s and delta_y,
  adds Settings.tmax, adds more gnuplot columns and otherwise reorders delta_v.js code.
 
running.shsds   Feb 23 2021
3 messages:   first same as new_range.js,
second same as delta_v.js (unused),
runtens.js uses ShakeITBSV3Plugin.Export.proxy_G to update 6-bit tensions, otherwise
comparable to Upset.js, delta_v.js, SimHubG.js includes commented-out gnuplot code
 
proxy_G.shsds   Apr 25 2021
proxy_G has 2 messages; one for settings and a tensioner message that is functionally identical to SimHubG.js.
duplicated in SimHub-Profiles
 
Noticeable.shsds   Jun 14 2021
Currently used; 4-bit LUT replaced 6-bit servo tension values; duplicated in SimHub-Profiles
3 messages:   NotLUT.js resamples 20 just noticeable steps to 4-bit LUT,
same special.js as elsewhere,
same tension update message as new_tens.js
 
JustNoticeable.shsds   Jun 14 2021
3 messages: NotLUT.js resamples just-noticeable steps to 4-bit LUT,
special.js updates special command value
Justens.js updates 4-bit tension indices
 
Devices3messages6.shsds   Jun 14 2021
6 messages:   DevLUT.js resamples just-noticeable steps to 4-bit LUT,
  DevLUT.js differs from NotLUT.js only in most slack control indices.
same as JNDtest.js (disabled),
same as JNDrange.js (disabled),
/Devsim.js simulates 4-bit LUT to 6-bit Arduino sketch (disabled),
same as special.js,
Devtens.js is comparable to Justens.js and new_tens.js
 
UpdatedProxyG.shsds   May 22 2021
2 messages:   first same as JNDrange.js,
Upset.js updates 6-bit tensions still using GameRawData.Physics.AccG

 
JND_LUT.shsds   May 21 2021
3 messages:   JNDLUT.js resamples and updates 4-bit LUT   (disabled),
JNDtest.js tests differences based on yaw and decel gain setting changes   (disabled),
JNDrange.js sets and test offsets and tmax

JNDLUT.js is nearly the same as NotLUT.js, except
  • Arduino LUT load code changed from 0 in JNDLUT.js to 0x7E in NotLUT.js and newer messages.
  • JNDLUT.js returns step.toString() without tension control indices, while
    NotLUT.js appends least or most tense indices to step[], then returns String.fromCharCode.apply(null,step)
BeltTensionner1705.shsds   May 17 2021
3 messages: Wotever's updated tensioner serial device
 
BeltTensionner1605.shsds   May 16 2021
3 messages: Wotever's first tensioner serial device
 
new_serial.shsds   Apr 24 2021
2 messages:   new_range.js sets and tests tension offsets,
new_tens.js sends 4-bit LUT indices based on AccelerationSurge and AccelerationSurge if not Settings.TestOffsets
where did LUT get downloaded??
 
compare.shsds   Apr 21 2021
1 message compares accelerations from speed and yaw to SimHub raw physics properties for AC.
Values were written to an Arduino sketch which echo'ed message back to log for gnuplot, e.g.
maintained by blekenbleu