Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Made slides go to the perfect position to hang and then they fall down trying to get to 0 ticks but then when it's hanging the motors grind a bit. * Used TFOD sample to detect the white pixel * Fixes, template auto * more changes * Made gamepad1 use button y to make the slides go up but not back down. * Dumbest autonomous strafing to the right. * More Auto Stuff in the making * More Auto Stuff in the making * Added the claw to drop two pixels in the backstage in auto * Added the claw to drop two pixels in the backstage in auto * Added the claw to drop two pixels in the backstage in auto * Made all simple autonomous code * Made all simple autonomous code with the beginning meaning after init is pressed the claw locks and goes into stow mode. * Finished autos. * I Forgor to commit D: * Changes! Fri Nov 10 3:30 * Merge conflicts * [skip ci] move magic numbers to Var.kt * Finished autos. * Finished autos. * Motor balancing * Retune, bug fix * asyncify gamepad1 Y button * oopsie * more timing * Lift speeds as tick/second + separate lift speeds for p1 and p2 + X button can be struck by truck >:( + flicc the sticc to go to lift presets * MORE Var.kt WHEEE * Tweaks * Hardware Test + value tweaks * Detects red solo cup prototype. * commit forgor D: * BROKEN IMPL!! uhh yeah * Simple auto with PID. * Rwekrts * The jank real * Bill-mandated utility script * Added IMU thing :) * liam changes * compiler fix * Intake controls * here's your heckin vision processor * added timer into the loop for the motion profile and started the code for the pipeline for the blue team prop in java. * I <3 JAVA.LANG.REFLECT :DDD * Claw obliterated, other changes * IT WORKS, WOAH * Made the turning subroutine. * panic * Reconcilibility shenanigans * Bill helps me fix the code * experimental strafe code * TurnPID is not an opmode * Made the turning subroutine possibly work for negative angles. I also corrected for error. * Twenty Point Auto + Bug Fixes * Retuned corrective factors * More configuration vars * FUNKAY * panic commit lul * Quick hanging fix * WORKING AUTO YEAHHHHHHh * WOAH PARKING * Parking 2.0 * WHOOPS * The circles works!!! * Fix tests * Kinda bad button * retune, remove weird back button thing Liam made me do in 3 minutes * Clean * Canonicalize using Pair<Task,Task> for then() * WIP: Turn odo drive into a Task TODO: Check strafeLeft, and make it actually finish (tweak power) * tweak intake speed * AO2.0 * FIELD CENTRIC 🎉🎉🎉 * okay * don't call to() and inches() every single iteration (yes it looks like a field access, but in Kotlin it's actually a property = a method call) * Code review suggestions * Reformat code * use the right motion function dummy * woah it works ?!?!? * WHEEE * Added the p constant and made a ramp down in the turning subroutine. * Correct TurnPID for other direction * damn it broke * wipes sweat * Update HEY NISHK.md * Update HEY NISHK.md * Got the the servo position for releasing only the top pixel. Worked on the java version of the strafing code. * Implement suggested changes * Adjust TODOs and FIXMEs * Change odometry configurations * fix wrong names * This strafe program works well and slightly over shoots by an inch. * Made the ramp down slightly higher for strafing so that it's more accurate. * Strafing left works but retest after we put the intake on. * Duplicate changes to Kotlin * Rework dumper * generify MotorSet * use OtherParking * Made a seperate auto called TwentyBlueRightTest which includes all the robot movements to move the robot from the beginning to the front of their respective backdrop april tags. Miles needs to add the pixel dropper code and vision code in here. * fix issues with generic MotorSet (this does literally nothing after compilation) * rm left stick preset & add A button * logs fun fun fun * Dep. DriveForwardPID, forward/reverse curve sync * why ki broke? * well I fucked up the Kotlin * yeah ok what the hell is going on here * capture originals * it kinda works * Bring strafing parity up to date (?) * try to implement turning * BUG LOCATED * (untested) don't conflate speeds and powers maybe rename MotorPowers because it's just being used as a generic Motor-anything container now? * make names less confusing * Clean up Imports * Clean up Lines * i <3 reversions * wheeeeeeeee * the code is EVEN WORSE NOW WHEEEEEE use TwentyAutoRedLeft/Right use TeleOp * I HATE THIS CODEBASE AAAAAAAAAaaa * Strafe working. Canonicals: drive, strafe: kotlin; rotate: java * HELL YEAH BLUE LEFT WORKS * Red Right works also * Blue Right ✅ * No jtr * Timer conf on init scrn. Blue side not tested with timer. * yeah so tests broke lol --------- Co-authored-by: Nishk04 <nishkjimikshah@gmail.com> Co-authored-by: Liam Doran <65523663+Minerbot360@users.noreply.github.com>
- Loading branch information