diff --git a/proto/protofiles_sources/server_car/debug.proto b/proto/protofiles_sources/server_car/debug.proto index eec51b80405..512c586796b 100644 --- a/proto/protofiles_sources/server_car/debug.proto +++ b/proto/protofiles_sources/server_car/debug.proto @@ -5,8 +5,8 @@ message DebugRequest { TYPE type = 1; - enum TYPE { - MEMORYSTATS = 0; + enum Type { + MEMORY_STATS = 0; } } diff --git a/proto/protofiles_sources/server_car/direction.proto b/proto/protofiles_sources/server_car/direction.proto index eb312e6ebad..de8567822b2 100644 --- a/proto/protofiles_sources/server_car/direction.proto +++ b/proto/protofiles_sources/server_car/direction.proto @@ -3,11 +3,11 @@ package carkot; message DirectionRequest { enum Command { - stop = 0; - forward = 1; - backward = 2; - left = 3; - right = 4; + STOP = 0; + FORWARD = 1; + BACKWARD = 2; + LEFT = 3; + RIGHT = 4; } Command command = 1; int32 sid = 2; diff --git a/proto/protofiles_sources/server_car/route.proto b/proto/protofiles_sources/server_car/route.proto index 7c87a0853b6..1b9f7ed9291 100644 --- a/proto/protofiles_sources/server_car/route.proto +++ b/proto/protofiles_sources/server_car/route.proto @@ -2,8 +2,8 @@ syntax = "proto3"; package carkot; message RouteRequest { - repeated int32 moveTime = 1; - repeated int32 moveDirection = 2; + repeated int32 times = 1; + repeated int32 directions = 2; } message RouteResponse { diff --git a/proto/protofiles_sources/server_car/task.proto b/proto/protofiles_sources/server_car/task.proto index 9dfb2a70756..6a792524e4a 100644 --- a/proto/protofiles_sources/server_car/task.proto +++ b/proto/protofiles_sources/server_car/task.proto @@ -5,7 +5,7 @@ message TaskRequest { TYPE protoBufType = 1; - enum TYPE { + enum Type { DEBUG = 0; ROUTE = 1; }