Skip to content

Arm improvement and tuning#69

Merged
danielbrownmsm merged 23 commits intomasterfrom
Arm-Improvement-and-Tuning
Apr 4, 2023
Merged

Arm improvement and tuning#69
danielbrownmsm merged 23 commits intomasterfrom
Arm-Improvement-and-Tuning

Conversation

@deadlyvortex
Copy link
Contributor

Added feedforward to arm control.
Fixes #52

danielbrownmsm and others added 21 commits March 23, 2023 16:46
* code for new intake with wrist
still need to write commands for it though

* actually create hardware objects for the new intake

* update values from hardware in the software interface
* field oreinted scoring written, builds, untested

* field-oriented scoring tested, works

* left and right bumpers for pickup positions so we can pickup on both sides of the robot
* code for new intake with wrist
still need to write commands for it though

* actually create hardware objects for the new intake

* update values from hardware in the software interface

* wrote commands to move the wrist to a certain position, either just straight to a position or incrementing it

* bind some of the wrist commands we need

* wrist tilt encoder on shuffleboard

* clean up the intake commands and add some more OKC_CALL stuff

* add an offset to the tilt encoder

* fix intake parameters

* more okc checks
@deadlyvortex deadlyvortex self-assigned this Mar 28, 2023
Copy link
Collaborator

@danielbrownmsm danielbrownmsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll go ahead and make these changes, but I'm leaving this review so Sai can see how the process works

build.gradle Outdated

// Set this to true to enable desktop support.
def includeDesktopSupport = true
def includeDesktopSupport = false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to change back to true


// set output
this->interface_->arm_lift_power = this->arm_pid_->Calculate(this->state_.rotation);
double ff = TeamOKC::sign(this->desired_state_.rotation) * arm_kF_ * this->desired_state_.rotation * this->desired_state_.rotation;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a comment about what this is actually doing


[arm.negative_pickup]
extend_setpoint = 20.0
extend_setpoint = 50.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is there another extend setpoint here?

@deadlyvortex
Copy link
Contributor Author

ok

@danielbrownmsm danielbrownmsm self-requested a review April 4, 2023 21:09
Copy link
Collaborator

@danielbrownmsm danielbrownmsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, and then we can merge the feat/GKC branch

@danielbrownmsm danielbrownmsm merged commit 2bed1dd into master Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arm control improvements and tuning

2 participants