Skip to content

Aishah/sysid#25

Closed
aishahnazar wants to merge 23 commits intomainfrom
aishah/sysid
Closed

Aishah/sysid#25
aishahnazar wants to merge 23 commits intomainfrom
aishah/sysid

Conversation

@aishahnazar
Copy link
Contributor

add sysID command and bindings for elevator


public static final double INITIAL_POSITION = 0;
public static final double METERS_PER_ROTATION = 0.0;
public static final double METERS_PER_ROTATION = Units.Meters.convertFrom(1.751 * Math.PI/5, Units.Inches); // temp

Choose a reason for hiding this comment

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

Why is this temp? 👀


public static JoystickVals adjustInputs(double x, double y, boolean slowmode) {
return adjustSlowmode(inputShape(x, y), slowmode);
return adjustSlowmode(inputShape(x, y), slowmode);

Choose a reason for hiding this comment

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

nit: remove whitespace at the end of this line :3

new ParallelCommandGroup(
new InstantCommand(() -> {nextState = RobotState.L2_ALGAE;}),
m_ledSubsystem.runSolidPink()));
//copilotJoystick.leftTrigger().onTrue(

Choose a reason for hiding this comment

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

Note: We're probably going to have a lot of merge conflicts with these lines, they change frequently across all of our MRs 😬

log.motor("elevatorsysID")
.voltage(
m_appliedVoltage.mut_replace(
m_IO.getVoltage(), Volts))

Choose a reason for hiding this comment

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

It's showing that getVoltage() is undefined for m_IO :sus:. Are we sure this code works correctly?

@moreheadm
Copy link
Contributor

@aishahnazar Can we cherry pick the two commits that actually have to do with sys-id into a new PR.

@aishahnazar
Copy link
Contributor Author

aishahnazar commented Mar 7, 2025

okay, just submitted a new PR [https://github.com//pull/73]
can I close this PR?

@amzoeee amzoeee closed this Mar 14, 2025
@amzoeee amzoeee deleted the aishah/sysid branch March 14, 2025 01:15
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.

5 participants