Skip to content

Make components more resilient to failure #141

@obj-obj

Description

@obj-obj
  • Read from two sensors instead of one (to account for misreading or one coming unplugged)
  • Have mid-match manual overrides for all sensors so the robot keeps functioning when they fail (e.g. if the sensors are stuck in the 'ball detected' state, have a way to override so the index & intake motors are stuck in the stopped state).
  • Filter Limelight data to throw out obvious outliers
  • Have mid-match manual override / configuration in case the limelight starts mis-tracking. It's possible to score with the hood, turret & shooter at fixed values. It's nearly impossible to score when they all randomly jump around.
  • Cross-check data from multiple sources (e.g. ignore limelight changes if it says we moved an order of magnitude further than the drivebase encoders say we moved)
  • Read pneumatic pressure and if it's consistently at or near 0, turn off the compressor to save power since we likely disconnected a tube somewhere

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions