PxVehicleEngineDriveThrottleCommandResponseLinearUpdate

Defined in include/vehicle2/drivetrain/PxVehicleDrivetrainFunctions.h

void PxVehicleEngineDriveThrottleCommandResponseLinearUpdate(const PxVehicleCommandState &commands, PxVehicleEngineDriveThrottleCommandResponseState &throttleResponse)

Propagate the input throttle command to the throttle response state.

Parameters
  • commands – [in] specifies the state of the throttle pedal.

  • throttleResponse – [out] specifies how the clutch responds to the input throttle command.