Skip to content

Wire algae intake switches to motor controller #435

@auscompgeek

Description

@auscompgeek

self.algae_limit_switch = DigitalInput(DioChannel.ALGAE_INTAKE_SWITCH)
self.injector_1 = SparkMax(SparkId.INJECTOR_1, SparkMax.MotorType.kBrushless)

We still want to be able to backdrive the injector whilst holding an algae to keep it in though. So we should wire the switches to one (or both) of the motor controllers and disable the limit switch functionality: https://robotpy.readthedocs.io/projects/rev/en/stable/rev/LimitSwitchConfig.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions