增加所有文件,修改为零度电机

This commit is contained in:
2025-11-30 22:12:14 +08:00
parent 97bc808489
commit 90dd43f3f9
151 changed files with 748 additions and 22945 deletions

View File

@@ -82,5 +82,22 @@ UnCanDebugOutput un_can_debug_output;//调试输出
// 限制值在最小值和最大值之间
float constrain(float value, float min_val, float max_val)
{
if (value < min_val)
{
return min_val;
}
else if (value > max_val)
{
return max_val;
}
else
{
return value;
}
}