Hydro - steering stability

Discussion in 'Programming' started by RMeysso, Feb 25, 2025.

  1. RMeysso

    RMeysso
    Expand Collapse

    Joined:
    Feb 22, 2025
    Messages:
    13
    Hello,

    How to have the hydro stay straight in acceleration , and when we turn the hydro turn in the good direction.
    I tried something like that:

    Code:
    "hydros": [
          [ "id1:", "id2:" ],
          /*{
            "beamPrecompression": 1.0,
            "beamType": "|NORMAL",
            "beamLongBound": 1,
            "beamShortBound": 1
          },*/
          {
            "beamSpring": 15000, //longueur
            "beamDamp": 50, //rebondit
            "beamDeform": 2000000, //deforme
            "beamStrength": "FLT_MAX" // casse
          },
    
    
          [
            "fw1ll",
            "ch69",
            {
              "factor": -0.15, //-
              "steeringWheelLock": 450,
              "inRate": 1.25,
              "outRate": 1.25,
              "inputSource": "steering_input"
    
            }
          ],
          [
            "fw1ll",
            "ch70",
            {
              "factor":0.15,
              "steeringWheelLock": 450,
              "inRate": 1.25,
              "outRate": 1.25,
              "inputSource": "steering_input"
    
            }
          ],
        
    
          [
            "fw1rr",
            "ch83",
            {
              "factor": 0.15,
              "steeringWheelLock": 450,
              "inRate": 1.25,
              "outRate": 1.25,
              "inputSource": "steering_input"
    
            }
          ],
          [
            "fw1rr",
            "ch82",
            {
              "factor": -0.15, //-
              "steeringWheelLock": 450,
              "inRate": 1.25,
              "outRate": 1.25,
              "inputSource": "steering_input"
    
            }
          ],
      
          {
            "beamPrecompression": 1.0,
            "beamType": "|NORMAL",
            "beamLongBound": 1,
            "beamShortBound": 1
          }
    
    
    
        ],
    Somebody can help me PLS.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice