Copter: remove debug message from compassmot
This commit is contained in:
parent
c404c46e5a
commit
72f29bd0db
@ -664,8 +664,6 @@ setup_compassmot(uint8_t argc, const Menu::arg *argv)
|
|||||||
}else{
|
}else{
|
||||||
// interference is impact/amp * (max current seen / max throttle seen) / mag field * 100
|
// interference is impact/amp * (max current seen / max throttle seen) / mag field * 100
|
||||||
interference_pct = motor_compensation.length() * (current_amps_max/throttle_pct_max) / 330.0f * 100.0f;
|
interference_pct = motor_compensation.length() * (current_amps_max/throttle_pct_max) / 330.0f * 100.0f;
|
||||||
// debug -- remove me!
|
|
||||||
cliSerial->printf_P(PSTR("\nlen:%4.2f curr_max:%4.2f thr_max:%4.2f\n"),motor_compensation.length(),current_amps_max,throttle_pct_max);
|
|
||||||
}
|
}
|
||||||
cliSerial->printf_P(PSTR("\nInterference at full throttle is %d%% of mag field\n\n"),(int)interference_pct);
|
cliSerial->printf_P(PSTR("\nInterference at full throttle is %d%% of mag field\n\n"),(int)interference_pct);
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user