Commit dfbf047
committed
Fixed a memory error that occured with
IntakeMillisecondsTask
- For whatever reason, IntakeMillisecondsTask was throwing a memory
error every time it was used in the auton task tree. The error was
narrowed down to being present in the clamp function, which has no
apparent errors. To solve the problem, we created a new digital_out
object linked to the DOUBLE_SOLENOID_PORT that we control directly
instead of passing in a copy of pnuematicClamp. We can only blame the
issue on VEX's faulty API.
- Also laid out the auton trajectory, all the functions are in the right
sequence but we need to figure out the correct values to pass into the
DriveStraightTasks and the TurnTasks
- Lastly, I slowed down the motor speeds in DriveStraightTask to ensure
that the robot does not slip off the line and get off-course1 parent b7148a1 commit dfbf047
File tree
2 files changed
+27
-5
lines changed- 2024/prototype/intake_mechanisms/src
2 files changed
+27
-5
lines changedLines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
386 | 393 | | |
387 | 394 | | |
388 | 395 | | |
389 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
390 | 400 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
263 | 268 | | |
264 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
265 | 277 | | |
266 | 278 | | |
267 | 279 | | |
| |||
0 commit comments