|
|
| File Information |
| Description |
This program demonstrates obstacle avoidance/navigation a simulated two-wheel robotics platform. I simulate the drive train with the differential steering model, which is simple, but very useful model for robotic actuation. This type of drive system can drive straight, trace an arc, and turn in place.
The simulated robot makes its way around a simulated environment represented by a .png file where black represents walls, and white represents flat, clear terrain. The “environment” a black and white image. For testing, I include an organic-looking obstacle course and an “office” with square walls and corners.
The simulated robot wanders around the environment and covers most of the area without hitting walls. This is accomplished with this algorithm:
1. Go straight unless sensors are blocked
2. If one sensor is blocked, turn away from it
3. If both are blocked, turn towards the farthest
4. Turn until both sensors are free
5. Continue going straight (with random arcs)
Check this site for videos of the demo and more robotics, and computer vision projects.
[ http://www.shawnlankton.com/2006/02/robot-simulator/ ] |
| Required Products |
Image Processing Toolbox
|
| MATLAB release |
MATLAB 7.4 (R2007a)
|
| Zip File Content |
|
| Other Files |
robot_simulator/.zip, robot_simulator/course.png, robot_simulator/drawang.m, robot_simulator/drawbot.m, robot_simulator/office.png, robot_simulator/setup.m, robot_simulator/wander.m, robot_simulator/wander_simple.m
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 14 May 2008 |
jia qing
|
|
|
| 18 May 2008 |
jggg kjhh
|
|
|
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com