Obstacle Avoidance – Self Guided

One of the unique things that was learned from the Arduino Rover, was the design of basic avoidance routines. The routines are almost always unique to the platform. This is true even if using multiple RC cars. The RC cars drives will respond and handle differently based on a number of basic factors to include traction, weight and speed. This becomes very obvious when working with these types of platform.

This is an example of one of my avoidance routines for this platform.

else if (distance < 20){
Serial.println(” stop you super start”);

This video is the above subroutine in action

This is why it becomes so important to test the routines. There are a number of things that can be done to improve the platform to include keeping track of the number of backups. This data could be used as an escape method from constantly running into a wall. The addition of an Android phone would greatly help if one was trying to trek across a field. Using GPS data to perform long distance navigation and relying on the Arduino to perform all avoidance tasks within a two meter range.

The last portion of any obstacle avoidance scheme and probably the most important is realize what your platform can do. A $10 RC car will not traverse wide open grassy areas nor will it fly over obstacles. Keep speed to a controllable level to prevent unforeseen crashes. Keep your code short. This will speed up reaction times rather than hitting something then backing up.

Fecke – KJ4ZRZ

Arduino Source Code :: JohnnyRC