« first day (4435 days earlier)      last day (592 days later) » 

5:17 PM
This path planning algorithm for a "moving and steering" vehicle appears to be working when testing it in our simulator. This means that the calculations are right and they seem to translate well from theory to practice. But...
The way I made my thing, at least for now, is that I set "waypoints" where I instruct the truck to change it's steering angle, either -1, 0 or 1. Waypoints have a "range" where when this "range" intersect with "the turning center" on the vehicle, the truck is considered to have "reached" the waypoint. So if my "range" is 10 cm, then I tell the truck to change direction 10 cm too early, making it miss the next waypoint because it's off course.
So the next step is to figure out of a way to make tiny adjustments to make the truck go back on the track.
Someone suggested to use a PID controller.
I need to think about the options.
 
5:51 PM
I feel like I just ran a fucking marathon with that algorithm...
And that now I'm onto the next...
 
6:13 PM
I may have an idea!
 
6:57 PM
Okay, so I "acknowledge" the waypoint only when I start to move away from it, so this is the closest I could get to it.
 
 
4 hours later…
10:39 PM
Clever!
 

« first day (4435 days earlier)      last day (592 days later) »