frc6995 / NOMAD-Base-2020

1 stars 2 forks source link

TASK - Limelight Library #13

Closed sammcdo closed 3 years ago

sammcdo commented 4 years ago

I'm thinking something similar to 4414s code here for the Limelight class and then a subsystem with methods to help with vision and auto vision.

sammcdo commented 4 years ago

Name: Limelight Wrapper About: A convenience class for using a limelight. Issue: #13

Description

This class provides a handy tool for using a limelight on a robot. It will provide options for both regular and 3d modes, getting common network table values, setting the LED states, and setting the camera mode and changing the pipeline.

Inputs

Network tables (Parameter: The name of each limelight's network table) (Parameter: Whether the limelight is in 3d mode.)

Outputs

Network Table values.

Constraints

Get x, y, skew, pipeline, 3d position Set LED mode, pipeline, camera mode Make it sendable, so it is easily displayed on shuffleboard.

Design (Algorithm)

Constructor:

Class Data:

Private Methods:

Public Methods:

Inner Classes:

sammcdo commented 4 years ago

LimelightS

Dependencies

Description

Inputs

Outputs

Actions

Constraints

Design

Variables

Methods

sammcdo commented 4 years ago

This is what I did to drown my misery the first few weeks after quarantine. Check out branch sammcdo/limelightUpdate

shueja commented 3 years ago

Outdated.