Commit Graph

201 Commits

Author SHA1 Message Date
NerdyBirdy460
1dd8051202 More work on Pizza bot's teleop- Launcher works, beginning the distance sensor coding 2024-01-01 20:47:15 -06:00
ad68fbb7c0 Removed rotation from openCV frame processor, got claw arm working as intended, winch now locks position when trigger is released, wip: toggling between claw arm and winch manual control (disabled for now), fixed claw arm deposit angle not correctly set from config (was using wrong key), updated hook arm hooking position. 2023-12-30 13:21:55 -06:00
SpencerPiha
362ab0791d fixed arm control, attempted to start autonomous 2023-12-30 11:25:12 -06:00
SpencerPiha
4e9e646947 Merge remote-tracking branch 'origin/master' 2023-12-29 22:35:38 -06:00
SpencerPiha
08cfacf2ea Finished camera state, fixed memory leak problem. fixed my odometry code so it actually drives the robot again (had to remove max power) need to fix arm controls in autonomous. 2023-12-29 22:35:24 -06:00
NerdyBirdy460
3e3a82ac6b More work on Pizza bot's teleop- Gripper works, safeguards in place, PID pending. 2023-12-28 20:38:21 -06:00
NerdyBirdy460
0330250194 More work on Pizza bot's teleop- arm is fully functional 2023-12-27 21:04:32 -06:00
NerdyBirdy460
ae85337b5e More work on Pizza bot's teleop- arm 2023-12-21 20:35:05 -06:00
e803df0cd9 RedCrab: 'Finished' adapting code to use velocity instead of raw power, verified distance math 😄, claw arm still needs work, misc. 2023-12-20 20:00:10 -06:00
a9dfea93ed RedCrab: After reading some docs- switch claw arm control back to a RUN_TO_POSITION 🙃 2023-12-20 11:47:24 -06:00
b83aec0a14 RedCrab: Make drivetrain use velocity instead of raw power 2023-12-20 11:17:22 -06:00
d2200fcc0a RedCrab: Hopefully fix ticks to distance calculations for drivetrain, fixed drivetrain gear ratio (see: https://docs.revrobotics.com/ultraplanetary/ultraplanetary-gearbox/cartridge-details#actual-cartridge-gear-ratios), changed claw arm to RUN_WITHOUT_ENCODERS to disable in-built pid controller (might be conflicting with FTCLib's that I'm using), using bulk caching of hub values, misc. changes 2023-12-20 10:37:34 -06:00
8a3775af34 Added motor tick to distance, distance to tick, hub bulk caching mode, and battery voltage functions from CHIRON to Utilities, added abstract autonomous engine class 2023-12-20 10:34:32 -06:00
1bf25d9feb RedCrab: Initial Team Prop vision test finished, added 'telemetry' data to camera preview, fixed PathEnactor checking for 'AutonomousPath' instead of 'autonomousPath' from the blackboard, started building Red Backstage autonomous. 2023-12-19 22:00:44 -06:00
NerdyBirdy460
ef1a6e9d0c More work on Pizza bot's teleop- arm 2023-12-19 20:20:25 -06:00
NerdyBirdy460
a325016a44 More work on Pizza bot's teleop 2023-12-19 14:39:23 -06:00
NerdyBirdy460
afde9596a8 More work on Pizza bot's teleop 2023-12-19 14:37:08 -06:00
SpencerPiha
c7a8a7c440 Merge remote-tracking branch 'origin/master' 2023-12-18 17:00:54 -06:00
SpencerPiha
b8bd65a4b3 Camera work has been done using open CV and i was succesfully able to break the camera into looking through 3 sections but still need to figure out how to determine color 2023-12-18 17:00:21 -06:00
d2b2096af2 RedCrab: Refactor to allow usage of multiple different vision processors, update vision processors to allow getting results for telemetry purposes. 2023-12-18 14:47:27 -06:00
ae60529e29 RedCrab: Use a hardlink instead of a softlink for config 2023-12-17 15:06:25 -06:00
d1af3eab3d RedCrab: added TCT/TACNET config to source 2023-12-17 15:05:28 -06:00
497086239a RedCrab: Added TODO file, added SpikeMark line detector VisionProcessor 2023-12-17 15:03:27 -06:00
7f4c2af088 RedCrab: Implement TeamProp vision processor; uses Hue-Saturation-Value colorspace 2023-12-17 14:22:30 -06:00
afec3694c9 Disable nonfunctional driver for Adafruit encoders 2023-12-17 13:06:08 -06:00
6618e976c9 Possibly fix unhelpful error message when using CyberarmEngine#setupFromConfig 2023-12-17 13:03:05 -06:00
a2d1416632 Experimental: Add support for running states without using threads 2023-12-17 10:46:03 -06:00
fe99b9f6fd RedCrab: Refactored ClawArm to use a raw PID[F] controller, converted robot constants to get set from config 2023-12-17 10:22:06 -06:00
a4ed6101c4 Sync changes 2023-12-16 15:56:44 -06:00
b34cfd7439 Disable config reloading 2023-12-16 14:55:50 -06:00
NerdyBirdy460
bb5e242eb0 More work on Pizza bot's teleop 2023-12-16 12:04:26 -06:00
146d2f6a51 Stubbed pixel detection, added support to CyberarmEngine#setupFromConfig for inserting states AFTER a provided state 2023-12-15 10:59:37 -06:00
NerdyBirdy460
ef556c148d Merge remote-tracking branch 'origin/master' 2023-12-13 13:02:23 -06:00
NerdyBirdy460
a43a8765c9 Pizza has joystick mixing 2023-12-13 13:01:52 -06:00
d792a00c4e Implemented ClawArmMove state for RedCrab 2023-12-11 18:32:54 -06:00
451a28994d Implemented ServoMove state for RedCrab with lerp-ing support 2023-12-11 17:45:43 -06:00
31c280e9c1 Implemented Move state for RedCrab 2023-12-11 17:03:08 -06:00
3cecfce1cf Stub autonomous for Red Crab minibot 2023-12-11 10:56:30 -06:00
b84619bfc5 WIP: Experimental support for live reloading TCT Config variables 2023-12-11 09:20:13 -06:00
SpencerPiha
e149ca5968 Merge remote-tracking branch 'origin/master' 2023-12-09 15:06:02 -06:00
SpencerPiha
5043110e5c autonomous states and engine 2023-12-09 15:05:54 -06:00
NerdyBirdy460
47883710ba Started to format drive state similar to turn state, tests seem to work well for now 2023-12-09 13:00:34 -06:00
b537d04c52 Improvements to Red Crab Pilot 2023-12-08 20:53:44 -06:00
797c653186 Red Crab is Pilot-able 2023-12-07 20:27:16 -06:00
NerdyBirdy460
c50b7d464b Started to format drive state similar to turn state, tests seem to work well for now 2023-12-07 13:04:25 -06:00
SpencerPiha
d6ef24dbfe Merge remote-tracking branch 'origin/master' 2023-12-07 01:26:06 -06:00
SpencerPiha
b6f8883110 Odometry was tuned, and then the only issue i had to fix was how to reset the encoders on the "motors" (which are just used for the odometers to shadow) and everything I have tried to use to stop and reset the encoders makes them unresponsive and not wanting to drive. but the bateries are completely drained on the robot and my battery is also drained making me unresponsive. good night (still gotta push CAD) 2023-12-07 01:25:53 -06:00
NerdyBirdy460
f6297663c2 Second drive state, tried to make ramping speed work better 2023-12-05 17:09:14 -06:00
SpencerPiha
0b962a04e4 Merge remote-tracking branch 'origin/master' 2023-12-04 23:43:09 -06:00
SpencerPiha
58f4308588 wrote the entire TeleOp code for V1 teleOp. plan to fine tune and make sure everything works consistently for the scrimmage right away after school, just gotta finalize variables for arm positions. 2023-12-04 23:42:50 -06:00