Skip to content

Commit

Permalink
perception: make bag publisher more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed May 22, 2021
1 parent 36f4bd6 commit c8008d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int main(int argc, char** argv)
ros::AsyncSpinner spinner(1);
spinner.start();

ros::Publisher point_cloud_publisher = nh.advertise<sensor_msgs::PointCloud2>("/camera/depth_registered/points", 1);
ros::Publisher point_cloud_publisher = nh.advertise<sensor_msgs::PointCloud2>("/camera/depth_registered/points", 2, true);

// Variable holding the rosbag containing point cloud data.
rosbag::Bag bagfile;
Expand Down

0 comments on commit c8008d6

Please sign in to comment.