04-14-2025 11:00 AM
Hello everybody, I'm trying to code a robot for a school project, that has just not been working. The lego robot needs to be able to follow a black line (curved, straight or dashed) I thought of doing this by having 2 sensors, if one detects the black it heads that direction, and vice versa, if both straight, and if none the motors stop. For some reason the robot isn't working as expected. and just spins around. I would really appreicate any help.
Thanks!!
04-14-2025 11:37 AM
It seems this post was copied from reddit, where we can actually find some attached code. The post here is not sufficient to give any help.