这版程序在原有的通用摆臂机器人的基础上,加入了有线功能
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.
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
|
|
option java_multiple_files = false;
|
|
|
|
|
option java_package = "com.example.swingarmapp.models";
|
|
|
|
|
|
|
|
|
|
// 抛丸机器人作业参数结构体定义
|
|
|
|
|
// 作用:用于APP/遥控器与机器人控制系统之间的参数传输,涵盖操作模式、运动参数、摆臂参数、作业参数等核心配置
|
|
|
|
|
message PV_struct_define{
|
|
|
|
|
|
|
|
|
|
int32 Robot_Operation_Mode= 1; //操作模式 手动模式1 2 3 4 自动模式5 6 7
|
|
|
|
|
int32 Robot_Move_Speed=2; //机器人移动速度
|
|
|
|
|
int32 Robot_Change_Lane_Distance= 3; //换道距离
|
|
|
|
|
int32 Robot_Swing_Speed= 4; //摆臂速度
|
|
|
|
|
int32 Robot_symmetricalOrNot=5; //摆臂角度界面中的对称or非对称 1 对称 2 非对称
|
|
|
|
|
int32 Robot_Swing_Range_Angle=6; //对称下的摆臂角度
|
|
|
|
|
int32 Robot_asymmetricalAngleSetValue=7; //非对称条件下下 1左侧 2 右侧
|
|
|
|
|
int32 Robot_backMode=8; //后退设置模式 1 打退交替 2 边打边退
|
|
|
|
|
int32 Robot_Back_Distance= 9; //打退交替条件下的后退距离
|
|
|
|
|
int32 Robot_Back_Speed=10; //边打边退条件下的后退速度
|
|
|
|
|
int32 Robot_Press_Set= 11; //压力设置
|
|
|
|
|
int32 Robot_Vertical_Adjust= 12; //竖直微调
|
|
|
|
|
int32 Robot_Length_Homework=13; //自动模式下的作业长度
|
|
|
|
|
int32 Robot_Width_Homework=14; //自动模式下的作业宽度
|
|
|
|
|
int32 Robot_SandBalst_Encode_One=15; //喷砂机编码1 输入为空发1
|
|
|
|
|
int32 Robot_SandBalst_Encode_Two=16; //喷砂机编码2 输入为空发2
|
|
|
|
|
};
|