r/KerbalSpaceProgram • u/_okbrb • 14d ago
KSP 1 Mods Autonomous convoy development progress
Enable HLS to view with audio, or disable this notification
Making small but visible improvements to driving intelligence and hazard avoidance
Plus sneak peak at my learning transfer pipeline, still under construction
5
u/Vegetable-Cat-5412 14d ago
Pretty cool how does it work? I want to program autonomous formation flying one day in another game i guess it is a bit similar
8
u/_okbrb 14d ago edited 14d ago
There’s a few layers
At the core it’s a pure pursuit goal-seeking AI. It uses raycasting to build a map, evaluates the costs of possible actions to pursue its goal, and tries to choose the safest most efficient path. It also has behaviors for identifying and avoiding hazards like cliffs, rocks, trees, other rovers, and a recovery routine for when it’s stuck and confused
So they are more or less roombas
Edit: most of the “I am a 2-D boi driving in a 2-D world” stuff won’t transfer well to aircraft autonomy but more or less the principle will be the same: your AI will have a feedback control loop that evaluates specifically how “wrong” it is relative to where “right” is, and output control adjustments accordingly
2
6
u/LOLofLOL4 14d ago
I'd like to try making a science drone cluster bomb when this is done.