Skip to content

Commit 6921524

Browse files
authored
Add CoordinateFrame output column to PoseInFrame->InstancePoses3D lens (#12018)
1 parent 99ffdbe commit 6921524

File tree

1 file changed

+5
-1
lines changed
  • examples/rust/mcap_protobuf/src

1 file changed

+5
-1
lines changed

examples/rust/mcap_protobuf/src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use arrow::array::{Float32Array, Float64Array, ListArray};
22

33
use re_log_types::TimeType;
44
use rerun::{
5-
EncodedImage, InstancePoses3D, Transform3D, TransformAxes3D, VideoStream,
5+
CoordinateFrame, EncodedImage, InstancePoses3D, Transform3D, TransformAxes3D, VideoStream,
66
dataframe::EntityPathFilter,
77
external::re_log,
88
lenses::{Lens, LensesSink, Op, OpError},
@@ -181,6 +181,10 @@ fn main() -> anyhow::Result<()> {
181181
Op::func(list_xyzw_struct_to_list_fixed),
182182
],
183183
)
184+
.component(
185+
CoordinateFrame::descriptor_frame(),
186+
[Op::access_field("frame_id")],
187+
)
184188
})?
185189
.output_static_columns(|out| {
186190
let axes = transform_axes(1.0);

0 commit comments

Comments
 (0)