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.32.0a1-cp312-cp312-manylinux_2_28_x86_64.whl (44.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

dimos_viewer-0.32.0a1-cp312-cp312-manylinux_2_28_aarch64.whl (42.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

dimos_viewer-0.32.0a1-cp312-cp312-macosx_11_0_arm64.whl (38.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dimos_viewer-0.32.0a1-cp311-cp311-manylinux_2_28_x86_64.whl (44.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

dimos_viewer-0.32.0a1-cp311-cp311-manylinux_2_28_aarch64.whl (42.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

dimos_viewer-0.32.0a1-cp311-cp311-macosx_11_0_arm64.whl (38.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dimos_viewer-0.32.0a1-cp310-cp310-manylinux_2_28_x86_64.whl (44.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

dimos_viewer-0.32.0a1-cp310-cp310-manylinux_2_28_aarch64.whl (42.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

dimos_viewer-0.32.0a1-cp310-cp310-macosx_11_0_arm64.whl (38.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file dimos_viewer-0.32.0a1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ebdd64ce20d73e9d6e0256ef099a3d544c14b9b227aa005ba8c362052889b3c4
MD5 b803a247fa5bdebc58c3f23ec6e024c0
BLAKE2b-256 ca4bd97f13e3585582c79037cd24952ac99de593a30c300ddcc8c83d9cab1128

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a1-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.32.0a1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 68354192271a201a71491245a7b444b0e4047b74c9d2496a395010356917c0c3
MD5 add0041fd96463fcf8bb8eb3e0c8f7e8
BLAKE2b-256 fa3e7564e12f24f4678ba5e311a538eda0a2e46add9afcd58d08984e66bc280c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a1-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.32.0a1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a4cc88e26567955ce964a250c7250cd3d52e99f330d892420699f0580de8c4f3
MD5 553d2ddb49308b89b10afb6a290c152c
BLAKE2b-256 3f51efcf47f154b5940d09d6e480f3f75f00a927396d9be1f5b2523b1ff9d62e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a1-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.32.0a1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f4a4b6e1aa83b50421a7133b22c27c0924b2f984a242d30273087f66928af5d8
MD5 650824146b9741a1ef30ae80c7d6ea9f
BLAKE2b-256 fdc30c32f2a5e0908dcab3d8b652704d68124cbe2d74ca418561e503fa216cff

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a1-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.32.0a1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f22176cea73d6e898230432de19ca07772a7c1293171ad86dae0b7e54e1fbbf5
MD5 66b5b8d3b63d3b5a5c52c911591e6013
BLAKE2b-256 350d677674fd9a8ac73689642cd7c4bb1b177df9d096f39a74dadd1420ffc221

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a1-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.32.0a1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 86f2dc0f5db732b28ce5d9f13749a12b26f3b3c891e68bae8fcb4c065f08ddf5
MD5 bc9bd4a4e89bca4b6f898feb89c3c6b4
BLAKE2b-256 ec37394f74ad8981c4666d9014189f3fb154e7f796c408d770d94f52ed4b1ccb

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a1-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.32.0a1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6db249eff2014f746e7b840a9354dc57e182d8b05bee360fdc934f34c0d4a6da
MD5 3e84629338106238e5a1c2934d41e7e0
BLAKE2b-256 09d9cccad09df71d14b84f95fb384213d0d2eb36efb25db11fafe12e3f27454e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a1-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.32.0a1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4763823cc555069b703c980a8fa938e1c8f858f1a8acf00b6e257ac7f5be7e93
MD5 23a8a036a398e99bd394102ed16c3b2d
BLAKE2b-256 d8fab1e1e0d7d125dfbcb5465af22a44de56ae892d309f07231d4a462b5d6c1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for dimos_viewer-0.32.0a1-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.32.0a1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.32.0a1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c0aa61c7369337af9fea5d49ad648fbee36ed50cfdf2463450a61866fc73783
MD5 bfdebd62ea45b6d9938d96a02efa08e9
BLAKE2b-256 da12f5ccd760ed27c930d08289589f420e3d3e4c707cb44bc4bd85a3e7b8cd18

See more details on using hashes here.

Provenance

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