If you have proper input hardware, processing hardware, and some logic programmed it shouldn’t be rocket science
I love how you just distilled all of the decision making aspects of driving down to "some logic" like it's a little project one could just do in a week