addRequirements help

How do you use addRequirments, I am trying to add in my subsystem DriveSubsystem but I dont know how.
thank you

Make sure to take a look at the docs (

In short, you pass the subsystem into your command’s constructor, then pass that into addRequirements()

I ran into this problem and did not know how to fix it the proper way

I did just what they said in the guide thing and it still didnt work, I typed in addRequirements(subsystem); as it showed and still doesnt work. I am trying to make it require the drive subsystem.

Did you pass the drivetrain object as a parameter to the command’s constructor?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.