Skip to content

Commit

Permalink
debug change
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg committed Nov 13, 2023
1 parent 0985ced commit a91c309
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/motor-control/core/tasks/motion_controller_task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,13 @@ class MotionControllerMessageHandler {
static_cast<void>(m);
controller.enable_motor(); // needed?
controller.clear_cancel_request();
can_client.send_can_message(can::ids::NodeId::host, can::messages::ErrorMessage{.message_index = 0}); // delete
can_client.send_can_message(
can::ids::NodeId::host,
can::messages::ErrorMessage{
.message_index = 0,
.severity = can::ids::ErrorSeverity::none,
.error_code =
can::ids::ErrorCode::motor_driver_error_detected}); // delete
}

MotorControllerType& controller;
Expand Down

0 comments on commit a91c309

Please sign in to comment.