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.
19 lines
611 B
19 lines
611 B
|
2 days ago
|
syntax = "proto3";
|
||
|
|
|
||
|
|
option java_multiple_files = false;
|
||
|
|
option java_package = "com.example.paintapp.models";
|
||
|
|
|
||
|
|
message IV_struct_define
|
||
|
|
{
|
||
|
|
int32 CurrentAngle= 1; //单位0.01°
|
||
|
|
int32 RobotMoveSpeed= 2; //单位m/min 目标速度
|
||
|
|
int32 SBUS_State=3; //0断开 1连接
|
||
|
|
int32 SystemError=4; //硬件通讯错误及按键未初始化错误
|
||
|
|
int32 Left_Motor_Err=5;//左轮电机报警
|
||
|
|
int32 Right_Motor_Err=6;//右轮电机报警
|
||
|
|
int32 IsWorking=7;//机器人正在执行运动指令
|
||
|
|
int32 CurrentSpeed=8;//当前速度
|
||
|
|
int64 TimeStamp=9;//当前时间戳
|
||
|
|
int32 IsRestart=10;//是否重启
|
||
|
|
};
|