- Messages
- 139
- Country

Using simconnect I make an AI car move by setting a desired speed using the AI DESIRED SPEED variable.
After some time I want to stop it and I do so by setting the AI DESIRED SPEED to 0. What I see is that the car slows down, then start moving backwards some feet and then stops.
Meanwhile, I do receive the speed of the car every second and there I see it reach 0 knots and then it goes up again (positive speed, despite the car moving backwards).
Is there a way I could reduce this behaviour by changing the values for:
deceleration_constants = 0.2, 0.4
0.2 is a time constant (effect responsiveness).
0.4 is the max acceleration in Gs.
I try some different values... but no luck.
Daniel
After some time I want to stop it and I do so by setting the AI DESIRED SPEED to 0. What I see is that the car slows down, then start moving backwards some feet and then stops.
Meanwhile, I do receive the speed of the car every second and there I see it reach 0 knots and then it goes up again (positive speed, despite the car moving backwards).
Is there a way I could reduce this behaviour by changing the values for:
deceleration_constants = 0.2, 0.4
0.2 is a time constant (effect responsiveness).
0.4 is the max acceleration in Gs.
I try some different values... but no luck.
Daniel