【类 型】:style

【主	题】:代码格式化 较上版本 无任何变动
【描	述】:
	[原因]:
	[过程]:
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-07-02 19:36:54 +08:00
parent 811a89f8b2
commit 26d48db32b
5 changed files with 115 additions and 115 deletions

View File

@ -42,6 +42,7 @@
#define TM_INSTORE_DELAY_WEIGHT 200 // 入仓动力延时关闭时间生效的重量(g),免得空钩也延时关闭导致线拉紧 ms
#define TM_INSTORE_NOWEIGHT_DELAY 50 // 空钩完全不延时也可能顶部按键按不下去,加一点延时 ms
enum HookStatus
{
HS_UnInit, // 还未初始化

View File

@ -804,5 +804,3 @@ void testbtn_click()
}
}
}
//////////////////////////////MQTT_语音_MAVLINK 部分

View File

@ -98,6 +98,8 @@ String Motocontrol::gethooktatus_str(bool chstr)
return hookstatusstr;
else
return hookstatusstr_en;
}
void Motocontrol::checkgoods() // 检测是否超重
@ -197,6 +199,7 @@ int16_t Motocontrol::getlength() // 得到长度
return 0;
}
// 重量传感器已经校准
void Motocontrol::weightalign(bool weightalign)
{
@ -429,8 +432,7 @@ control_status_t Motocontrol::getcontrolstatus() // 得到控制信息
void Motocontrol::moto_goodsdownresume()
{
if (!_controlstatus.is_autogoodsdown)
return;
if (!_controlstatus.is_autogoodsdown) return;
if (_hooksstatus == HS_Stop)
{
_runspeed = _goods_speed;

View File

@ -111,7 +111,6 @@ private:
void unlockservo();
void set_hook_speed(float hooksspeed);
void sethooksstatus(HookStatus hookstatus);
public:
Motocontrol(); // 构造函数
~Motocontrol(); // 析构函数