Fix dynamic 'decel-boost' - proof of concept works

When moving the joystick in other direction than driving
the deceleration gets speed up.
The boost scales with how far the stick is in other
direction up to a maximum
Some issues with this approach see notes in code
This commit is contained in:
jonny_l480
2024-05-15 18:42:49 +02:00
parent fa114e4138
commit 967f2cd8b5
2 changed files with 5 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ void setLoglevels(void)
// esp_log_level_set("motordriver", ESP_LOG_DEBUG);
esp_log_level_set("motor-control", ESP_LOG_WARN);
// esp_log_level_set("evaluatedJoystick", ESP_LOG_DEBUG);
// esp_log_level_set("joystickCommands", ESP_LOG_DEBUG);
esp_log_level_set("joystickCommands", ESP_LOG_DEBUG);
esp_log_level_set("button", ESP_LOG_INFO);
esp_log_level_set("control", ESP_LOG_INFO);
// esp_log_level_set("fan-control", ESP_LOG_INFO);