ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to generate a point cloud map?

asked 2020-02-18 16:54:59 -0500

omkard gravatar image

updated 2022-05-23 09:53:26 -0500

lucasw gravatar image

Hello all,

I am trying to generate a 3D point cloud map of a small route in my university. May I please know how can this be achieved? What lidar sensor is needed and how do I convert the lidar data into a 3D point cloud map to use it with the Autoware?

Please advise! Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-02-18 21:25:54 -0500

Masaya Kataoka gravatar image

updated 2020-02-18 21:26:04 -0500

Autoware has a ndt_mapping node. You can use it in computing tab in runtime manager!

edit flag offensive delete link more

Comments

Hi @Masaya Kataoka,

I am doing this to collect the point cloud map before going for a field test from here:

Build a pointcloud map Autoware provides a 3D mapping module based on simultaneous localization and mapping (SLAM). It builds a local-coordinate pointcloud map while manually driving the vehicle. You should be careful about a loop closure constraint. If you drive too far from the origin, the resulting pointcloud map might be misaligned with the real geographical features, unless you use the Graph SLAM method. That is, the pointcloud map built by Autoware alone should not be large-scale.

Do I do the above mentioned using the ndt_mapping node in Autoware?

Thanks!

omkard gravatar image omkard  ( 2020-02-19 07:42:52 -0500 )edit

This one worked for me.

omkard gravatar image omkard  ( 2020-03-03 13:51:03 -0500 )edit

@omkard, did you remind the steps to execute ndt_mapping? I created one from a rosbag file, but when I load the created map to reexecute the rosbag, the car and the map are too far away. Did you have this issue? Thank you.

pedroexe gravatar image pedroexe  ( 2020-04-07 09:36:36 -0500 )edit

@pedroexe Here is how created the point cloud map from the recorded rosbag (The rosbag contained the recorded velodyne lidar data).

  1. First open the simulation tab in ARM and load your .bag file. Wait for the .bag file to load. Hit play and pause immediately after that.
  2. Now go to setup tab and load TF and Vehicle Model (click on those buttons until they turn blue).
  3. Go to computing tab and select ndt_map.
  4. Go back to simulation and hit pause now. You should see the ndt_computing in the terminal.
  5. Wait for all the points to be processed. You could see something like this with Processed/Input.

    Sequence number: 7376 Number of scan points: 22288 points.

  6. Once you see that all the points are processed, go back to computing tab and click on [app] beside ndt_map.

  7. Select your .pcd output file location and click on 'PCD OUTPUT' button.
  8. Wait for a ...
(more)
omkard gravatar image omkard  ( 2020-04-07 14:48:27 -0500 )edit
0

answered 2020-02-18 19:44:11 -0500

Check Google cartographer,

Their ROS package can provide both 2D grid map and 3D point cloud maps. If you use a 3D lidar (Velodyne or Hokuyo) with a quality IMU you could get pretty accurate 3D point cloud maps. I did use google Cartographer in one of my project back in grad school, its a little bit complicated to configure at first though but IMO it worths to the end result. Before you start to create your own map, You may download their sample .bag files and try them ,

that will help you to understand if it is what you are looking for.

refer to their getting started page here

edit flag offensive delete link more

Comments

Hello @atas,

I have a Velodyne 16 beam sensor and will try that way and post the result here. Thanks a lot.

omkard gravatar image omkard  ( 2020-02-19 07:38:42 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-02-18 16:54:59 -0500

Seen: 3,293 times

Last updated: Feb 18 '20