fix1: boost恢复为1.6x乘法
This commit is contained in:
+1
-1
@@ -1031,7 +1031,7 @@ static void motor_update(bool zebra_block, bool tl_block)
|
||||
prev_zstate = g_zstate;
|
||||
prev_tlstate = g_tl_state;
|
||||
|
||||
double spd = (boost_factor() > 1.0) ? 26.0 : target_speed;
|
||||
double spd = target_speed * boost_factor();
|
||||
|
||||
// 斑马线起步后 3.3~5s 降速走稳
|
||||
if (g_zstate == Z_COOLDOWN) {
|
||||
|
||||
Reference in New Issue
Block a user