Robotics-Robot Perception (Mapping)

Source: Internet
Author: User

For mobile robots, the most attractive is slam, called moving Robot crown jewel. Perception Services for Slam,motion plan based on SLAM. Slam plays the most important role in the whole problem frame of mobile robot. In order to focus on mapping, this chapter assumes that location is known.

1. Metric Map

The trajectory planning task is done on the basis of metric map. Of course, the highest level is the semantic map, the language intention is the future research hotspot direction. The most difficult to obtain metric Map is: 1, sensor noise (may be solved by PGM; 2, the robot is moving (location problem);

The common map is based on the UGV, and the maps used are occupancy map, the same as in the trajectory planning column, with 0 for the unreachable area, 1 for the area that can be reached.

  

2. Naive solution of sensor noise problem

The method to solve the sensor noise problem is to model the sensor, which is a probabilistic model:

  

For a given observation, its factor as above, when the value of the same XY is observed in successive n times, the joint CPD can be obtained by using factor product, and the map algorithm is run on joint CPD to obtain the final maps. On the basis of the general solution, it is true that the algorithm is designed, but the mapping problem we are facing is too naive, and we do not need such a complicated means.

  

A odd is defined here to indicate the probability of occurrence or not. In other words, it is the probability ratio of the sensor error, which is an estimate of the amount. For example, the sensor detects that the odd of an object is 2, and the odd with no object is 3.

Expand the odd according to the Beyes formula:

  

where P (m = 1|z)/p (m = 0/z) represents the value of odd after the measurement is completed, it equals the previous odd of the measured value.

In other words, we just need to define a priori diagram and Log-odd-meas.

3, Mapping algorithm

All things are always easier said than done. Even if it is such a naive map, the real coding is still very difficult. In particular, how to efficiently achieve the update of the map, in addition, each time the robot emitted a laser line up to thousands, each pose to update the first point. For this problem, I designed the parallel algorithm, even in parallel conditions, the generation of a map is nearly 20s.

The algorithm flow is as follows:

1. Transform the laser-hit point into the global coordinate system

2, using Breshenman algorithm, to obtain the path of laser through

3. Get occupied map and free map

4, update the map.

The picture on the left is a single measurement, which is the measurement result of a robot's posture. Obviously, in a place close to the robot, the noise is severe. The image on the right is the final map of the robot after moving in space.

4, 3D Mapping

For 2-dimensional maps, we use Free+occupy to store obstructions in space. However, there are still few places with obstacles, or the map is sparse.

For 3-dimensional data, we use 3-dimensional space to describe the obvious cost, which is when space is huge. At this point we choose the map, or the data structure is kd-tree and octree. This part of the content in the point cloud related blog has been introduced, do not repeat.

  

    

Robotics-Robot Perception (Mapping)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.