Commit Graph

197 Commits

Author SHA1 Message Date
1c71771034 Added runTime method to CyberarmEngine (FTC's getRunTime starts when INIT is pressed, not when START is pressed), RedCrab: Make use of LED(s) for showing when it's time to launch ta drone and hook the bar 2024-01-31 09:53:48 -06:00
688ccdf70e RedCrab: Use common engine subclass, fixed MoveToCoordinate ONLY rotating with there's rotation set, LED stuff. 2024-01-31 09:08:35 -06:00
4980caf0c2 RedCrab: MoveToCoordinate now supports lerping in and out based on distances, untested: angle correction/rotate to target angle 2024-01-30 23:35:04 -06:00
NerdyBirdy460
b29a3c94f8 Merge remote-tracking branch 'origin/master' 2024-01-30 20:34:34 -06:00
NerdyBirdy460
1712a77a26 Pizza drive works fully, still robot-centric :/ 2024-01-30 20:34:23 -06:00
2670d45a1d RedCrab: Initial implementation of autonomous MoveToCoordinate, added debug automonous, added a Vector2D class 2024-01-30 17:51:38 -06:00
02cd52f7e8 RedCrab: Physically adjusted claw arm position and tweaked claw arm and wrist positions in config. 2024-01-30 14:52:26 -06:00
585ded2381 RedCrab: Localizer _seems_ to be working now, more testing needed. 2024-01-29 21:06:42 -06:00
337652018d RedCrab: Updated HookArm servo positions, drone latch resets to initial position after confirmation_time_ms + 1 second, tweaked ClawArm PID to reduce back smacking; changes to Localizer, added AMS (Alert Management System) to show important messages on telemetry for 5 seconds, reset deadwheels on setup, localizer can be reset to 0,0,0 with left and right joystick buttons at the same time for 1 second. probably some other stuff also... 🤷 2024-01-27 15:02:01 -06:00
dca17c786d RedCrab: First pass of odometry/localization 2024-01-26 20:53:59 -06:00
06228b955c Experiment: Mocked up concept for telemetry system that can be received by any LAN connected device 2024-01-26 17:24:15 -06:00
NerdyBirdy460
633f6fa0f8 I don't get paid enough for this ¯\_(ツ)_/¯ 2024-01-25 20:30:55 -06:00
acc7b63b3b Organized @TeleOp's into proper groups 2024-01-25 18:06:46 -06:00
0fcaf380ab Implemented I2C driver for custom encoder based on an Adafruit KB2040 2024-01-25 18:06:27 -06:00
NerdyBirdy460
3a614697f7 Trying to fix the weird drive problems on pizzabox, new problem came up. Config mistake? 2024-01-20 21:46:44 -06:00
46ea23bef8 RedCrab: Fixed arm float position not working, claw wrist adjustments 2024-01-20 12:46:00 -06:00
NerdyBirdy460
513045b543 Merge remote-tracking branch 'origin/master' 2024-01-20 12:07:03 -06:00
NerdyBirdy460
2216ae2136 Trying to fix the weird drive problems on pizzabox, ready to test it. 2024-01-20 12:06:55 -06:00
SpencerPiha
f47ca4c8f2 Merge remote-tracking branch 'origin/master' 2024-01-20 11:27:17 -06:00
SpencerPiha
c109ce8ee4 worked on velocity implementation 2024-01-20 11:27:06 -06:00
SpencerPiha
bc014988fd tuning auto for left and right 2024-01-20 09:57:24 -06:00
NerdyBirdy460
426ec88fa4 Trying to fix the weird drive problems on pizzabox, just got kind of weird but in a different way 2024-01-19 22:03:31 -06:00
6b29c8645b RedCrab: Reversed claw Arm motor 2024-01-18 21:20:04 -06:00
NerdyBirdy460
2241d31c83 Merge remote-tracking branch 'origin/master' 2024-01-16 20:42:14 -06:00
NerdyBirdy460
1edb4de772 Began helping Spencer with a simple drivetrain code for autonomous 2024-01-16 20:41:14 -06:00
SpencerPiha
fc9c2b5812 tuning auto for left and right 2024-01-12 19:24:18 -06:00
SpencerPiha
ff88fcc493 tuning auto for left and right 2024-01-11 20:25:38 -06:00
SpencerPiha
8bf064c63e fixed odometry 2024-01-11 19:04:14 -06:00
SpencerPiha
fc0fd6c77b Merge remote-tracking branch 'origin/master' 2024-01-10 20:05:13 -06:00
SpencerPiha
25c40a7f28 worked on odometry which is broken, and i fixed teleOp controls for drivetrain 2024-01-10 20:04:54 -06:00
SpencerPiha
a2ac7bf946 worked on odometry which is broken, and i fixed teleOp controls for drivetrain 2024-01-10 20:04:44 -06:00
NerdyBirdy460
adf856bb24 Pizza bot - Still working on the field centric drive and arm has been reapplied 2024-01-09 15:58:33 -06:00
2f265edbfe RedCrab: First iteration of Blue Audience autonomous complete 2024-01-08 19:47:49 -06:00
bca0ec5225 RedCrab: First iteration of Red Backstage autonomous complete 2024-01-08 19:30:09 -06:00
0c6873c832 RedCrab: Don't reset arm encoder in teleop, fixed ArmMove state instantly finishing, added option for force a specific spike mark path for debugging, Red Audience autonomous complete- probably :slight_smile: 2024-01-08 18:01:08 -06:00
8c103aeec0 RedCrab: Fixed Move state erroneous instantly finishing- sometimes; due to caching, fix CyberarmEngine not throwing errors when expected, mostly functional Red Audience path (with center deposit branch added) 2024-01-07 21:17:29 -06:00
NerdyBirdy460
dffb883427 Merge remote-tracking branch 'origin/master' 2024-01-06 12:47:34 -06:00
NerdyBirdy460
1dc28841f1 Pizza bot - Still working on the field centric drive and arm has been commented out. 2024-01-06 12:47:09 -06:00
d778d1be69 Misc improvements, fixed teleop overriding arm control power improperly. 2024-01-06 12:36:07 -06:00
SpencerPiha
5f2bb56fed Merge remote-tracking branch 'origin/master' 2024-01-06 00:59:52 -06:00
SpencerPiha
3327860e5d fixed max power function, tuned odometry a bit, added a wait arguement in the arm state so we can have delays and pauses when needed, and wrote out all of blue audience side auto steps. 2024-01-06 00:59:34 -06:00
9a6487a368 Updated Vexy/Yellow minibot (disabled code in autonomous drive states) 2024-01-04 20:56:23 -06:00
NerdyBirdy460
f6d85000b9 Pizza bot is now fieldcentric and arm has been commented out. 2024-01-04 17:57:21 -06:00
SpencerPiha
c5d5ca7b59 fixed heading lock, started to fix the max power function from the drive to coordinates state. plan to finish tomorrow and re tune the PID for driving because the robot has gotten changed mechanically, so it drives too fast 2024-01-03 23:00:04 -06:00
SpencerPiha
28933fc5c8 Merge remote-tracking branch 'origin/master' 2024-01-02 20:36:21 -06:00
SpencerPiha
0f205fed3a heading lock breaks robot 2024-01-02 20:36:03 -06:00
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