14 releases
new 0.3.1 | Mar 13, 2023 |
---|---|
0.3.0 | Mar 7, 2023 |
0.2.0 | Feb 14, 2023 |
0.1.6 | Aug 26, 2020 |
#42 in Machine learning
202 downloads per month
2.5MB
10K
SLoC
Rerun Rust logging SDK
Rerun is an SDK for logging computer vision and robotics data paired with a visualizer for exploring that data over time. It lets you debug and understand the internal state and data of your systems with minimal code.
cargo add rerun
rerun::MsgSender::new("points")
.with_component(&points)?
.with_component(&colors)?
.send(&mut rerun::global_session())?;
rerun::MsgSender::new("image")
.with_component(&[rerun::components::Tensor::from_image(image)?])?
.send(&mut rerun::global_session())?;
Getting started
Library
You can add the rerun
crate to your project with cargo add rerun
.
To get started, see the examples.
Binary
You can install the binary with cargo install rerun
This can act either as a server, a viewer, or both, depending on which options you use when you start it.
Running rerun
with no arguments will start the viewer, waiting for an SDK to connect to it over TCP.
Run rerun --help
for more.
Running a web viewer
The web viewer is an experimental feature, but you can try it out with:
cargo install --features web rerun
rerun --web-viewer ../nyud.rrd
Dependencies
~27–69MB
~1M SLoC