corrected var and class names in proto files
This commit is contained in:
@@ -5,8 +5,8 @@ message DebugRequest {
|
|||||||
|
|
||||||
TYPE type = 1;
|
TYPE type = 1;
|
||||||
|
|
||||||
enum TYPE {
|
enum Type {
|
||||||
MEMORYSTATS = 0;
|
MEMORY_STATS = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ package carkot;
|
|||||||
|
|
||||||
message DirectionRequest {
|
message DirectionRequest {
|
||||||
enum Command {
|
enum Command {
|
||||||
stop = 0;
|
STOP = 0;
|
||||||
forward = 1;
|
FORWARD = 1;
|
||||||
backward = 2;
|
BACKWARD = 2;
|
||||||
left = 3;
|
LEFT = 3;
|
||||||
right = 4;
|
RIGHT = 4;
|
||||||
}
|
}
|
||||||
Command command = 1;
|
Command command = 1;
|
||||||
int32 sid = 2;
|
int32 sid = 2;
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ syntax = "proto3";
|
|||||||
package carkot;
|
package carkot;
|
||||||
|
|
||||||
message RouteRequest {
|
message RouteRequest {
|
||||||
repeated int32 moveTime = 1;
|
repeated int32 times = 1;
|
||||||
repeated int32 moveDirection = 2;
|
repeated int32 directions = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message RouteResponse {
|
message RouteResponse {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ message TaskRequest {
|
|||||||
|
|
||||||
TYPE protoBufType = 1;
|
TYPE protoBufType = 1;
|
||||||
|
|
||||||
enum TYPE {
|
enum Type {
|
||||||
DEBUG = 0;
|
DEBUG = 0;
|
||||||
ROUTE = 1;
|
ROUTE = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user