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.
24 lines
735 B
24 lines
735 B
|
2 months ago
|
syntax = "proto3";
|
||
|
|
//import "nanopb.proto";
|
||
|
|
|
||
|
|
import "bsp_PV.proto";
|
||
|
|
import "bsp_PID.proto";
|
||
|
|
message CV_struct_define{
|
||
|
|
|
||
|
|
//摆臂项目
|
||
|
|
float TT_Motor_1m_per_min=1; //天钛电机1m/min对应要发的参考数值
|
||
|
|
float TT_Motor_one_degree=2; //天钛电机1°对应要发的参考数值
|
||
|
|
float strain_gauge_k=3; //压力传感器的k值
|
||
|
|
float strain_gauge_b=4; //压力传感器的b值
|
||
|
|
float pressure_Max=5; //最大压力值
|
||
|
|
int32 pulse_Per_Circle=6; //每转多少脉冲
|
||
|
|
int32 wheel_Reduction_Ratio=7; //减速比
|
||
|
|
double wheel_Diameter_m=8; //车轮直径 m
|
||
|
|
PID_Parameters PID_high=9;
|
||
|
|
PID_Parameters PID_mid=10;
|
||
|
|
PID_Parameters PID_low=11;
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|