Skip to main content

Interactive Rerun viewer for DimOS with click-to-navigate support

Project description

Advanced example showing how to control an external application from the Rerun viewer, by extending the viewer UI.

Custom Viewer Callback example screenshot

[!NOTE] #2337: In order to spawn a web viewer with these customizations applied, you have to build the web viewer of the version yourself. This is currently not supported outside of the Rerun repository.

Overview

This example is divided into two parts:

In the app, an additional gRPC server is opened to allow the viewer to send messages to the app. Similar to the extend_viewer_ui example, the viewer is wrapped in an eframe app, which allows us to handle the extra communication logic and define our own control UI using egui.

The communication between the viewer and the app is implemented in the comms module. It defines a simple protocol to send messages between the viewer and the app using bincode. The protocol supports basic commands that the viewer can send to the app, such as logging a Boxes3D or Point3D to an entity, or changing the radius of a set of points that is being logged.

Usage

First start the Rerun SDK app with cargo run -p custom_callback --bin custom_callback_app, and then start the extended viewer with cargo run -p custom_callback --bin custom_callback_viewer.

Relationship with Viewer callbacks

The [re_viewer] crate also exposes some baseline Viewer events through the StartupOptions.on_event field, which can exist alongside your own events from widgets added by extending the UI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dimos_viewer-0.30.0a6.dev99-cp312-cp312-manylinux_2_28_x86_64.whl (41.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a6.dev99-cp312-cp312-manylinux_2_28_aarch64.whl (39.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

dimos_viewer-0.30.0a6.dev99-cp312-cp312-macosx_11_0_arm64.whl (35.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dimos_viewer-0.30.0a6.dev99-cp311-cp311-manylinux_2_28_x86_64.whl (41.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a6.dev99-cp311-cp311-manylinux_2_28_aarch64.whl (39.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

dimos_viewer-0.30.0a6.dev99-cp311-cp311-macosx_11_0_arm64.whl (35.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dimos_viewer-0.30.0a6.dev99-cp310-cp310-manylinux_2_28_x86_64.whl (41.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a6.dev99-cp310-cp310-manylinux_2_28_aarch64.whl (39.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

dimos_viewer-0.30.0a6.dev99-cp310-cp310-macosx_11_0_arm64.whl (35.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 56fa9139c49ec4bf96b12d6e98d3de3319a66876374ae57bda4534ab7a347765
MD5 90106e10e57715ecd1a4b4b0337cc5f3
BLAKE2b-256 6deb08922721c74ceaa99a824258db02c438d50f77c22ff80332cbc4b1a8db7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0f6acfa0de3083e746ac43fe0d0a328d624bcb859dc698b1bbc592f444f52f15
MD5 23ea5f417ce9d78cc34bb659eab43977
BLAKE2b-256 2d8ed482b0b9379c40ddd7547600543ce726fc3b5d10e396a876f22b2d76d0e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp312-cp312-manylinux_2_28_aarch64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc82061c2c025684c0fbed5392f793d137b1b0fc3aa1b601988bf4d2ee88aa27
MD5 3f888c782195887c4f432eeea479dcf4
BLAKE2b-256 1bb1efcea9b9e21c4ab75e2df016a27e5045e30d91a494465ab0cc627d8d8bc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e844015f3ad193d50201c39abd3e3f34abbf03adbfb1075468696c1236df1409
MD5 c45dafa49dbdd7179108a0b78f10cbcd
BLAKE2b-256 462a4bd02c3d79df2aefc5be47afda6b95121937cef0a3f6b15d071691ec3ca7

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a0fae6f2077fc6ceb25e1ed33fb7ccf183ef3e2a30456aa5462b953c1419e547
MD5 7873fd1c4f1505ef480b3e5f4ffa7d2f
BLAKE2b-256 de2e9b4252a12c4b641ab1479a6a4d3d576e75fc42ca2a797d88e2e0626abda0

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp311-cp311-manylinux_2_28_aarch64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0387201efd1260f968853f0d7863876b6db375b2af15b22f221a893fcce6549c
MD5 0fca7582f986dcdced363a7b0e0c5389
BLAKE2b-256 937c7ee6049a753c01ccbe8357f9c5f789378103b87331e5ca7977f05adf5c42

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b954083fcb8951641554fdea95425b3b5ac9415cd1b65410a137d38d3dd57b8a
MD5 6c35ed0c314bec844b33019796154ce0
BLAKE2b-256 bbd91415d5d7e609d69b05e8e1167a66dd7cb78f3933205f9b321ae18233384c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f3bc243342131c8c2b653cc6b76f04d65aad525f5560829b78aa1a7d31a9d375
MD5 219df56aeec9107c5733e44ff765920b
BLAKE2b-256 e7ab0730fed402b3b92e35194f11b76119754d619fa6bab00a1932b5c78f87b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp310-cp310-manylinux_2_28_aarch64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dimos_viewer-0.30.0a6.dev99-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6.dev99-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfa57e68e8f4094d4a38d202414046fd2419ff2875ace3f16b8581c3106feca4
MD5 0078a5df55daffa0cbaabf168ac4cca3
BLAKE2b-256 3d0ed363be05f172bafe5f41a95db318891637e902c50edfdc642edec6bb5111

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a6.dev99-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build-viewer.yml on dimensionalOS/dimos-viewer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page