View unanswered posts | View active topics It is currently Fri Aug 01, 2014 5:49 am






Reply to topic  [ 3 posts ] 
Sonar Sensor Programs 
Author Message
Rookie

Joined: Tue Jun 18, 2013 6:04 pm
Posts: 29
Post Sonar Sensor Programs
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
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post 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
Profile
Professor
User avatar

Joined: Sat May 18, 2013 1:24 pm
Posts: 272
Location: Olympia, WA
Post 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.

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

and also quadrotors. Quadrotors!


Wed Dec 25, 2013 1:56 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
cron



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.