Skip to content

Commit

Permalink
debug change
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Nov 14, 2023
1 parent 33cca88 commit a1f2ec2
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(30); // Need to act immediately?! Just decrease this?
vTaskDelay(20); // Need to act immediately?! Just decrease this?
debounce_count++;
if (debounce_count > 100) {
if (debounce_count > 50) {
if (controller.read_tmc_diag0()) {
handle_message(
can::messages::MotorDriverErrorEncountered{.message_index = m.message_index});
Expand Down

0 comments on commit a1f2ec2

Please sign in to comment.