Jump to content

Custom User Tables


wastegate

Recommended Posts

Unless I'm missing it, I'd love to see a feature where you can use a table for anything you want.

Personally I'd love to use one to convert an input to what Link is expecting.

For example, my Transmission controller outputs the gear position as 

Neutral: 0x00
Forward ranges: 0x01 to 0x0F
Reverse ranges: 0x11 to 0x1F
Park: 0x10

However, G4/G5 expect gear position as 

0 (no gear)
1
2
3
4
5
6
7
8
9 ·P (Park)
10 ·R (Reverse)
11 ·N (Neutral)
12 ·D (Drive)
13 ·H (High)
14 ·L (Low)
15 ·M (Manual mode)
16 ·M- (Manual mode shift down)
17 ·M+ (Manual mode shift up)

Ideally, I'd like to have a CAN Input from the TCU on one axis and the Shifter Position on the other as a 2D table.

 

image.png.b0dd4a4b79569f1592881b82d9362bfa.png
Link to comment
Share on other sites

I think you should be able to do that with the existing analog gear position table. 

An example, assuming you only have 1 reverse gear then your highest CAN value received would be 0x11 or 17 in decimal.  We only have 5.00V input range for an analog gear pos sensor so divide the incoming CAN data by 4.  0x11 or "17" would be received as 4.25V.  Assign this to R in the Gear pos table. N would be 0V, 1st would be 0.25V, etc.  

ovAM9yO.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...