ROS bag to 3D point cloud map, online¶
MOLA cloud · online tool
Upload a recording from a 3D LiDAR, with an IMU and a GNSS receiver if you have them, and get back a consistent 3D map: LAS and PLY point clouds, the trajectory, and a 3D viewer in your browser. It runs the same LiDAR SLAM that MOLA runs on robots, with nothing to install.
Build a map online What you get
Sign in with GitHub or an email address.
- InputROS 2 bag (
.mcapor a zipped.db3) or ROS 1.bag - SensorsA 3D LiDAR; optionally an IMU, GNSS and wheel odometry
- MethodLiDAR-inertial SLAM with loop closure, or LiDAR odometry
- OutputLAS, PLY, trajectory, MOLA maps; KMZ and WGS-84 with GNSS
How it works¶
- Upload the bagFrom the browser, with uploads that resume if the connection drops, or by URL from S3 (public or presigned links), Zenodo, Hugging Face or Google Cloud Storage.
- Check the topicsThe app reads the bag and proposes the LiDAR, IMU and
GNSS topics, and the vehicle frame from
/tf. Change them if needed. - Choose the methodSLAM with loop closure for a globally consistent map, or plain odometry. Recordings without an IMU use LiDAR-only odometry.
- Download the mapFollow the progress and the log live. You get an email when the map is ready.
As an example, a 961 m route around a university campus, recorded for 14 minutes, gave a map of 9.8 million points with 18 loop closures, in 15 minutes for the whole job.
What you get¶
Result |
Details |
|---|---|
Point cloud map |
LAS and PLY files, for CloudCompare, QGIS and surveying or GIS software. |
Trajectory |
TUM format, corrected by the loop closures. The odometry-only trajectory is included too. |
MOLA maps |
The metric map ( |
3D viewer |
In the browser, also on phones: color by height or intensity, trajectory overlay, full screen. |
Report |
Map and trajectory previews, and statistics: duration, distance, loop closures and number of points. The log lists the exact MOLA version used. |
Geo-referenced maps with GNSS¶
When the bag has a sensor_msgs/NavSatFix topic, the map is geo-referenced. The app lists the
GNSS receivers in the recording, best first, and marks RTK receivers. With the SLAM method, the
GNSS fixes go into the SLAM graph, with settings tuned for RTK precision when the receiver
reports it.
You also get:
A LAS point cloud in WGS-84 coordinates.
A KMZ file to open the map and the trajectory in Google Earth.
The trajectory in WGS-84, as CSV, and the geo-reference itself (
georef.yaml).An aerial view in the 3D viewer: the map over orthophotos where free national imagery exists (Spain, Switzerland, the Netherlands, Austria, France, the United States and Japan), and over OpenStreetMap elsewhere.
See Georeferencing for how MOLA fuses GNSS with LiDAR odometry.
What your recording needs¶
A 3D LiDAR recorded as
sensor_msgs/PointCloud2, ideally with per-point timestamps so that each scan can be corrected for the motion during the sweep./tfand/tf_staticwith the pose of each sensor on the vehicle. Without a vehicle frame, the map is built in the LiDAR frame and the IMU is not used.Optionally, an IMU (
sensor_msgs/Imu), a GNSS receiver (sensor_msgs/NavSatFix) and wheel odometry (nav_msgs/Odometry).
Run MOLA on your own ROS 2 bag explains how to check a bag, and the same advice applies here.
Frequently asked questions¶
- Which LiDARs are supported?
Any 3D LiDAR recorded as
sensor_msgs/PointCloud2, such as Ouster, Velodyne or RoboSense sensors. See Sensors and datasets.- Does it work without an IMU?
Yes. Choose LiDAR odometry, which uses the LiDAR alone. An IMU makes the result more robust in fast motion and in places with little structure.
- Can I use the map to localize a robot?
Yes. Download the
.mmmetric map and use it with MOLA’s localization mode.- Where is my data processed?
On our server in Spain (EU). Each job runs in an isolated container with no network access.
- Can I build the same map on my own computer?
Yes. MOLA is open source: follow Build a map. MOLA cloud runs the same software, without the installation and with the settings already chosen for you.
Turn your ROS bag into a map
Upload a LiDAR recording and download LAS and PLY files.