Skip to content

Curriculum challenge ~ Auto stopping Collector

Alex Schokking edited this page Nov 9, 2024 · 4 revisions

The 2023 robot had a collector to suck in inflatable cubes. But once the collector had a cube it needed to stop intaking so hard or it would pop the cube.

You're going to implement this feature from scratch yourself in this challenge.

The collector is a motor that you can set the power of just like you've been doing for the drive motors this whole time.

Your first step is to implement a basic Subsystem and Commands for this collector mechanism that can run the motors forwards and backwards.

From there, you'll add in the ability to detect that a cube has been intaked and the motor should stop trying so hard.

Clone this wiki locally