chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let rec =
|
||||
rerun::RecordingStreamBuilder::new("rerun_example_getting_started")
|
||||
.recording_id("run-1")
|
||||
.save("run-1.rrd")?;
|
||||
|
||||
for t in 0..10 {
|
||||
rec.set_time_sequence("step", t);
|
||||
let tf = t as f64;
|
||||
rec.log("/arm/shoulder", &rerun::Scalars::single((tf * 0.5).sin()))?;
|
||||
rec.log("/arm/elbow", &rerun::Scalars::single((tf * 0.5).cos()))?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user