Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add offset_time field for pointcloud2 msg #16

Open
MerdanBay opened this issue Feb 4, 2022 · 0 comments
Open

add offset_time field for pointcloud2 msg #16

MerdanBay opened this issue Feb 4, 2022 · 0 comments

Comments

@MerdanBay
Copy link

Since point time stamp is coming handy in most of algorithms, is there any reason we don't publish pointcloud2 msg with offset_time extended field, shown as follow. if i remember correctly someone already did this in ros1 driver for lddc.cpp

  cloud.fields[6].offset = 18;
  cloud.fields[6].name = "offset_time";
  cloud.fields[6].count = 1;
  cloud.fields[6].datatype = sensor_msgs::msg::PointField::UINT32;  

void Lddc::InitPointcloud2MsgHeader(sensor_msgs::msg::PointCloud2& cloud) {

if this is considerable, i don't might to do a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant