def deepsweep(): shared_all.calibrate_gyro(180) shared_all.log_string('bus_service_1.base_to_treadmill()') bus_service_1.base_to_treadmill() shared_all.log_string('treadmill.align()') treadmill.align() shared_all.log_string('treadmill.run()') treadmill.run() # shared_all.log_string('bus_service_1.treadmill_to_row()') # bus_service_1.treadmill_to_row() # shared_all.log_string('row.align()') # row.align() # shared_all.log_string('row.run()') # row.run() shared_all.log_string('bus_service_1.treadmill_to_weight()') bus_service_1.treadmill_to_weight() shared_all.log_string('weight.align()') weight.align() shared_all.log_string('weight.run()') weight.run() shared_all.log_string('bus_service_1.weight_to_phone()') bus_service_1.weight_to_phone() shared_all.log_string('phone.align()') phone.align() shared_all.log_string('phone.run()') phone.run() ArnavBus.boccia_slide_to_home()
import treadmill import row import weight import phone import slide INITIAL_ANGLE = 180 shared_all.calibrate_gyro(INITIAL_ANGLE) bus_service_1.base_to_treadmill() treadmill.align() treadmill.run() bus_service_1.treadmill_to_row() row.align() row.run() bus_service_1.row_to_weight() weight.align() weight.run() bus_service_1.weight_to_phone() phone.align() phone.run() bus_service_1.phone_to_slide() slide.align() slide.run() slide.take_slide_to_home()