2019-12-31 14:43:01 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package robocar.events;
|
2019-12-31 15:27:09 +00:00
|
|
|
option go_package = "events";
|
2019-12-31 14:43:01 +00:00
|
|
|
|
|
|
|
message FrameRef {
|
|
|
|
string name = 1;
|
|
|
|
string id = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message FrameMessage {
|
|
|
|
FrameRef id = 1;
|
|
|
|
bytes frame = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SteeringMessage {
|
|
|
|
float steering = 1;
|
|
|
|
float confidence = 2;
|
|
|
|
FrameRef frame_ref = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ThrottleMessage {
|
|
|
|
float throttle = 1;
|
|
|
|
float confidence = 2;
|
|
|
|
FrameRef frame_ref = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ObjectsMessage{
|
|
|
|
repeated Object objects = 1;
|
|
|
|
FrameRef frame_ref = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Object{
|
|
|
|
TypeObject type = 1;
|
|
|
|
int32 lLeft = 2;
|
|
|
|
int32 up = 3;
|
|
|
|
int32 right = 4;
|
|
|
|
int32 bottom = 5;
|
|
|
|
float confidence = 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
enum TypeObject{
|
|
|
|
ANY = 0;
|
|
|
|
CAR = 1;
|
|
|
|
BUMP = 2;
|
|
|
|
PLOT = 3;
|
|
|
|
}
|