We are trying to navigate our way around a rectangle using the sonar sensor. Sometimes the program is progressing just fine, and then after making some adjustments to the program, the program no longer functions in areas that were not changed. For example the first two turns are working fine, but after writing in the third turn, the first or second turn go off course. Why would the part of the program that has not been changed no longer work when making changes further down in the program?I hope this makes sense.

Thu Dec 12, 2013 9:24 am

MHTS

Guru

Joined: Sun Nov 15, 2009 5:46 amPosts: 1499

Re: Sonar Sensor Programs

chris garrett wrote:

We are trying to navigate our way around a rectangle using the sonar sensor. Sometimes the program is progressing just fine, and then after making some adjustments to the program, the program no longer functions in areas that were not changed. For example the first two turns are working fine, but after writing in the third turn, the first or second turn go off course. Why would the part of the program that has not been changed no longer work when making changes further down in the program?I hope this makes sense.

This could happen but you need to post your code so we can help you identify the problem.

Mon Dec 23, 2013 5:18 am

Ernest3.14

Professor

Joined: Sat May 18, 2013 1:24 pmPosts: 272Location: Olympia, WA

Re: Sonar Sensor Programs

If you don't know what's happening, blame it on batteries In all seriousness though, you should post your code.

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