def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    drive_system_frame = shared_gui.get_drive_system_frame(main_frame, mqtt_sender)
    wolfe_frame = shared_gui.get_wolfe_frame(main_frame, mqtt_sender)
    return teleop_frame, arm_frame, control_frame, drive_system_frame, wolfe_frame
def get_shared_frames(main_frame, mqtt_sender):
    teleop = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control = shared_gui.get_control_frame(main_frame, mqtt_sender)
    movement = shared_gui.get_movement_frame(main_frame, mqtt_sender)
    noise = shared_gui.get_noise_frame(main_frame, mqtt_sender)
    return teleop, arm, control, movement, noise
Beispiel #3
0
def my_main():
    delegate = Reciever_on_laptop()
    mqtt_sender = com.MqttClient(delegate)
    mqtt_sender.connect_to_ev3()

    # -------------------------------------------------------------------------
    # The root TK object for the GUI:
    # -------------------------------------------------------------------------
    root = tkinter.Tk()
    root.title('Derrick Swart: CSSE 120 Capstone Project Sprint 3')

    main_frame = ttk.Frame(root, padding=20, borderwidth=5, relief='groove')
    main_frame.grid()

    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    my_ball_frame = get_ball_frame(main_frame, mqtt_sender)
    get_to_goal_frame = get_ball_to_goal(main_frame, mqtt_sender)

    teleop_frame.grid(row=0, column=0)
    arm_frame.grid(row=1, column=0)
    control_frame.grid(row=2, column=0)
    my_ball_frame.grid(row=0, column=1)
    get_to_goal_frame.grid(row=1, column=1)

    root.mainloop()
Beispiel #4
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame=shared_gui.get_teleoperation_frame(main_frame,mqtt_sender)
    arm_frame=shared_gui.get_arm_frame(main_frame,mqtt_sender)
    control_frame=shared_gui.get_control_frame(main_frame,mqtt_sender)
    sound_frame=shared_gui.get_sound_system(main_frame,mqtt_sender)

    return teleop_frame,arm_frame,control_frame,sound_frame
Beispiel #5
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
   # arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
   # control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
   # drive_frame = shared_gui.get_drive_frame(main_frame, mqtt_sender)

    return teleop_frame
Beispiel #6
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    modular_frame = modular_pickup_frame(main_frame, mqtt_sender)
    surface_frame = surface_color_frame(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, modular_frame, surface_frame
def get_shared_frames_sprint3(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    tag_frame = get_tag_frame(main_frame, mqtt_sender)
    rps_frame = get_rps_frame(main_frame, mqtt_sender)
    i_spy_frame = get_i_spy_frame(main_frame, mqtt_sender)
    return i_spy_frame, tag_frame, rps_frame, teleop_frame, arm_frame, control_frame
Beispiel #8
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_arm = shared_gui.get_control_frame(main_frame, mqtt_sender)
    special_frame = shared_gui.get_special_frame(main_frame, mqtt_sender)
    line_follow_frame = m2s.color_sensor_frame(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_arm, special_frame, line_follow_frame
Beispiel #9
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    movement_frame = shared_gui.get_movement_frame(main_frame, mqtt_sender)
    beeper_frame = shared_gui.get_noise_frame(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, movement_frame, beeper_frame, pick_up_object_while_beeping_frame(
        main_frame, mqtt_sender)
def get_shared_frames(window, mqtt_sender):
    knock_off_frame = shared_gui.get_knock_off_frame(window, mqtt_sender)
    meow_at_door_frame = shared_gui.get_meow_at_door_frame(window, mqtt_sender)
    ask_for_food_frame = shared_gui.get_ask_for_food_frame(window, mqtt_sender)
    petting_frame = shared_gui.get_petting_frame(window, mqtt_sender)
    follow_mouse_frame = shared_gui.get_follow_mouse_frame(window, mqtt_sender)
    teleop_frame = shared_gui.get_teleoperation_frame(window, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(window, mqtt_sender)
    return knock_off_frame, meow_at_door_frame, ask_for_food_frame, petting_frame, follow_mouse_frame, teleop_frame, arm_frame
Beispiel #11
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control = shared_gui.get_control_frame(main_frame, mqtt_sender)
    sound = shared_gui.get_sound_frame(main_frame, mqtt_sender)
    color = shared_gui.get_color_frame(main_frame, mqtt_sender)
    camera = shared_gui.get_camera_frame(main_frame, mqtt_sender)
    proximity = shared_gui.get_proximity_frame(main_frame, mqtt_sender)
    return teleop, arm, control, sound, color, camera, proximity
def get_shared_frames(main_frame, mqtt_laptop):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_laptop)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_laptop)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_laptop)
    sound_frame = shared_gui.get_sound_frame(main_frame, mqtt_laptop)
    drive_frame = shared_gui.get_drive_system_frame(main_frame, mqtt_laptop)
    m2_frame = shared_gui.get_m2_frame(main_frame, mqtt_laptop)

    return teleop_frame, arm_frame, control_frame, sound_frame, drive_frame, m2_frame
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    sound_frame = shared_gui.get_sound_control_frame(main_frame, mqtt_sender)
    color_frame = shared_gui.color_frame(main_frame, mqtt_sender)
    distance_frame = shared_gui.distance_frame(main_frame, mqtt_sender)
    camera_frame = shared_gui.camera_frame(main_frame, mqtt_sender)
    return teleop_frame, arm_frame, control_frame, sound_frame, color_frame, distance_frame, camera_frame
Beispiel #14
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    drive_system_frame = shared_gui.get_drive_system_frame(
        main_frame, mqtt_sender)
    haiden_frame = shared_gui.get_haiden_frame(main_frame, mqtt_sender)
    mario_frame = shared_gui.get_mario_drive_system(main_frame, mqtt_sender)
    return teleop_frame, arm_frame, control_frame, drive_system_frame, haiden_frame, mario_frame
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    sound_frame = shared_gui.get_sound_frame(main_frame, mqtt_sender)
    color_frame = shared_gui.get_color_frame(main_frame, mqtt_sender)
    proximity_frame = shared_gui.get_proximity_frame(main_frame, mqtt_sender)
    camera_frame = shared_gui.get_camera_frame(main_frame, mqtt_sender)
    return teleop_frame, arm_frame, control_frame, sound_frame, color_frame, proximity_frame, camera_frame
def get_shared_frames(main_frame, mqtt_sender):
    teleop = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control = shared_gui.get_control_frame(main_frame, mqtt_sender)
    drive_system = shared_gui.get_drive_system(main_frame, mqtt_sender)
    sound_frame = shared_gui.get_sound_system(main_frame, mqtt_sender)
    myframe_proximity = get_myframe_proximity(main_frame, mqtt_sender)
    myframe_camera = get_myframe_camera(main_frame, mqtt_sender)
    return teleop, arm, control, drive_system, sound_frame, myframe_proximity, myframe_camera
Beispiel #17
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    test_frame = shared_gui.get_drivesystem_frame(main_frame, mqtt_sender)
    sound_frame = shared_gui.get_soundsystem_frame(main_frame, mqtt_sender)
    new_frame = get_object_while_blinking(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, test_frame, sound_frame, new_frame
Beispiel #18
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame=shared_gui.get_teleoperation_frame(main_frame,mqtt_sender)
    arm_frame=shared_gui.get_arm_frame(main_frame,mqtt_sender)
    color_arm=shared_gui.get_control_frame(main_frame,mqtt_sender)
    drivesystem_frame=shared_gui.get_drivesystem_frame(main_frame, mqtt_sender)
    soundsystem_frame=shared_gui.get_soundsystem_frame(main_frame,mqtt_sender)
    m1_personal_frame=shared_gui.m1_personal_frame(main_frame,mqtt_sender)
    m1_camera_frame=shared_gui.m1_carmer_frame(main_frame, mqtt_sender)
    return teleop_frame,arm_frame,color_arm,drivesystem_frame,soundsystem_frame,m1_personal_frame,m1_camera_frame
    pass
Beispiel #19
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    drive_frame = shared_gui.get_drivey_frame(main_frame, mqtt_sender)
    sound_frame = shared_gui.get_sound_frame(main_frame, mqtt_sender)
    sensor_frame = shared_gui.get_sensor_system(main_frame, mqtt_sender)
    beep_proximity_frame = shared_gui.beep_proximity_frame(
        main_frame, mqtt_sender)
    return teleop_frame, arm_frame, control_frame, drive_frame, sound_frame, sensor_frame, beep_proximity_frame
def get_shared_frames(frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(frame, mqtt_sender)
    go_for_frame = shared_gui.get_drive_for_frame(frame, mqtt_sender)
    make_sounds = shared_gui.get_sound_request(frame, mqtt_sender)
    ir_frame = shared_gui.ir_control(frame, mqtt_sender)
    proximity_control_frame = shared_gui.proximity_control_frame(
        frame, mqtt_sender)
    return teleop_frame, arm_frame, control_frame, go_for_frame, make_sounds, ir_frame, proximity_control_frame
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    sprint_1_drive_system = shared_gui.get_Sprint_1_Drive_System_frame(
        main_frame, mqtt_sender)
    sprint_1_beeper = shared_gui.get_Sprint_1_Beeper_System_frame(
        main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, sprint_1_drive_system, sprint_1_beeper
Beispiel #22
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    drive_frame = shared_gui.get_drivey_frame(main_frame, mqtt_sender)
    sound_frame = shared_gui.get_sound_frame(main_frame, mqtt_sender)
    sensor_frame = shared_gui.get_sensor_system(main_frame, mqtt_sender)
    person2_frame = shared_gui.get_move_with_tone(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, drive_frame, sound_frame, sensor_frame, person2_frame
Beispiel #23
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control = shared_gui.get_control_frame(main_frame, mqtt_sender)
    drive = shared_gui.get_drive_system(main_frame, mqtt_sender)
    sound = shared_gui.get_sound_system(main_frame, mqtt_sender)
    proximity = proximity_frame(main_frame, mqtt_sender)
    camera = camera_frame(main_frame, mqtt_sender)

    return teleop, arm, control, drive, sound, proximity, camera
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame,mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame,mqtt_sender)
    control_arm = shared_gui.get_control_frame(main_frame,mqtt_sender)
    sensor_frame = shared_gui.get_sensor_frame(main_frame,mqtt_sender)
    soundsystem_frame = shared_gui.get_soundsystem_frame(main_frame,mqtt_sender)
    color_frame = shared_gui.get_color_sensor_frame(main_frame,mqtt_sender)
    infrared_frame = shared_gui.get_infrared_proximity_sensor_frame(main_frame,mqtt_sender)

    return teleop_frame,arm_frame,control_arm,sensor_frame,soundsystem_frame,color_frame,infrared_frame
Beispiel #25
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    stack_frame = trash_stack(main_frame, mqtt_sender)
    follow_frame = Follow_Eva(main_frame, mqtt_sender)
    recycle_frame = recycle(main_frame, mqtt_sender)
    fun_frame = bored_WallE(main_frame, mqtt_sender)
    scared_frame = run_and_hide(main_frame, mqtt_sender)

    return (teleop_frame, stack_frame, follow_frame, recycle_frame, fun_frame,
            scared_frame)
Beispiel #26
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    sound_frame = shared_gui.get_sound_frame(main_frame, mqtt_sender)
    drive_system_frame = shared_gui.get_drive_system_frame(
        main_frame, mqtt_sender)
    m1_feature_9_frame = shared_gui.get_m1_frame(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, sound_frame, drive_system_frame, m1_feature_9_frame
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    movement_frame = shared_gui.get_movement_frame(main_frame, mqtt_sender)
    beeper_frame = shared_gui.get_noise_frame(main_frame, mqtt_sender)
    #grab_frame=get_grab_frame(main_frame,mqtt_sender)
    LED_frame = get_LED_frame(main_frame, mqtt_sender)
    color_drive_frame = get_color_drive_frame(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, movement_frame, beeper_frame, LED_frame, color_drive_frame
Beispiel #28
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    drive_system_frame = shared_gui.get_drive_system_frame(main_frame, mqtt_sender)
    beep_frame = shared_gui.beep_frame(main_frame,mqtt_sender)
    ir = ir_frame(main_frame,mqtt_sender)
    camera = camera_frame(main_frame,mqtt_sender)
    firefighter = Firefighter_frame(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, drive_system_frame, beep_frame, ir, camera, firefighter
Beispiel #29
0
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    drive_system_frame = shared_gui.get_drive_system_frame(
        main_frame, mqtt_sender)
    beep_frame = shared_gui.beep_frame(main_frame, mqtt_sender)
    camera_frame = shared_gui.camera_frame(main_frame, mqtt_sender)
    led_frame = shared_gui.led_frame(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, drive_system_frame, beep_frame, camera_frame, led_frame
def get_shared_frames(main_frame, mqtt_sender):
    teleop_frame = shared_gui.get_teleoperation_frame(main_frame, mqtt_sender)
    drive_system_frame = shared_gui.get_drive_system_frame(
        main_frame, mqtt_sender)
    arm_frame = shared_gui.get_arm_frame(main_frame, mqtt_sender)
    control_frame = shared_gui.get_control_frame(main_frame, mqtt_sender)
    beeps_tones_frame = shared_gui.get_beeps_tones(main_frame, mqtt_sender)
    sensor_frame = shared_gui.get_sensor_frame(main_frame, mqtt_sender)
    tone_frame = shared_gui.get_proximity_tone_frame(main_frame, mqtt_sender)

    return teleop_frame, arm_frame, control_frame, drive_system_frame, beeps_tones_frame, sensor_frame, tone_frame