#
Docs
Warning
This page is meant for developers
#
Data variable usage
The plugin will use the following data variable values:
The input value from a lane detection plugin.
Input speed from the game. Used to automatically lower steering sensitivity at high speeds.
Used to disable the steering when indicating.
The output value to the game. Goes from -1 to 1.
#
Example
Copied from the BetterCamScreenCapture plugin:
def plugin(data):
steeringOutput = data["Controller"]["leftStick"]
# Do something with the steeringOutput
return data