Skip to content

Commit

Permalink
Fixed issue EZ-Robotics#67
Browse files Browse the repository at this point in the history
  • Loading branch information
HakopZ committed Oct 1, 2022
1 parent 7d345ec commit 2d7de7f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
2 changes: 0 additions & 2 deletions include/autons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ void interfered_example();

void default_constants();
void using_inches_constants();
void one_mogo_constants();
void two_mogo_constants();
25 changes: 0 additions & 25 deletions src/autons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,6 @@ void default_constants() {

}

void one_mogo_constants() {
chassis.set_turn_exit_condition(200, 3, 500, 7, 750, 750);
chassis.set_swing_exit_condition(200, 3, 500, 7, 750, 750);
chassis.set_drive_exit_condition(200, 1_in, 500, 3_in, 750, 750);

chassis.set_slew_min_power(80, 80);
chassis.set_slew_distance(7_in, 7_in);
chassis.set_heading_pid_constants(3, 0, 20, 0);
chassis.set_drive_pid_constants(15, 0, 150);
chassis.set_turn_pid_constants(3, 0, 20, 0);
chassis.set_swing_pid_constants(5, 0, 30, 0);
}

void two_mogo_constants() {
chassis.set_turn_exit_condition(200, 3, 500, 7, 750, 750);
chassis.set_swing_exit_condition(200, 3, 500, 7, 750, 750);
chassis.set_drive_exit_condition(200, 1_in, 500, 3_in, 750, 750);

chassis.set_slew_min_power(80, 80);
chassis.set_slew_distance(7_in, 7_in);
chassis.set_heading_pid_constants(3, 0, 20, 0);
chassis.set_drive_pid_constants(15, 0, 150);
chassis.set_turn_pid_constants(3, 0, 20, 0);
chassis.set_swing_pid_constants(5, 0, 30, 0);
}



Expand Down

0 comments on commit 2d7de7f

Please sign in to comment.