Skip to content

Commit

Permalink
make sure we start motor timer when we are about to move
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Dec 3, 2024
1 parent 42a10ac commit 6b7151d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class MotorInterruptController {
motor_util::MovementType::FixedDistance, steps);
_policy->enable_motor(_id);
_response_id = move_id;
_policy->start_motor_timer(_id);
}
auto start_move(Move move) -> void {
motor_util::MotorState* state = move.motor_state;
Expand Down

0 comments on commit 6b7151d

Please sign in to comment.