We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f5a35 commit eeb63aeCopy full SHA for eeb63ae
rerun_bridge/src/rerun_bridge/rerun_ros_interface.cpp
@@ -334,9 +334,9 @@ void log_point_cloud2(
334
} else if (field.name == options.colormap_field.value_or("rgb")) {
335
if (field.datatype == sensor_msgs::msg::PointField::UINT32 ||
336
field.datatype == sensor_msgs::msg::PointField::FLOAT32) {
337
- has_rgb = true;
338
- rgb_offset = field.offset;
339
- } else {
+ has_rgb = true;
+ rgb_offset = field.offset;
+ } else {
340
rec.log(entity_path, rerun::TextLog("Only UINT32 and FLOAT32 rgb field supported"));
341
continue;
342
}
0 commit comments