Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
one more
Browse files Browse the repository at this point in the history
  • Loading branch information
cowsed committed Feb 15, 2024
1 parent 4121136 commit 338b401
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cata_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void CataSys::send_command(Command next_cmd) {
case CataSys::Command::IntakeIn:
if (cata_sys.current_state() == CataOnlyState::CataOff) {
intake_sys.send_message(IntakeMessage::IntakeHold);
} else if (cata_sys.intaking_allowed()) {
} else {
intake_sys.send_message(IntakeMessage::Intake);
}
break;
Expand Down
4 changes: 2 additions & 2 deletions src/robot-config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ vex::distance intake_watcher(vex::PORT3);
vex::optical cata_watcher(vex::PORT15); // Final Port
vex::pot cata_pot(Brain.ThreeWirePort.E);

PID::pid_config_t pc = {.p = 2.05,
.d = 0.075,
PID::pid_config_t pc = {.p = 1.75,
.d = 0.05,
// .i = 2,
.deadband = 3.0,
.on_target_time = 0.3};
Expand Down

0 comments on commit 338b401

Please sign in to comment.