suraj1194
Member
This is true. The algorithm is biased to immediate action when it detects forward obstruction, either through confusion about cars in adjacent lanes as mentioned above, or someone cutting in.Interesting Suraj. What does yours do when someone cuts in in front of you? Even though it would often be sufficient to just ease off the accelerator a bit, mine slams on the brake and slows down to where the car behind has to brake hard was well. Then it takes for ever to get back up to speed , opening an even wider gap in front, thus inviting more cars to cut in, etc. In those situations I tend to just turn it off. It didn't used to do that before the last iteration.
I typically keep follow distance at 4 for freeways speeds but tend to cut that in half when traffic gets worse. Maybe it's my own imagination, but the intensity of the braking is less severe when it's not 'trying to defend a large separation distance ahead'. I don't mind that it builds up speed again rather slowly. Earlier, as I mentioned too, it used to accelerate again rather quickly, which was rather difficult on passengers.
In summary it appears that the algorithm is written to bias to immediate action on any perceived forward obstruction but retains the accelerate again slowly bias for when it's again trying to make up for the too much space it let go when it braked. This could be improved by tracking relative velocity of the car cutting in and denoting it as less of a collision threat, and therefore not brake quite so hard and give up too much space, and instead brake judiciously and re-establish the prior separation distance.
From a programming perspective, this may be harder than described, because the AI needs to distinguish between immediate collision threat and a mere lane intrusion it can make up for by slowing a little. It also needs to account for how far ahead of the car the intrusion is and control the braking. I don't know if the decision tree for this is trivial, especially when the cost of making the wrong choice (e.g. the intruding car and everything in front comes to a sudden stop) can be severe...