Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated video.proto for autonomy #25

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion video.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Version: 1.1
// Version: 1.3

syntax = "proto3";
import "version.proto";
import "utils.proto";

enum CameraStatus {
CAMERA_STATUS_UNDEFINED = 0;
Expand Down Expand Up @@ -70,6 +71,21 @@ message VideoData {
Version version = 4;

string imagePath = 5;

/// Data for autonomy to make decisions
/// Is there an obstacle in the way? Yes or No.
BoolState leftObstacle = 6;
BoolState centerObstacle = 7;
BoolState rightObstacle = 8;
BoolState bottomObstacle = 9;

// Aruco detection state
BoolState arucoDetected = 10;

// If arucoSize is larger than a certain size (pixels) we have reach it, otherwise head towards it
float arucoSize = 11;
/// Normalized value: -1 to 1, -1 is furthest left, 1 is furthest right
float arucoPosition = 12;
}

/// Make changes to a camera feed.
Expand Down