Hi,
While I was following your code, I observed that /hokuyo_points topic contains a set of 8 data values and then the index of the data as per valid range position in /scan topic arrives. I looked into all the header files and all other corresponding functions relevant to this code and the spin_hokuyo package. I am unable to understand where from does this 8 data generate. If I try to relate this with PointCloud2 data fields, I could not correlate them with any meaningful x,y,z coordinates. Is it anyway related to geometry_msgs/TransformStamped Message. There also, translation and rotation comprises of 7 data and frame_id and header comes separately. I checked the /tf topic which provides the translation and rotation. Can you please help me to figure out what I am actually missing here?
Also, projectLaser has been used here and not the transformLaserScanToPointCloud.
thanks,
Anindya
Hi,
While I was following your code, I observed that
/hokuyo_pointstopic contains a set of 8 data values and then theindexof the data as per valid range position in/scantopic arrives. I looked into all the header files and all other corresponding functions relevant to this code and thespin_hokuyopackage. I am unable to understand where from does this 8 data generate. If I try to relate this withPointCloud2data fields, I could not correlate them with any meaningfulx,y,zcoordinates. Is it anyway related togeometry_msgs/TransformStamped Message. There also,translationandrotationcomprises of 7 data andframe_idandheadercomes separately. I checked the/tftopic which provides thetranslationandrotation. Can you please help me to figure out what I am actually missing here?Also,
projectLaserhas been used here and not thetransformLaserScanToPointCloud.thanks,
Anindya