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.
21 lines
685 B
21 lines
685 B
|
2 weeks 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 blowers_pwm=8;//风机PWM调速,0-100
|
||
|
|
float ForceValue=9;//压强传感器-100~100Kpa
|
||
|
|
int32 CurrentDirection=10; //电子罗盘,单位0.01°
|
||
|
|
int32 CurrentHeight=11; //拉线传感器,cm
|
||
|
|
|
||
|
|
};
|