Skip to content

Commit

Permalink
worked on elevator
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierCraw committed Nov 7, 2024
1 parent 371977d commit 818f508
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package com.team766.rookie_bot.mechanisms;
package com.team766.robot.rookie_bot.mechanisms;

import com.team766.hal.RobotProvider;
import com.team766.hal.SpeedController;
import com.team766.hal.MotorController;
import com.team766.framework.Mechanism;
import com.team766.hal.EncoderReader;

public class Elevator extends Mechanism{
private SpeedController m_elevator;
public class Elevator extends Mechanism {
private MotorController m_elevator;
private EncoderReader m_elevatorEncoder;

public Elevator() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,14 @@
import com.team766.framework.Context;
import com.team766.robot.rookie_bot.Robot;

public class PIDElevator {
public class PIDElevator extends Procedure{
double setpoint;
PIDController controller;

public PIDElevator(){
this.setpoint = 1;
}

Public void run (Context context){
context.

0 comments on commit 818f508

Please sign in to comment.