Hi, With all my rock crawling adventures i sometimes wished for a feature that would enable me to concentrate solely on steering. So reworked the Cruise Controll system to also apply the brakes when necessary and thus allow the car to maintain speed downhill. It now looks something like this, notice that the airspeed is higher, but that's due to overstepping the tire grip levels on this hill. The tires are still turning at the correct speed though. Devs, could you implement this feature in the game? I have my edit attached to this post. CCGraph is the UI app that is generating the PID data in the top left of the video. cruiseControlmch.lua is your CC code with my edits. At least, a few versions back (2-3 updates back?). My code is purely a proof of concept and thus not optimised. I changed the Integral part to enable it to drop below zero. When the integral is negative it will make the brakefactor positive. I really hope this feature can get implemented. Marco --- Post updated --- BTW, i also tried some PID tuning, and in the video I am using the derivative. But later on i realised that this will create a lot of instabilities in the drive train (shocks and vibrations) so i removed that factor. I now understand why you guys only used the PI factors ;-)
Is there any way you can update this to work in 0.18.4? I tried installing the file in place of the original cruiseControl.lua (and yes I removed mch from the name) and it immediately gives me "error in vehicle/object. please review installation" or something like that when I spawn in. I do agree this is something that NEEDS to be added.
Hi F&FFan, I started playing with it again. As of this version (0.19.4.1.10239), the attached lua file will work...