Skip to content

Commit

Permalink
debug update
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Nov 14, 2023
1 parent 4c85967 commit 33cca88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/motor-control/core/tasks/motion_controller_task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ class MotionControllerMessageHandler {
.severity = can::ids::ErrorSeverity::unrecoverable,
.error_code =
can::ids::ErrorCode::motor_driver_error_detected}); // delete
vTaskDelay(300); // Need to act immediately?! Just decrease this?
vTaskDelay(30); // Need to act immediately?! Just decrease this?
debounce_count++;
if (debounce_count > 10) {
if (debounce_count > 100) {
if (controller.read_tmc_diag0()) {
handle_message(
can::messages::MotorDriverErrorEncountered{.message_index = m.message_index});
Expand Down

0 comments on commit 33cca88

Please sign in to comment.