Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set motion magic hard coded values to values in preferences #249

Conversation

dunep
Copy link
Contributor

@dunep dunep commented Mar 16, 2024

No description provided.

@dunep dunep requested a review from a team as a code owner March 16, 2024 20:22
@@ -190,6 +190,11 @@ public static final class prefPitch {
public static final SN_DoublePreference pitchP = new SN_DoublePreference("pitchP", 300); // 100
public static final SN_DoublePreference pitchI = new SN_DoublePreference("pitchI", 0);
public static final SN_DoublePreference pitchD = new SN_DoublePreference("pitchD", 0);
public static final SN_DoublePreference MotionMagicCruiseVelocity = new SN_DoublePreference(
Copy link
Contributor

Choose a reason for hiding this comment

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

// - Motion Magic -
/**
* Units: Rotations per second (rps)
*/
public static final SN_DoublePreference climberCruiseVelocity = new SN_DoublePreference(
"climberCruiseVelocity", 80);

/**
 * <b> Units: </b> Rotations per second per second (rps/s)
 */
public static final SN_DoublePreference climberAcceleration = new SN_DoublePreference(
    "climberAcceleration", 160);
/**
 * <b> Units: </b> Rotations per second per second per second (rps/s/s)
 */
public static final SN_DoublePreference climberJerk = new SN_DoublePreference("climberJerk", 1600);

@dunep dunep enabled auto-merge (squash) March 16, 2024 23:29
@@ -305,10 +320,10 @@ public static final class prefShooter {

public static final SN_DoublePreference leftShooterIntakeVelocity = new SN_DoublePreference(
"leftShooterIntakeVelocity",
-10);
-3);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why were these values changed for this PR?

/**
* <b> Units: </b> Rotations per second per second (rps)
*/
public static final SN_DoublePreference turretCruiseVelocity = new SN_DoublePreference(
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this the correct value?

@ACat701
Copy link
Contributor

ACat701 commented Apr 6, 2024

Stale :(

@ACat701 ACat701 closed this Apr 6, 2024
auto-merge was automatically disabled April 6, 2024 01:17

Pull request was closed

@TaylerUva TaylerUva deleted the onvert-Motion-Magic-configs-in-Pitch-and-Turret-to-Preferences branch April 6, 2024 14:25
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.

3 participants