Skip to content

Commit

Permalink
Proto for live annotations (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermedemouraa authored Jul 26, 2024
1 parent 8f3740a commit f364ec7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions protos/farm_ng/core/recorder.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,29 @@
syntax = "proto3";

import "farm_ng/core/event_service.proto";
import "farm_ng/core/timestamp.proto";

package farm_ng.core.proto;

enum AnnotationKind {
ANNOTATION_UNKNOWN = 0;
ANNOTATION_ROW_START = 1;
ANNOTATION_ROW_END = 2;
ANNOTATION_PATH_START = 3;
ANNOTATION_PATH_END = 4;
ANNOTATION_WAYPOINT = 5;
ANNOTATION_NOTE = 6;
}

message RecorderProfile {
string name = 1;
repeated SubscribeRequest subscriptions = 2;
}

// A message that can be used to live annotate a recording.

message RecorderAnnotation {
repeated farm_ng.core.proto.Timestamp stamps = 1; // The timestamp of the annotation.
AnnotationKind kind = 2; // The kind of annotation.
string message = 3; // An optional message of the annotation. E.g., "Start of row 1".
}

0 comments on commit f364ec7

Please sign in to comment.