LAMP icon indicating copy to clipboard operation
LAMP copied to clipboard

In KeyedScan there is no header info and time stamp

Open femust opened this issue 2 years ago • 0 comments

I think that during XYZ to XYZI conversions, in the function lamp_utils::ConvertPointCloud(new_scan, pub_scan) the header we missed to rewrite, and we have there "0" header (no frame id, no time stampl, no seq id). This is called in

void LampRobot::AddKeyedScanAndPublish(PointCloud::Ptr new_scan,gtsam::Symbol current_key)

Result of rostopic echo /spot3/lamp/keyed_scans/scan/header

seq: 0
stamp: 
  secs: 0
  nsecs:         0
frame_id: ''
---
seq: 0
stamp: 
  secs: 0
  nsecs:         0
frame_id: ''
---
seq: 0
stamp: 
  secs: 0
  nsecs:         0
frame_id: ''
---
seq: 0
stamp: 
  secs: 0
  nsecs:         0
frame_id: ''
---

I'll fix that

femust avatar Aug 15 '22 13:08 femust