ros / common_msgs

Commonly used messages in ROS. Includes messages for actions (actionlib_msgs), diagnostics (diagnostic_msgs), geometric primitives (geometry_msgs), robot navigation (nav_msgs), and common sensors (sensor_msgs), such as laser range finders, cameras, point clouds.
http://wiki.ros.org/common_msgs
179 stars 191 forks source link

NONE center aligned laser beam? #113

Closed BigBro2014 closed 6 years ago

BigBro2014 commented 6 years ago

As cheap LIDARs use triangular method to mesure distance, and the laser beam is not center aligned, the angle is not accurate. I suggest we add "x offset" to laser scan msg, so the gmapping_slam can get accurate reflection points.

laser beam * │ │ │ └─────(rotation center)

Does anynone have better ideas?

tfoote commented 6 years ago

Adding this field would be pretty disruptive for a lot of existing laser driver and bag files and adds complexity to the projections algorithms. If we were to make that change all of these things would need to be updated simlutaneously.

There are several current workarounds. One is to resample the points. Another is to simply ignore that extra geometry. Many of the triangulation based lasers do not have accuracy/precision smaller than the x offset except for very short range.

The most common solution is to have the driver go directly to point clouds instead of using the laser message such that it can deal with any of the unique geometry elements of that sensor directly.

BigBro2014 commented 6 years ago

Point cloud is a good way. Thanks @tfoote