mirror of
https://gitee.com/dlmu-cone/half-steering-basic-framework
synced 2026-10-23 17:42:20 +08:00
reset again pro plus +
This commit is contained in:
@@ -84,7 +84,7 @@ void RobotCMDInit()
|
||||
static void CalcOffsetAngle()
|
||||
{
|
||||
static float last_offset_angle = 0;
|
||||
const float smooth_factor = 0.4f; // 平滑因子,0~1之间,值越大平滑效果越明显
|
||||
const float smooth_factor = 0.3f; // 平滑因子,0~1之间,值越大平滑效果越明显
|
||||
|
||||
const float deadband = 3.0f; // 死区值
|
||||
// 新增:跟踪模式变化,用于重置基准角度
|
||||
|
||||
Reference in New Issue
Block a user