You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
474 B
26 lines
474 B
|
1 day ago
|
syntax = "proto3";
|
||
|
|
|
||
|
|
option java_multiple_files = false;
|
||
|
|
option java_package = "com.example.paintapp.models";
|
||
|
|
|
||
|
|
message ErrorData
|
||
|
|
{
|
||
|
|
int32 Com_Error_Code=1;
|
||
|
|
int32 Left_Motor_Error_Code=2;
|
||
|
|
int32 Right_Motor_Error_Code=3;
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
enum ComError //枚举消息类型 Error Bit Define
|
||
|
|
{
|
||
|
|
MK32_SBus = 0;
|
||
|
|
TL720D = 1;
|
||
|
|
LS_LeftMotor = 2;
|
||
|
|
LS_RightMotor = 3;
|
||
|
|
Remote_Button_Reset_State = 4;
|
||
|
|
MK32_Serial=5;
|
||
|
|
MK32_UDP=6;
|
||
|
|
}
|
||
|
|
|
||
|
|
//protoc --nanopb_out=. *.proto
|