Commit c920ab50 张东亮

添加计算系数

1 个父辈 bc4198a4
...@@ -208,7 +208,8 @@ public class BSQController ...@@ -208,7 +208,8 @@ public class BSQController
} }
static double calNetWet(int weight) static double calNetWet(int weight)
{ {
return (weight / 10.0 - RobotManage.Config.WeightSensorBase) * 1.0; double x = (weight / 10.0 - RobotManage.Config.WeightSensorBase) * 1.0;
return 5 + (x - 0.6) / 1.05;
} }
private static bool getReviceData(byte[] dataArray, out int value) private static bool getReviceData(byte[] dataArray, out int value)
{ {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!