We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are a few problems with this function in terms of custom fields:
This is a code snippet from the rosToOpen3d function:
sensor_msgs::PointCloud2ConstIterator<float> ros_pc2_fx(*ros_pc2, ros_pc2->fields[num_fields].name); sensor_msgs::PointCloud2ConstIterator<float> ros_pc2_fy(*ros_pc2, ros_pc2->fields[num_fields].name); sensor_msgs::PointCloud2ConstIterator<float> ros_pc2_fz(*ros_pc2, ros_pc2->fields[num_fields].name); std::vector<Eigen::Vector3d> o3d_TensorList_fields; for (size_t i = 0; i < ros_pc2->height * ros_pc2->width; ++i, ++ros_pc2_fx, ++ros_pc2_fy, ++ros_pc2_fz) { o3d_TensorList_fields.push_back(Eigen::Vector3d(*ros_pc2_fx, *ros_pc2_fy, *ros_pc2_fz)); } open3d::core::Tensor o3d_tpc_fields = open3d::core::eigen_converter::EigenVector3dVectorToTensor(o3d_TensorList_fields, dtype_f, device_type); o3d_tpc.SetPointAttr(ros_pc2->fields[num_fields].name, o3d_tpc_fields);
The text was updated successfully, but these errors were encountered:
Yes, this should be corrected, there is no reason for the fields to be repeated. Please feel free to submit a PR but we will try to fix this asap.
Sorry, something went wrong.
No branches or pull requests
There are a few problems with this function in terms of custom fields:
This is a code snippet from the rosToOpen3d function:
The text was updated successfully, but these errors were encountered: