Merge branch 'main' of http://192.168.162.99:3000/carter/VEX-OverRide
This commit is contained in:
commit
ecebf87643
2 files changed
+10
-6
No files matched your search
@@ -108,7 +108,7 @@ void LiftMech::reset_state() {
|
||||
void LiftMech::lift_control() {
|
||||
liftError = liftTarget - liftRotation.get_position();
|
||||
liftVelocity = get_lift_kp() * liftError;
|
||||
lift.move(liftVelocity);
|
||||
lift.move(-liftVelocity);
|
||||
}
|
||||
|
||||
void LiftMech::set_lift_kp(float _liftKp) {
|
||||
|
||||
Reference in new issue
Block a user