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-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.0a6-cp312-cp312-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

dimos_viewer-0.30.0a6-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.0a6-cp311-cp311-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

dimos_viewer-0.30.0a6-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.0a6-cp310-cp310-manylinux_2_28_aarch64.whl (39.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

dimos_viewer-0.30.0a6-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.0a6-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dd976c39c38718b8373e1894d55b78c10bcb8c5716c8dbd5fba59141bc08ab3c
MD5 add053cb6be421991c6054d362f4c759
BLAKE2b-256 3c87fce7aac56d8a234d3d7c0911928bb3471d7852e35263b966d2aac5be42cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 791ef1c1d8d41db69a7d2b701ed3f0b6bc39cb3264aaef7300eddb576c8df7ed
MD5 0149c91d624d84de72c810bb7393aac8
BLAKE2b-256 26ab6ea7686c467caecdc74dd8d3a0267053ac74229b3afebc64cff180d5074c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f4f49f973c51055cfd594b68a8e9d183c706f94b1513b6b69db900d05850f741
MD5 e313c18224437417a8dde1fa1e4ed723
BLAKE2b-256 abd6d76763b60d82539e92777500551116306cfea462f6976ad814a3bdf57e1d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 27e108060a942c92f7869a0e45693dfe1798896bd90cbac6d1ce019a682f8ba7
MD5 da5c735a4164e4c9abed1967e228c129
BLAKE2b-256 2f92959fc1e9cdcb5fd8d793b2c8515a6086c9f913ba470baad1f3182ae4c242

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 53ca4ac1f0778f1d9afb317b6268c941c02b20af86dd2aaaf1ea79f2c1d1eeb8
MD5 9e23b269c9d015d521e7ea6d60416d90
BLAKE2b-256 4cc372157e0806951c2c71c70dcd783e27be8d694344d7ecdb94eaef1066cf99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 947cfa10c583b357d589c10cb466c63b3651a83d1013a254c0ba03fc2959bef7
MD5 a31f6d4f5996b74dd58159015235393d
BLAKE2b-256 480480f566400776cab9af68b4a3c0132f55786acd1641ea39d8b75e797a2e22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2bf36e8c8bd9dd822bedd1cb2d80ee2bf74b58184ba33872494baed0395fa7ff
MD5 f616c793d38c6951779855fcbcba5e52
BLAKE2b-256 58e6d6214245e5b99e1da262d037f52d3d39c6b87c65acb516fb08f11378e932

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 36068a3293cb1c7f4db9f4e6c9fea2d7dd2a2527025f803585f4d3aaad9aedbd
MD5 8ee3185854b68badccc486bdc0c84ab0
BLAKE2b-256 a1841c8f41ff2bd5b6ee143eb6119107397dac284fa4f1f8335623c498bd1d9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dimos_viewer-0.30.0a6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e623a21e6992e263513847e12809a0d234d73fc7af42a6428e84ca165ba682d0
MD5 60748735cee86cb8d907654fc84b7b73
BLAKE2b-256 0b90ad6d0e1e177a10a0b4f7e736436b6d2741acaeb402ab59504347236744f4

See more details on using hashes here.

Provenance

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