ITS ALIVEEEEEEEEEEEEE
This commit is contained in:
parent
c47d74f9d9
commit
641f91b757
@ -5,14 +5,14 @@ namespace globals {
|
|||||||
// Chassis
|
// Chassis
|
||||||
pros::Controller master(CONTROLLER_MASTER);
|
pros::Controller master(CONTROLLER_MASTER);
|
||||||
|
|
||||||
pros::Motor motor_tlf(4, MOTOR_GEARSET_06, true);
|
pros::Motor motor_tlf(12, MOTOR_GEARSET_06, false);
|
||||||
pros::Motor motor_tlb(4, MOTOR_GEARSET_06, true);
|
pros::Motor motor_blb(6, MOTOR_GEARSET_06, true);
|
||||||
pros::Motor motor_blf(4, MOTOR_GEARSET_06, true);
|
pros::Motor motor_blf(2, MOTOR_GEARSET_06, true);
|
||||||
pros::Motor motor_blb(5, MOTOR_GEARSET_06, true);
|
pros::Motor motor_tlb(5, MOTOR_GEARSET_06, false);
|
||||||
pros::Motor motor_trf(4, MOTOR_GEARSET_06, true);
|
pros::Motor motor_trf(16, MOTOR_GEARSET_06, true);
|
||||||
pros::Motor motor_trb(3, MOTOR_GEARSET_06, true);
|
pros::Motor motor_trb(3, MOTOR_GEARSET_06, true);//
|
||||||
pros::Motor motor_brf(4, MOTOR_GEARSET_06, true);
|
pros::Motor motor_brf(1, MOTOR_GEARSET_06, false);
|
||||||
pros::Motor motor_brb(4, MOTOR_GEARSET_06, true);
|
pros::Motor motor_brb(4, MOTOR_GEARSET_06, false);
|
||||||
|
|
||||||
pros::Motor_Group left_drive({ motor_tlf, motor_tlb, motor_blf, motor_blb });
|
pros::Motor_Group left_drive({ motor_tlf, motor_tlb, motor_blf, motor_blb });
|
||||||
pros::Motor_Group right_drive({ motor_trf, motor_trb, motor_brf, motor_brb });
|
pros::Motor_Group right_drive({ motor_trf, motor_trb, motor_brf, motor_brb });
|
||||||
@ -41,8 +41,8 @@ namespace globals {
|
|||||||
lemlib::TrackingWheel hroiz_tracking_wheel(&rot_horiz, WHEEL_SIZE, PLACEHOLDER_TC_OFFSET, 1);
|
lemlib::TrackingWheel hroiz_tracking_wheel(&rot_horiz, WHEEL_SIZE, PLACEHOLDER_TC_OFFSET, 1);
|
||||||
|
|
||||||
Drive chassis(
|
Drive chassis(
|
||||||
{-4,-4,-4,-5},
|
{-2, -6, 12, 5},
|
||||||
{1,1,1,3},
|
{-16, 1, 4, -3},
|
||||||
16,
|
16,
|
||||||
WHEEL_SIZE,
|
WHEEL_SIZE,
|
||||||
600,
|
600,
|
||||||
|
|||||||
@ -152,7 +152,7 @@ namespace superstruct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (globals::master.get_digital(DIGITAL_R1)) {
|
if (globals::master.get_digital(DIGITAL_R1)) {
|
||||||
runCata(12000);
|
runCata(-12000);
|
||||||
} else {
|
} else {
|
||||||
runCata(0);
|
runCata(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user