Shift X3 Issues
Posted: Sat Aug 12, 2023 8:18 pm
Hey team,
Have a Pro Mk4 with the Shift X3 wired into Can2.
This is the only CAN device running.
Data is being pulled via ODB2 (legacy adaptor) from a 2003 infiniti g35
I have RPM setup as a CAN channel - though honestly not sure if I need that.
RPM pulls into RCP - shows up on the dash but the ShiftX3 just does the disco lights back and forth despite that not being the script that is currently written. Using the preset for Shift light and gear calc with the change of green lights to 700 RPM to try and garage test this.
I feel like I am missing something fundamental since this appears to have been setup to be easy...any thoughts as to what I am missing? Thought I was good at this type of stuff but RCP seems to slowly breaking me haha...
setTickRate(30)
-- Set ShiftX3 configuration parameters with default parameters
-- orientation: 0=normal, 1=inverted (display above LED bar)
-- brightness: 0-100%, 0 = auto brightness
-- can bus: 0=CAN1, 1=CAN2
sxSetConfig(0,0,1)
--create gear channel
gearId = addChannel("Gear", 10, 0, 0, 6)
--config shift light
sxCfgLinearGraph(0,0,0,7000) --left to right graph, smooth style, 0 - 7000 RPM range
sxSetLinearThresh(0,0,700,0,255,0,0) --green at 700 RPM for testing purposes - at idle should be lit up green
sxSetLinearThresh(1,0,5000,255,255,0,0) --yellow at 5000 RPM
sxSetLinearThresh(2,0,6000,255,0,0,10) --red+flash at 6000 RPM
function onTick()
sxUpdateLinearGraph(getChannel("RPM"))
-- calculate gear: tire diameter(cm), final gear ratio, individual gear ratios 1-6
local gear = calcGear(62.7, 3.45, 4.23, 2.52, 1.66, 1.22, 1.0, 0.
setChannel(gearId, gear)
sxSetDisplay(0, gear)
end
Have a Pro Mk4 with the Shift X3 wired into Can2.
This is the only CAN device running.
Data is being pulled via ODB2 (legacy adaptor) from a 2003 infiniti g35
I have RPM setup as a CAN channel - though honestly not sure if I need that.
RPM pulls into RCP - shows up on the dash but the ShiftX3 just does the disco lights back and forth despite that not being the script that is currently written. Using the preset for Shift light and gear calc with the change of green lights to 700 RPM to try and garage test this.
I feel like I am missing something fundamental since this appears to have been setup to be easy...any thoughts as to what I am missing? Thought I was good at this type of stuff but RCP seems to slowly breaking me haha...
setTickRate(30)
-- Set ShiftX3 configuration parameters with default parameters
-- orientation: 0=normal, 1=inverted (display above LED bar)
-- brightness: 0-100%, 0 = auto brightness
-- can bus: 0=CAN1, 1=CAN2
sxSetConfig(0,0,1)
--create gear channel
gearId = addChannel("Gear", 10, 0, 0, 6)
--config shift light
sxCfgLinearGraph(0,0,0,7000) --left to right graph, smooth style, 0 - 7000 RPM range
sxSetLinearThresh(0,0,700,0,255,0,0) --green at 700 RPM for testing purposes - at idle should be lit up green
sxSetLinearThresh(1,0,5000,255,255,0,0) --yellow at 5000 RPM
sxSetLinearThresh(2,0,6000,255,0,0,10) --red+flash at 6000 RPM
function onTick()
sxUpdateLinearGraph(getChannel("RPM"))
-- calculate gear: tire diameter(cm), final gear ratio, individual gear ratios 1-6
local gear = calcGear(62.7, 3.45, 4.23, 2.52, 1.66, 1.22, 1.0, 0.
setChannel(gearId, gear)
sxSetDisplay(0, gear)
end