How to represent laser scan data in only positive axis?

조회 수: 2 (최근 30일)
Kamalova Albina
Kamalova Albina 2020년 1월 28일
답변: Remo Pillat 2020년 11월 6일
I was using robotics.OccupancyGrid class for simulating exploration by inserting rays.
Now, I am trying to use real robot (turtlebot) with real sensor (kinect) and OccpancyGrid map.
The problem is: the sensor ranges in negative and positive Y-asix. Like that:
But, OccupancyGrid map doesn't represent the negative axis:
For example, when I use raycast and insertRay methods of OccupancyGrid class, it returns me errors that negative values of robot pose and insert rays are not allowed.
What can I do? Is it possible somehow to extend negative axis in OccupancyGrid map?
  댓글 수: 2
Ajay Pattassery
Ajay Pattassery 2020년 2월 19일
What is the output of a single scan of your Lidar Range Sensor? Is it range values and corresponding angles in radian?
Kamalova Albina
Kamalova Albina 2020년 5월 19일
Yes, there are range and angle values..
I solved this problem using buildMap function: https://www.mathworks.com/help/nav/ref/buildmap.html

댓글을 달려면 로그인하십시오.

답변 (1개)

Remo Pillat
Remo Pillat 2020년 11월 6일
It sounds like Kamalova was able to solve this by using the buildMap function: https://www.mathworks.com/help/nav/ref/buildmap.html.
Posting this again as an answer.

카테고리

Help CenterFile Exchange에서 Mapping에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by