If you are the original author, please access your User Control Panel and update it.
This is my second robot, it is the same basic "cutting board" robot but now using the Sharp GP2Y0A02YK0F to avoid objects and walls. The code have comments and functions in portuguese like frente() = forward(), it was the way i found to undestand how to do it and to help other people from my country to understand it too. I think it is very basic code and if you have some advice to improve it .. it is welcome! After testing i found that the values readed by the sensor have the following ...
This is a companion discussion topic for the original entry at https://community.robotshop.com/index.php/robots/show/ir-sensor-robot