Irobot Create – Force Field Obstacle Avoidance

Bill | February 3, 2010 in Projects, Videos | Comments (2)

While waiting for parts to come in for SAGAR, I decided I’d kill three birds with one stone. I wanted to adapt my Irobot command code to be compatible with Webbot’s Lib, I wanted to test Webbot’s new Project designer, and I wanted to try out a Force Field Obstacle Avoidance Algorithm. This is what I came up with.

It’s an Irobot Create, controlled by an Axon 2 running Webbot’s Lib, a Sharp IR and a standard servo. Theoretically, obstacles in front of the robot will ‘repel’ it while free space ‘attracts’ it. The closer and more directly in the way an obstacle is, the more it ‘repels’ it away.

With Webbot’s new hardware project designer, it was a breeze to setup all the hardware, and I was programming in minutes. All in all my algorithm is only about 50 lines long. Everything else is taken care of by Webbot Lib and project designer.

Click to enlarge


2 Responses to “Irobot Create – Force Field Obstacle Avoidance”

RSS feed for comments on this post. TrackBack URL

  1. Comment by theodore flokosJune 14, 2010 at 5:04 am  

    Hello,can you tell me what type of capacitor did you use and how meny
    uf it is and for how many volt it is?

  2. Comment by Bill — June 14, 2010 at 7:59 am  

    I don’t know what I stuck in when i built this robot, but for a Sharp IR, anything over 10uF and over 5V will do fine.

Leave a Reply