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 696d9eb commit 5bb9bc6Copy full SHA for 5bb9bc6
examples/rust/animated_urdf/src/main.rs
@@ -12,6 +12,7 @@ struct Args {
12
rerun: rerun::clap::RerunArgs,
13
}
14
15
+use rerun::components::Translation3D;
16
use rerun::external::re_data_loader::UrdfTree;
17
use rerun::external::{re_log, urdf_rs};
18
@@ -56,6 +57,7 @@ fn run(rec: &rerun::RecordingStream, _args: &Args) -> anyhow::Result<()> {
56
57
fixed_axis,
58
dynamic_angle as f32,
59
))
60
+ .with_translation(Translation3D::from(joint.origin.xyz.0))
61
.with_parent_frame(joint.parent.link.clone())
62
.with_child_frame(joint.child.link.clone()),
63
)?;
0 commit comments