Skip to content

Commit

Permalink
Ok i was wrong about how this worked. We don't want to leave the moto…
Browse files Browse the repository at this point in the history
…r enable false we just want to turn the brake on for a bit then turn it back off to leave the motor enabled.
  • Loading branch information
ryanthecoder committed Nov 4, 2024
1 parent 55e408e commit 0460d97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class MotionController {
hardware.request_cancel();
}
hardware.deactivate_motor();
enabled = false;
hardware.activate_motor();
}

auto read_limit_switch() -> bool { return hardware.check_limit_switch(); }
Expand Down

0 comments on commit 0460d97

Please sign in to comment.