IRobot Create Force Field Obstacle Avoidance

Posted on 29/07/2010 by madsci1016
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

While waiting for parts to come in for SAGAR (my current robot, to be posted soon), 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 ...


IRobot Create Force Field Obstacle Avoidance

While waiting for parts to come in for SAGAR (my current robot, to be posted soon), 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.

 

Avoid Obstacles and find free space

  • CPU: Axon 2
  • Sensors / input devices: Sharp IR
Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post