Skip to content

Commit

Permalink
fixed elevator position -
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius-Juston committed Feb 20, 2018
1 parent 0d7419e commit d092eea
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 25 deletions.
54 changes: 30 additions & 24 deletions PowerUp/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void periodic() {
public void initConstants() {
elevatorMotor.setNeutralMode(NeutralMode.Brake);
elevatorMotor.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative, 0, TIMEOUT);
elevatorMotor.setSensorPhase(false);
elevatorMotor.setSensorPhase(true);
elevatorMotor.setInverted(false);

elevatorMotor.setStatusFramePeriod(StatusFrameEnhanced.Status_13_Base_PIDF0, 10, TIMEOUT);
Expand Down

0 comments on commit d092eea

Please sign in to comment.