|
Re: Ultrasonic rangefinder code
There's no particular reason for the software to deal with distance in inches, or centimeters, or any "engineering" unit. We've usually done all the navigation using the equivalent of raw encoder or analog input counts.
For something like autonomous scripting we typically convert in the other direction, to turn familiar units like inches into the values the program likes.
|