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.
25 lines
843 B
25 lines
843 B
|
6 days ago
|
syntax = "proto3";
|
||
|
|
|
||
|
|
option java_multiple_files = false;
|
||
|
|
option java_package = "com.example.rougheningapp.models";
|
||
|
|
|
||
|
|
message IV_struct_define
|
||
|
|
{
|
||
|
|
int32 Press=1;//实时压力
|
||
|
|
int32 RunMode=2;
|
||
|
|
int32 LeftCompensation= 3;//单位0.01°
|
||
|
|
int32 RightCompensation= 4;//单位0.01°
|
||
|
|
int32 CurrentAngle= 5; //单位0.01°
|
||
|
|
double RobotMoveSpeed= 6; //单位m/min
|
||
|
|
int32 SystemError=7;//硬件通讯错误及按键未初始化错误
|
||
|
|
int32 Left_Motor_Err=8;//左轮电机报警
|
||
|
|
int32 Right_Motor_Err=9;//右轮电机报警
|
||
|
|
int32 Left_Motor_Temp=10;//左轮电机温度
|
||
|
|
int32 Right_Motor_Temp=11;//右轮电机温度
|
||
|
|
int32 IsWorking=12;//机器人正在执行运动指令
|
||
|
|
int64 TimeStamp=13;//当前时间戳
|
||
|
|
int32 RobotRestart=14;//是否重启
|
||
|
|
double CurrentSpeed=15;//当前速度
|
||
|
|
int32 SBUS_State=16; //0断开 1连接
|
||
|
|
};
|