I guess you have been looking at this answer. Looks like the next thing yo need to do is convert the velodyne_msgs/VelodyneScan into sensor_msgs/PointCloud2 by using the CloudNodelet from velodyne_pointcloud or the cloud_node.