Giter Club home page Giter Club logo

slamrobot's Introduction

Hi there ๐Ÿ‘‹

slamrobot's People

Contributors

thommynator avatar

Stargazers

 avatar

Watchers

 avatar

slamrobot's Issues

Driving backwards & forwards repeatedly leads to changing path

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.

Optimize RANSAC wall detection

General

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.

Details

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.

Example

Horizontal RANSAC Line:
horizontalransac

Vertical RANSAC Line:
verticalransac

As you can see in the images, the vertical walls are not detected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.