I have a program that works for a couple of weeks and then that same program suddenly stops functioning properly. I have "solved" the issue before but did not know what the cause was. I am working on a PID line follower using raw colour sensor data of two sensors. This program was working extremely well but suddenly, the robot started suddenly stopping and going forward in the program. After debugging it, i found that the program was still working and the motor power variables were still being calculated and were changing. Yet, the motors were not working. This is not making any sense to me. Could this be because of the large amount of variables I have in the program (the program is also made for other purposes)? Could the declaration of variables in the form "type var = value" be insufficient?

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum