Skip to content

Commit

Permalink
made comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Nov 3, 2023
1 parent d2fd44c commit 394ea1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/motor-control/core/tasks/motion_controller_task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ class MotionControllerMessageHandler {
static_cast<void>(m);
driver_error_handled_flag.exchange(false);
controller.clear_cancel_request();
// send MotorDriverErrorCleared msg to host
}

auto driver_error_handled() -> bool {
Expand All @@ -188,7 +189,7 @@ class MotionControllerMessageHandler {
CanClient& can_client;
UsageClient& usage_client;
DriverClient& driver_client;
std::atomic<bool> driver_error_handled_flag = false;
std::atomic<bool> driver_error_handled_flag = false; // can get rid of this if indefinite interrupt trigger issue gets resolved
};

/**
Expand Down

0 comments on commit 394ea1d

Please sign in to comment.