thommynator / slamrobot Goto Github PK
View Code? Open in Web Editor NEWThis p5 project is about a virtual self-driving robot, which uses SLAM to measure its surroundings, create a map and localize itself in this map.
License: MIT License
This p5 project is about a virtual self-driving robot, which uses SLAM to measure its surroundings, create a map and localize itself in this map.
License: MIT License
Description:
If the robot drives forward and backward multiple times, it won't drive on the same line/path.
It shifts to the side during this process.
This problem only appears, if the robot is not driving in multiples of 90ยฐ, e.g. 45ยฐ.
Hint:
After computing the new pixel position (moveForward(), moveBackward) of the robot, the position is rounded. This rounding error leads to wrong positions.
RANSAC is used to find landmarks (i.e. walls) in the environment of the robot.
This works fine for horizontal (parallel to x-axis) walls.
The walls are represented as linear functions, that are estimated by a least squares estimation.
This estimation doesn't work for perfectly vertical aligned points, i.e. for each wall parallel to the y-axis.
Each measurement consists of a x-coordinate and y-coordinate.
If all measurements are vertical aligned, all their x-coordinates are equal.
The least squares estimation tries to find both parameters (a & b) of a linear function: f(x) = a * x + b
Problem: There is no solution for this equation, if all points have the same x-coordinate but different y-coordinates.
I need a more robust way to estimate vertical lines.
As you can see in the images, the vertical walls are not detected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.