Giter VIP home page Giter VIP logo

ftc-3638-2021's People

Contributors

bri4962 avatar danielbrownmsm avatar

Watchers

 avatar

ftc-3638-2021's Issues

Rename everything

so that it's standardized and makes a lot of sense to the casual reader (read: me in another year or two wondering what the h*ck stuff is)

Update the README

So it talks more about our robot, code structure, control loops, and team

Find a way to turn servos *off*

So that we can turn off the arm+claw servo to reduce power draw and not brown out.
Also so the arm rests fully down because the arm servo's 1 is still ~25 degrees higher than it needs to be so then we can have it drift all the way down

Catch the exception

So our code doesn't freakin crash for a method we don't call.
The error is a TargetPositionNotSetException thing

Make a low power mode

That sets all motors to float, disconnects the servos, the whole shebang. Not sure when we'd call this tho

Make a doubleGoodWobbleAuto

Uses vision/color sensor to move the wobble goal to the correct box, then goes back and moves the other wobble goal to the correct box, then parks on tape. Points: 35

Make a goodWobbleAuto

Moves the wobble goal to the correct position using either vision or color sensors, then parks on tape. Points: 20

make a robot.periodic

It should update telemetry and stuff. And also set the arm to its target. And probably other stuff as well. Linking #16

Add "testing"

Just some assert()s in Robot.init() after everything's been set up

program the ring arm

dpad calls setArmTarget(constants.kArmUp or whatever); and then in the loop we robot.periodic() which then sets the arm to (target - current) * kP

Limit current draw

So that we don't brownout and lose power. Maybe limit it evenly among all motors while driving?

Add telemetry

Values to add:

  • arm position (down, neutral, wobble height)
  • claw position (open/close)
  • robot direction (turning right/left, moving forward/backward/left/right/diagonal left up/diagonal left down/etc.)
  • distance until reach goal
  • other stuff

Make a moveWobbleCAuto

Moves the wobble goal to box C (or B, whichever) because 33% chance of getting it right. Then parks on tape for 5 points. Possible points: 20, probably only get 5 though

Make a doubleRandomWobbleAuto

Moves the wobble goal to one box, then goes back and gets the other wobble goal and moves that to another box, and then parks on tape. Points: max of 20, min of 5. Chance of 20: 66%.

Make a driveToLineAuto

It should drive to the line and stop for 5 points. Maybe add a color sensor on the bottom?

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.