Skip to content

Comments

High level interface#2212

Open
julianschuler wants to merge 22 commits intoHULKs:mainfrom
julianschuler:high-level-interface
Open

High level interface#2212
julianschuler wants to merge 22 commits intoHULKs:mainfrom
julianschuler:high-level-interface

Conversation

@julianschuler
Copy link
Member

Why? What?

This PR implements communicating with the high-level Booster interface without using the Booster SDK.

Fixes #2117.

Blocked on #2177.

ToDo / Known Issues

None.

Ideas for Next Iterations (Not This PR)

Expose more of the high-level booster interface as needed.

How to Test

Compile, upload and restart the Zenoh bridge.

Create a request and publish it via Zenoh to booster/high_level_interface, e.g. using the following code:

use cdr::{CdrLe, Infinite};
use high_level_interface::{Mode, Request};
use zenoh::Config;

#[tokio::main]
async fn main() {
    let session = zenoh::open(Config::default()).await.unwrap();
    let publisher = session
        .declare_publisher("booster/high_level_interface")
        .await
        .unwrap();

    let request = Request::change_mode(Mode::Custom);
    let serialized_request = cdr::serialize::<_, _, CdrLe>(&request, Infinite).unwrap();
    publisher.put(serialized_request).await.unwrap()
}

@github-project-automation github-project-automation bot moved this to Request for Review in Development Jan 29, 2026
#[allow(unused)]
#[derive(Clone, Debug)]
enum ApiId {
ChangeMode = 2000,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did you get these numbers from? If possible, add a doc-comment with the source.

@knoellle knoellle self-assigned this Feb 11, 2026
Comment on lines +8 to +9
[package.metadata.pepsi]
cross-compile = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this only needed for binary crates?

julianschuler and others added 22 commits February 18, 2026 16:15
`/booster_camera_bridge/StereoNetNode/rectified_image` -> `booster/rectified_image`
`/booster_camera_bridge/image_left_raw` -> `booster/image_left_raw`
`/booster_camera_bridge/image_left_raw/camera_info` -> `booster/image_left_raw/camera_info`
- `/booster_camera_bridge/StereoNetNode/rectified_right_image` -> `booster/rectified_right_image`
- `/booster_camera_bridge/StereoNetNode/stereonet_depth` -> `booster/stereonet_depth`
- `/booster_camera_bridge/StereoNetNode/stereonet_visual` -> `booster/stereonet_visual`
- `/booster_camera_bridge/image_right_raw` -> `booster/image_right_raw`
- `/booster_camera_bridge/image_right_raw/camera_info` -> `booster/image_left_raw/camera_info`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Request for Review

Development

Successfully merging this pull request may close these issues.

High level mode switching

3 participants