I want to write python code that simulates single lane traffic intersection on an image that I have below. I don't necessarily need to do it with a given image, ones that are created by cv2, matplotlib, etc are fine as well.
The cars start at the beginning of green arrows, and red dots are merging points. I also show an example how they move with the red car
Currently I am still confused how I should start with this. Could anyone kindly give me hints or help me with this?
I've read about potential field, checked out PathPlanning and PathTracking of PythonRobotics on Github, but still kinda clueless about this one.