Society of Robots - Robot Forum

Software => Software => Topic started by: dellagd on March 11, 2009, 02:41:44 PM

Title: PING sensor
Post by: dellagd on March 11, 2009, 02:41:44 PM
can someone explain this to me?
http://www.societyofrobots.com/member_tutorials/node/194 (http://www.societyofrobots.com/member_tutorials/node/194)
I  need to use this ultrasonic rangefinder for a project but I cant understand this tutorial!
Title: Re: PING sensor
Post by: Razor Concepts on March 11, 2009, 03:03:49 PM
What do you not understand? The pseudo code basically explains it all.
Title: Re: PING sensor
Post by: dellagd on March 11, 2009, 03:27:45 PM
sry I am new to programming(in robotics I mean)
all of the comments makes it confusing
which code do I use?
do I copy and paste the 2nd and 3rd bodies of code into my compiler?(using the $50 robot board)

what do I include at the top of my code?

Title: Re: PING sensor
Post by: pomprocker on March 11, 2009, 03:31:22 PM
Try the one I wrote:

http://www.societyofrobots.com/member_tutorials/node/174 (http://www.societyofrobots.com/member_tutorials/node/174)