Code Monkey home page Code Monkey logo

slippy's People

Contributors

busterc246 avatar cassiopeia3 avatar dezash123 avatar green726 avatar mgiouvalakis27 avatar py44n avatar s-s25 avatar

slippy's Issues

Status LEDs

We should definitely add some status LEDs to our robot. These are the modes Mechanical Advantage has. I think we should probably do something similar

  • Disabled: Defaults to team colors or our alliance color when connected to the field. This was replaced with a pride rainbow at Champs.
  • Autonomous: Fast waves of team colors.
  • Holding Note: Solid green, once the note is fully secure inside the robot (accompanied by controller rumble).
  • Climbing/Auto Driving: Rainbow waves.
  • End-of-Match Warning: Red and gold flashing, triggered by default at 30 seconds and 15 seconds (plus controller rumble).
  • Request Amp: Flashing white, triggered from a button on the driver controller. This ended up being mostly unused.
  • Arm/Climber/Backpack Coast: Solid white, triggered with an override switch on the operator console.
  • Battery Not Changed: Pulsing red (accompanied with a Driver Station alert), as an extra line of defense against forgetting to swap batteries after a match.
  • Low Battery: Solid orange, when disabled and at low voltage. This makes it harder to accidentally leave the robot on and damage a battery.
  • E-Stopped: Solid red.

Trust odometry less when skidding or colliding

We should copy the thing that Orbit (and I think Cheesy) do where they adjust how much they trust their odometry when they detect that their robot is skidding or has collided with another robot

Fix Command Xbox Controller causing loop overruns

Calling Command Xbox Controller button functions in a loop seems to cause loop overruns (wpilibsuite/allwpilib#5903). We only do this in the auto amp command. We should be able to replace this by either properly setting up the beam break logic so we don't need a spit bind (we should do this if we are going for full auto drive controls) or making the button call a spit command (or function in the auto amp command) from a bind in robot container.

First pass auto tuning

First pass getting auto pathing working. Will need to do more tuning once trunk is fully working.

Full robot sim

This should only be done if build needs the robot for a while and there isn't more code to write

Proper PID tuning and IK speed changes

Tune the trunk rotation PID to be faster, and possible add additional IK positions (high and out of frame stow) to speed up IK moves and cycles in match

Create auto paths

I think we should ideally aim for

  • Amp side 5 note
  • Source side 4 note
  • Wide source side (3-4) note

But we should probably do minimum-viable product autos first

Auto align to amp

Pathplanner should allow you to do this fairly easily. Might not be worth doing as it looks like it is fairly easy to line up in match

Driver control improvements (including automatic state management)

Improve the driver controls. New controls should mostly replace Ryan (sorry buddy) with the automatic state management and should pull heavily from the LED display (real item). Ideally, we want the robot to automatically manage the state of the trunk based on the global zone that it is in and then perform an action at the press of a driver joystick button (action can be chosen by Ryan on the real item).

Auto Tuning

Tune some better autonomous paths. We need to dial in the vision tuning (#59) before starting on this

Ideally I would like

  • Good amp side auto
  • Good source side auto
  • A decent under stage (something a worlds 2nd pick would be running)

Vision Improvements

Make the vision better

Might include (if necessary)

  • Full Milan Kalman filters

Start using FOC for pivot

We might want to switch to full onboard PID and feedforward with FOC, but it's probably easier to just use FOC with voltage control

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.