Robot Walk Around

For a Robotics class assignment, I had to program a robot with obstacle avoidance behavior, such that it ends up walking around an unknown environment, without hitting anything.

The behavior was tested on Kurt robot in USARsim environment. The obstacle avoidance was very simple. The speed was linearly controlled by the distance to any obstacle in front of the robot: If there were no obstacles for X meters in front of the robot, the robot would drive at full speed; if there was an obstacle at Y meters in front of the robot, the robot would have no net forward speed; and in other cases, the speed was calculated linearly between X and Y. The driving direction was determined by applying a fuzzy logic control over the laser scanner readings to assign weights to different directions: If the distance to obstacle on the left was larger than on the right, the robot turned left. This can be visualised from the lecture notes from Dr. Andreas Nuechter:

However, running the plain code lead to a couple of tricky situations where the robot got stuck, such as when it could not “see” the glass or the legs of the table gave it false sense of free-space. So we modified the code so that it makes a turn if it is stuck somewhere, and to give more importance to larger openings it sees via the laser scanner.

The result can be seen below:


Walk Around.

Submission for:
Cristina Stancu-Mara,
Mohammad Faisal,
Stanislav Gutev and
Vladislav Perelman.

This entry was posted in Code, Studies and tagged , , , , , , , , , . Bookmark the permalink.

4 Responses to Robot Walk Around

  1. Elliptical Comparison says:

    Strongly suggest adding a “google+” button for the blog!

  2. Ollie says:

    Haha I remember that assignment too. Infact, I was just cleaning out one of my old HDDs and found our video 😀 Good times 😉

  3. Noble Rupprecht says:

    Hey. Basically wanted to write and mention that I liked this content. I’ll be bookmarking your blog and returning to see if you post any new ones. Thanks so much!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.