SimpleRobotWithBayesRule()
Demonstrates using Bayes Filter to localize a robot using a motion model and a noisy wall sensor. The environment is simple: a unit-size robot in a grid world composed of obstacles or free spaces. The robot has five actions: {left,up,right,down,scan} for moving in the cardinal directions or scanning the environment.
The robot is low quality and so moves probabilistically, as described in the function moveRobot()
Similarly, the scanner is low quality. The 'scanner' approximates 4 capacitive sensors that detect (with some probability of error) if a wall adjacent to the current cell. This is described in the function applyScan().
The robot is moved by using the arrow keys. The screen displays the probability mass function, the obstacles, and you can hide/unhide the robot by pressing the 'h' key.
Based on algorithm "Algorithm Bayes_filter" on page 27 of book "Probabilistic Robotics", http://www.probabilistic-robotics.org
Zitieren als
Aaron T. Becker's Robot Swarm Lab (2024). SimpleRobotWithBayesRule() (https://www.mathworks.com/matlabcentral/fileexchange/49698-simplerobotwithbayesrule), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Robotics and Autonomous Systems > ROS Toolbox >
- Engineering > Electrical and Computer Engineering > Robotics >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |