Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ros::Time time_st = ros::Time::now ();

msg->header.stamp = time_st.toNSec()/1e3;

From what I saw in the pcl_conversion header. for hydro there is no toPCL for time but for indigo there is.

Probably the wiki should be updated since hydro is using the newer PCL.