Open eric26009 opened 5 years ago
BLAM does not run visualization by default. It uses rviz for this purpose, which must be started separately.
When running BLAM, in a separate terminal, this command, replacing "path" with the path to your blam-master directory: rviz -d /path/blam-master/internal/src/blam_example/rviz/lidar_slam.rviz
From here you can use screenshots to capture images.
To get the trajectory data, I have been using this python script. It is a modified version of a script to capture the trajectory of another SLAM program, loam velodyne. It simply captures the trajectory data sent by BLAM over ROS and writes it to a file.
https://github.com/BW25/record_blam_odometry/blob/master/record_blam_odometry.py
@eric26009 You can use
rosrun pcl_ros pointcloud_to_pcd input:=/blam/blam_slam/octree_map_updates
to make PCD files of messages coming to the /blam/blam_slam/octree_map_updates topic.
I get the following message after running the test_offline.launch:
I am confused as to what is supposed to after after completing this process. I am looking to save a PCD file of the map generated or some other from of the map.