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.0a2-cp312-cp312-manylinux_2_28_x86_64.whl (40.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a2-cp312-cp312-macosx_11_0_arm64.whl (34.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dimos_viewer-0.30.0a2-cp311-cp311-manylinux_2_28_x86_64.whl (40.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a2-cp311-cp311-macosx_11_0_arm64.whl (34.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dimos_viewer-0.30.0a2-cp310-cp310-manylinux_2_28_x86_64.whl (40.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a2-cp310-cp310-macosx_11_0_arm64.whl (34.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file dimos_viewer-0.30.0a2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 684c15c66bd32b0f065dda79cef582356975972f7f0e0c5337ec621d34481e2b
MD5 b51cc342715b878e8f7c451a0b4308d8
BLAKE2b-256 89cd28f099b33fd9d6487d849f47409721f9dde7d7435571b06030d8757852af

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a2-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.0a2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 559cfb985028e7acf956ac98432693211459733221c87b8be920d0eb04eb6510
MD5 87cc8a6e15f8fd89d6c78d04d15f1c46
BLAKE2b-256 44bc88d4ecaf1e013b4125d860be20b4194545bd83436268835847e5d556b589

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a2-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.0a2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b936d624708afe4795e1b88fed908576252435a2419b037da2de7c558590a870
MD5 d9a3fb8d807d7009e76ceb2d22bf8a08
BLAKE2b-256 96eae49443c35d8fdbdcbcfbcdbc7a96a19dd28c15a2ac70b94baad1d4dda862

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a2-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.0a2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a1f1f0e2dd9f6977903ec33cddfcad18f48c670d10bcb0a5313bd211f323d6e
MD5 ad66409a05b8e06cb3fc992c32c41bc0
BLAKE2b-256 8605d92d21223d0e3c0b51c264fb4ab1575eae7e76e776279ff7d2ba28291152

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a2-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.0a2-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 600dcb51bbdb239b57c6826493b45ae0fab6b760d42350fca849f1815a6c4b85
MD5 8cbb6945f9429fb2f0cf62afb62e07d2
BLAKE2b-256 2d8e75113b27ec4e63e42e361fd5acd09b65c17a8c67963b745834ecbece0004

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a2-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.0a2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e64a509d617a4111106b661073e8ef7f416a1007a4c273bc2b6687128c63861
MD5 445f4c206571a5ab822e5ca796bf3cac
BLAKE2b-256 5fc097ed394f078e3e50a55076a86517bf422f75e75f0f85ccfae824c00877b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.30.0a2-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