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.
39 lines
834 B
39 lines
834 B
|
2 months ago
|
syntax = "proto3";
|
||
|
|
import "msp_U7.proto";
|
||
|
|
import "msp_Motor.proto";
|
||
|
|
|
||
|
|
import "msp_ZQ_MotorParameters.proto";
|
||
|
|
import "msp_TL720D.proto";
|
||
|
|
import "bsp_Error.proto";
|
||
|
|
import "bsp_PV.proto";
|
||
|
|
|
||
|
|
import "bsp_IO.proto";
|
||
|
|
message GV_struct_define
|
||
|
|
{
|
||
|
|
//洗舱项目
|
||
|
|
PV_struct_define PV =1;//用户配置数据
|
||
|
|
MotorParameters LeftFrontMotor=2;
|
||
|
|
|
||
|
|
MotorParameters RightFrontMotor=4;
|
||
|
|
|
||
|
|
|
||
|
|
SP_MSP_U7_Button U7_Key= 7;
|
||
|
|
int32 Move_Speed= 8;
|
||
|
|
|
||
|
|
ErrorData SystemErrorData=10;
|
||
|
|
MSP_TL720DParameters Robot_Angle=11;//机器人角度
|
||
|
|
int32 Left_Compensation= 12;
|
||
|
|
int32 Right_Compensation= 13;
|
||
|
|
int32 AuTo_Flag = 14;
|
||
|
|
int32 Chg_Flag = 15;
|
||
|
|
int32 Robot_AutoSpeed = 16;
|
||
|
|
int32 Robot_ManualSpeed =17;
|
||
|
|
int32 Robot_ChgLength =18;
|
||
|
|
int32 Robot_ForceValue = 19;
|
||
|
|
int32 Robot_DynamometerValue = 20;
|
||
|
|
|
||
|
|
int32 Emergency = 21;
|
||
|
|
};
|
||
|
|
|
||
|
|
//protoc --nanopb_out=. *.proto
|