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

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a5-cp312-cp312-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

dimos_viewer-0.30.0a5-cp312-cp312-macosx_11_0_arm64.whl (35.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dimos_viewer-0.30.0a5-cp311-cp311-manylinux_2_28_x86_64.whl (41.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a5-cp311-cp311-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

dimos_viewer-0.30.0a5-cp311-cp311-macosx_11_0_arm64.whl (35.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dimos_viewer-0.30.0a5-cp310-cp310-manylinux_2_28_x86_64.whl (41.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

dimos_viewer-0.30.0a5-cp310-cp310-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

dimos_viewer-0.30.0a5-cp310-cp310-macosx_11_0_arm64.whl (35.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a5c12c4b1b8782a1d07b454d7ba2de24a079ce427aa0525826e237cfc325b719
MD5 eac12451bf6384d07156375b513d170f
BLAKE2b-256 23bfa3623d8d72e594a756254cf9b680074ff2104f95e77de5d87a221f00a2f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ef1a0602470bfa5eaec25f7eef9af9689b43f977ce59e153be8337a19f91d038
MD5 3ea41ebe3d4b431977101c52385237ed
BLAKE2b-256 0c695247a41d1d14672006f22e5bab0687fc0e988fbe2a983e2714be76748a4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6341cd67e4279ff49407b7b4ca18641bd40b3b9402381ac4daa702803e778522
MD5 1b01cae1bf98bb98d40ff04ab1a26bb9
BLAKE2b-256 98c7f51cf174ac612475ca33e8c0fdca94ee638a1410eb4ced6b11c95d2ae368

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95b44e3dc4752906585669cdaf7391c553adb6908e7adc0487d99435fed1e2b6
MD5 259cc8e9fc205b6afc82a664bd570141
BLAKE2b-256 60b101de5df0626c01a69adb81331653209ede817cff36c8a77985c335f62e06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 264cc8742e8881c10b17de7e745a8c9ebca72f38c52303576674f57e44fe9e00
MD5 e0f5d8bd15deee7a96e7579406e611b1
BLAKE2b-256 9e739b80388570024d38a01d1025c303f81fbe9e17d0b43338fc8d2b11ce520f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 841b04dbdfb446f5b0d3dce984c76869f23d859958920109344aa34641d3aa09
MD5 f977405b22d5cc0b490c6d27ad43c3c2
BLAKE2b-256 02f5eb2d37e49e084850d1511658a3935317684895bb38096a15531b3a276f62

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 382ad2becba91390e18f8d4959964e958b803543662828e3c6ccd32cfe90ffe9
MD5 d453bf25a0bfd7fd5b8eafa3575811ff
BLAKE2b-256 ea35987295c73cd49f85bf2101f6126816c4b117fc56934c35459d8ff4f558a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d9c42e42e8698565910485d7d85e9a86ff0ae8a1ea0ae7918c7f23aa8e64f08b
MD5 c1fc52152e67419618d62e3e1210b80b
BLAKE2b-256 4b74a1347b4fb2956fca3e7f759bae77900cdb5c9d9b0d3e3f63f961391b4872

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f3d2fb0dbb4d1969c01e15b35906a5365d42c55ac67585fd96aeba810462a52d
MD5 56e31072a816a727eca55bc4c382bcb6
BLAKE2b-256 f4a1d8055f45813e7ac449e2299a657698e7c2591c0975ff25cec255886fff9f

See more details on using hashes here.

Provenance

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