Commit f85da37
committed
A new lift method was made to check the whether the limit is pressed.
* A new method is added to Ilift.h to check whether the limit switch is
pressed or not.
* This will be used as the new condition to check whether the lift has
reached low enough.
* The state machine was updated to reflect the new condition.
* Currently, it checks whether the lift has stopped spinning.
However, this is no longer valid as the lift will not stop due to
the physical obstruction being rubber bands and not metal; rubber
bands do not fully stop the lift.1 parent b15df76 commit f85da37
File tree
3 files changed
+19
-2
lines changed- 2024/prototype/intake_mechanisms
- docs
- include
3 files changed
+19
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
84 | 101 | | |
85 | 102 | | |
86 | 103 | | |
| |||
0 commit comments