cata controls
This commit is contained in:
parent
ef68a05893
commit
32b5af9d16
@ -78,10 +78,15 @@ void autonomous() {}
|
||||
* task, not resume it from where it left off.
|
||||
*/
|
||||
void opcontrol() {
|
||||
|
||||
while (true) {
|
||||
chassis.arcade_standard(ary::SPLIT, e_curve_type::DEFAULT);
|
||||
|
||||
//chassis.arcade_standard(ary::SPLIT, e_curve_type::DEFAULT);
|
||||
if (globals::master.get_digital(DIGITAL_R1)) {
|
||||
motor_tlb.move_voltage(-8500);
|
||||
motor_trb.move_voltage(8500);
|
||||
} else {
|
||||
motor_tlb.move_voltage(0);
|
||||
motor_trb.move_voltage(0);
|
||||
}
|
||||
|
||||
pros::delay(20);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user