Skip to content

Add SOT target control and state telemetry with image dimensions#265

Open
jp-pino wants to merge 9 commits into
masterfrom
jp-pino/sot
Open

Add SOT target control and state telemetry with image dimensions#265
jp-pino wants to merge 9 commits into
masterfrom
jp-pino/sot

Conversation

@jp-pino
Copy link
Copy Markdown
Contributor

@jp-pino jp-pino commented May 8, 2026

This pull request adds support for single-object tracking (SOT) to the protocol buffers used by the system. The changes introduce new messages for controlling, reporting, and telemetering the SOT state, allowing external clients to set tracking targets and receive updates on the tracking process.

Single-object tracking (SOT) support:

  • Added a new control message SetSotTargetCtrl to allow clients to set or clear the SOT target by specifying a bounding box and frame dimensions.
  • Introduced the SotState message, which reports the current state of the SOT tracker, including the tracked bounding box and frame size. This includes an enum for tracker states (idle, tracking, lost, etc.).
  • Added a new telemetry message SotStateTel to periodically report the current SOT state and bounding box from the computer vision pipeline.

jp-pino and others added 3 commits May 5, 2026 19:00
Add SetSotTargetCtrl to control.proto for setting/clearing SOT targets.
Add SotState message format with State enum (IDLE/TRACKING/LOST).
Add SotStateTel to telemetry.proto for reporting tracking state.

Zero-size bounding box (width=0, height=0) convention clears the target.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add image_width and image_height fields to SotState so receivers
know the frame resolution the bounding box coordinates are relative to.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add image_width and image_height so the receiver can rescale
bounding box coordinates from the app's frame to the model's
actual source resolution.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jp-pino jp-pino added this to the Blunux v5.0 milestone May 8, 2026
@jp-pino jp-pino requested a review from follesoe May 8, 2026 10:50
@jp-pino jp-pino self-assigned this May 8, 2026
@jp-pino jp-pino added the enhancement New feature or request label May 8, 2026
Copy link
Copy Markdown
Member

@follesoe follesoe left a comment

Choose a reason for hiding this comment

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

Du we need a message to clear the Sot tracking?

Add CvModelInfo protobuf message with name, type, running, device,
and package_id fields. Add repeated cv_models field to DroneInfo
for reporting loaded computer vision models in telemetry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jp-pino and others added 4 commits May 13, 2026 18:02
Include the full list of class names the model can detect,
indexed by class_id, in the DroneInfoTel telemetry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preferred way to clear the SOT target (stop tracking).
The zero-size bounding box in SetSotTargetCtrl still works
for backwards compatibility.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants