AGHSEagleRobotics / frc1388-2023

0 stars 0 forks source link

Use Lint to test balancing #7

Open jtechau opened 1 year ago

jtechau commented 1 year ago

Ideas to try:

jtechau commented 1 year ago

Let's keep track of ideas and test results / notes in the description above.

isabellebowdey commented 1 year ago

We coded AutoBalance on the Lint2023 project to drive up if the robot is tilted up (to get up the charging station). We used power-based code, multiplying a P value (0.05 starting) by the robot angle. The steeper the angle, the faster it goes. This could create some overshoot problems, so we're thinking of ways to balance on the charge station more successfully. Some ideas (a few mentioned above):

Note to self 1/25/23: In the Lint 2023 code, we are calling everything in autonomous. I think we'll have to change where AutoBalance is called (ex: make it a click of a button when balancing at the end of a match).

jtechau commented 1 year ago

Autobalance has been ported to the 2023 robot code.