I am trying to implement a longitudinal controller for a vehicle using this asset. The controller will control the speed of the vehicle and in order to apply the required acceleration it has to know the throttle required to provide the needed torque. Is there a function I can use or way I can calculate the required throttle to provide a certain torque for a vehicle, ideally through the VPVehicleController?
If an engine map which shows the torque provided against RPM for different throttle outputs is available, would you be able to provide it for me please?
Thank you in advance.