Skip to content

Commit 53214d2

Browse files
committed
Log root frame identity (for now)
1 parent ebc4bb0 commit 53214d2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

crates/store/re_data_loader/src/loader_urdf.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use std::{
66
use ahash::{HashMap, HashMapExt as _, HashSet, HashSetExt as _};
77
use anyhow::{Context as _, bail};
88
use itertools::Itertools as _;
9+
use re_log::warn;
910
use urdf_rs::{Geometry, Joint, Link, Material, Robot, Vec3, Vec4};
1011

1112
use re_chunk::{ChunkBuilder, ChunkId, EntityPath, RowId, TimePoint};
@@ -290,6 +291,14 @@ fn log_robot(
290291
timepoint,
291292
&CoordinateFrame::update_fields().with_frame_id(urdf_tree.root.name.clone()),
292293
)?;
294+
// TODO: Do we always need to do that?
295+
send_archetype(
296+
tx,
297+
store_id,
298+
entity_path.clone(),
299+
timepoint,
300+
&Transform3D::update_fields().with_child_frame(urdf_tree.root.name.clone()),
301+
)?;
293302

294303
walk_tree(
295304
&urdf_tree,

0 commit comments

Comments
 (0)