Skip to content

Commit

Permalink
picviewer: remove unused includes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Aug 16, 2024
1 parent 51288d2 commit aeca57b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
17 changes: 1 addition & 16 deletions MAVProxy/modules/mavproxy_picviewer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,15 @@
from MAVProxy.modules.lib.mp_settings import MPSetting
from MAVProxy.modules.lib import mp_util
from MAVProxy.modules.mavproxy_picviewer import picviewer_window
from MAVProxy.modules.lib import camera_projection
from pymavlink import mavutil
from pymavlink import DFReader
from pymavlink.rotmat import Matrix3
from pymavlink.rotmat import Vector3
import math
from math import radians, degrees
from threading import Thread
import traceback
from pathlib import Path

import socket, time, os, struct
import os

if mp_util.has_wxpython:
from MAVProxy.modules.lib.mp_menu import MPMenuCallTextDialog
from MAVProxy.modules.lib.mp_menu import MPMenuCallFileDialog
from MAVProxy.modules.lib.mp_menu import MPMenuCallDirDialog
from MAVProxy.modules.lib.mp_menu import MPMenuItem
from MAVProxy.modules.lib.mp_menu import MPMenuSubMenu
from MAVProxy.modules.lib.mp_image import MPImage
from MAVProxy.modules.mavproxy_map import mp_slipmap

from MAVProxy.modules.mavproxy_SIYI.camera_view import CameraView

class picviewer(mp_module.MPModule):

def __init__(self, mpstate):
Expand Down
7 changes: 0 additions & 7 deletions MAVProxy/modules/mavproxy_picviewer/mosaic_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,14 @@
import os

from MAVProxy.modules.lib import mp_util
from MAVProxy.modules.lib import mp_elevation

if mp_util.has_wxpython:
from MAVProxy.modules.lib.wx_loader import wx
from MAVProxy.modules.lib.mp_menu import MPMenuTop
from MAVProxy.modules.lib.mp_menu import MPMenuItem
from MAVProxy.modules.lib.mp_menu import MPMenuSubMenu
from MAVProxy.modules.lib.mp_image import MPImage
from MAVProxy.modules.lib.mp_image import MPImageTrackPos
from MAVProxy.modules.lib.mp_image import MPImageFrameCounter
from MAVProxy.modules.mavproxy_map import mp_slipmap
from MAVProxy.modules.lib import camera_projection
from MAVProxy.modules.lib.mp_menu import MPMenuCallFileDialog
from MAVProxy.modules.lib.mp_menu import MPMenuCallDirDialog
from MAVProxy.modules.mavproxy_picviewer import cuav_util, cuav_region, cuav_mosaic

import numpy as np

Expand Down

0 comments on commit aeca57b

Please sign in to comment.