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.
30 lines
483 B
30 lines
483 B
syntax = "proto3";
|
|
|
|
option java_multiple_files = false;
|
|
option java_package = "com.example.fivewheel.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;
|
|
Force_sensor = 2;
|
|
ZQ_LeftMotor = 3;
|
|
ZQ_RightMotor = 4;
|
|
DMAKE_1 = 5;
|
|
// DMAKE_2 = 6;
|
|
// DMAKE_3 = 7;
|
|
MK32_Serial = 6;
|
|
}
|
|
|
|
//protoc --nanopb_out=. *.proto
|
|
|
|
|
|
|
|
|