So far we have that drives around the track aggresively and really fast. I was thinking about implementing a pid controller for car speed, where my control variable would be projected time (from current acceleration and velocity) to reach the checkpoint, and tweak the throttle accordingly. However I am unsure how exactly I would tweak the throttle, and what other factors should I look after, or even if this method would give good passing times (tolerated margin of error would be +-0.5sec).
What do you think of my idea, or do you have other ideas for this particular problem? Some other guidances would be helpful also, like general vehicle AI tips and tricks and/or books, because I am really inexperienced in this field, yet I have a really responsible job of implementing this stuff, and I have done a good job so far






