VE Lua Documentation

Press F to search!

getYawAngularVelocity

Definition


-- @/=[C]:-1
function getYawAngularVelocity(...)

Callers

@/lua/vehicle/controller/tech/cosimulationCoupling.lua
  kOut[14] = obj:getPitchAngularVelocity()                                                          -- Pitch rate, rad/s.
  kOut[15] = obj:getYawAngularVelocity()                                                            -- Yaw rate, rad/s.
  kOut[16], kOut[17] = obj:getGroundSpeed(), obj:getAltitude()                                      -- Ground speed, m/s. Altitude, meters.
@/lua/vehicle/wheels.lua
  --        wheelSpeed = { title = "Wheel Speed", color = getContrastColorStringRGB(8), unit = "km/h", value = wheelspeed * 3.6},
  --        yaw = { title = "Yaw Rate", color = getContrastColorStringRGB(5), unit = "km/h", value = abs(obj:getYawAngularVelocity()) * 10},
  --        mapIndex = { title = "Map Index", color = getContrastColorStringRGB(11), unit = "", value = (mapId-1) * 10},
@/lua/vehicle/controller/esc.lua

  yawRate = yawSmooth:get(-obj:getYawAngularVelocity())
@/lua/vehicle/extensions/perfectLaunch.lua

    local yawRate = yawSmoother:get(-obj:getYawAngularVelocity())
    local spinning = math.max(math.abs(yawRate) - 0.07, 0)