Problem with the intersections

hello everybody:
my friend and I want to make the robocup finale of 2023 in France. During the programation, we got stuck with the intersections problem. the problem is that when the robot pass in an intersection where there is the line first and then the green square in that case, the robot have to go straight ahead, but its keep turning. We tried many things but it was useless. Can you please help us?
thank you very much.
Nono

Hello @nono !

Can you create a graphic or show a photo of the problem you are facing? It might make it easier to other teams to understand your problem and provide possible solutions!

Have you verified sensor placement and that is detecting the right color during the line and intersection?

Thanks,

Diego Garza Rodriguez
2023 Committee