Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Fix canid on candle #97

Merged
merged 5 commits into from
Mar 21, 2024
Merged

Fix canid on candle #97

merged 5 commits into from
Mar 21, 2024

Conversation

maxspier
Copy link
Member

No description provided.

@maxspier maxspier requested a review from 1yd1a March 21, 2024 01:48
@maxspier maxspier merged commit 0150bb3 into main Mar 21, 2024
3 checks passed
@maxspier maxspier deleted the Pookie-Bear's-Lights branch March 21, 2024 01:51
1yd1a added a commit that referenced this pull request Mar 22, 2024
* Sample Lights code (#96)

* code etc

* apply jay demon

* Drive set rotation (#87)

* added controlRobotOrientedWithRotationSetpoint

* added comment

* added rotation lock-on to drive

* added controls in OI

* turret shooter at home

* removed old code from drive

* used constant for threshold

* added default speaker positions

* spotless

* clean up

* changed controls and default

* apply linter to streamline PR process

* logs

* fixed oi stuff

* changed negative so that it tracks the red target correctly

* made shootNow work with new changes

* Allow shooting only for luis, seperate buttons for speaker vs amp, lint, some changes etc.

* update conflicting buttons

* new boxop code

* removed unused PID controller

* changed logic for shooting button without rotation lock

* added VisionConstants and made visionSpeakerHelper update the robot position based on the known speaker position (rather than vice versa)

* makes auton reset position based off of april tag if it sees

* deleted wrong boxop climber code

* added todo comment

* removed unnecessary logging, added vision update to shootnow

* theoretically fixed context issues

* stopped drive once done using in shootNow, added timeouts

* commented out spammy log

* added shooting ability

* added log to update

* added extra pid value

* added top

* added scoring position, changed some constants

* changed visionSpeakerHelper back to updating target position rather than robot position

* minor shooter changes

* Optimized turning so that it always goes in the shortest direction.

* Ran spotlessApply

* added drive rotation to be in  run so it continues even after calling once
everything works for the most part!

* spotless

* reverted untested drive change

* added comment

---------

Co-authored-by: Leek <[email protected]>
Co-authored-by: Mixmix00 <[email protected]>
Co-authored-by: ThatComposerDude <[email protected]>

* Fix canid on candle (#97)

* restructure climber controls so all climber stuff happens within an enable climber condition.  this allows us to simplify the context ownership logic a little.

* linting

* merging latest from main

* fix merge issues

* bringing back closer to base pr (reducing diffs)

---------

Co-authored-by: Mixmix00 <[email protected]>
Co-authored-by: Rajit G <[email protected]>
Co-authored-by: Leek <[email protected]>
Co-authored-by: Mixmix00 <[email protected]>
Co-authored-by: ThatComposerDude <[email protected]>
Co-authored-by: Debajit Ghosh <[email protected]>
qntmcube added a commit that referenced this pull request Mar 22, 2024
* climber conditions

* spotless

* added protection against constantly releasing shoulder ownership

* make boxop functional

* docs + tweaks

* Climber boxop restructuring experiment (#99)

* Sample Lights code (#96)

* code etc

* apply jay demon

* Drive set rotation (#87)

* added controlRobotOrientedWithRotationSetpoint

* added comment

* added rotation lock-on to drive

* added controls in OI

* turret shooter at home

* removed old code from drive

* used constant for threshold

* added default speaker positions

* spotless

* clean up

* changed controls and default

* apply linter to streamline PR process

* logs

* fixed oi stuff

* changed negative so that it tracks the red target correctly

* made shootNow work with new changes

* Allow shooting only for luis, seperate buttons for speaker vs amp, lint, some changes etc.

* update conflicting buttons

* new boxop code

* removed unused PID controller

* changed logic for shooting button without rotation lock

* added VisionConstants and made visionSpeakerHelper update the robot position based on the known speaker position (rather than vice versa)

* makes auton reset position based off of april tag if it sees

* deleted wrong boxop climber code

* added todo comment

* removed unnecessary logging, added vision update to shootnow

* theoretically fixed context issues

* stopped drive once done using in shootNow, added timeouts

* commented out spammy log

* added shooting ability

* added log to update

* added extra pid value

* added top

* added scoring position, changed some constants

* changed visionSpeakerHelper back to updating target position rather than robot position

* minor shooter changes

* Optimized turning so that it always goes in the shortest direction.

* Ran spotlessApply

* added drive rotation to be in  run so it continues even after calling once
everything works for the most part!

* spotless

* reverted untested drive change

* added comment

---------

Co-authored-by: Leek <[email protected]>
Co-authored-by: Mixmix00 <[email protected]>
Co-authored-by: ThatComposerDude <[email protected]>

* Fix canid on candle (#97)

* restructure climber controls so all climber stuff happens within an enable climber condition.  this allows us to simplify the context ownership logic a little.

* linting

* merging latest from main

* fix merge issues

* bringing back closer to base pr (reducing diffs)

---------

Co-authored-by: Mixmix00 <[email protected]>
Co-authored-by: Rajit G <[email protected]>
Co-authored-by: Leek <[email protected]>
Co-authored-by: Mixmix00 <[email protected]>
Co-authored-by: ThatComposerDude <[email protected]>
Co-authored-by: Debajit Ghosh <[email protected]>

* change shoulder pos + move soft stop

* move override

* lint

* changed lights for max

* canid for candle

* added stops and more deadzone

* reversed boxop controls

---------

Co-authored-by: qntmcube <[email protected]>
Co-authored-by: Mixmix00 <[email protected]>
Co-authored-by: Leek <[email protected]>
Co-authored-by: Mixmix00 <[email protected]>
Co-authored-by: ThatComposerDude <[email protected]>
Co-authored-by: Debajit Ghosh <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants