mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 11:37:45 +08:00
装超电后为预检录准备的版本
This commit is contained in:
@@ -61,7 +61,7 @@ void SpeedEstimation(LinkNPodParam *lp, LinkNPodParam *rp, ChassisParam *cp, INS
|
||||
VAL_LIMIT(cp->vel_cov, 0.01, 100); // 协方差限幅
|
||||
|
||||
// 速度和位置分离,有速度输入时不进行位置闭环
|
||||
if(abs(cp->target_v) < 0.001)
|
||||
if(abs(cp->target_v) < 0.005)
|
||||
{
|
||||
cp->target_dist = 0;
|
||||
cp->dist += cp->vel * delta_t;
|
||||
|
||||
Reference in New Issue
Block a user