pyaidrone 2.5__tar.gz → 2.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyaidrone
3
- Version: 2.5
3
+ Version: 2.7
4
4
  Summary: Library for AIDrone Products
5
5
  Home-page: http://www.ir-brain.com
6
6
  Author: IR-Brain
@@ -10,6 +10,17 @@ Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.6
12
12
  Description-Content-Type: text/markdown
13
+ Requires-Dist: pyserial>=3.4
14
+ Requires-Dist: pynput>=1.7.3
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: classifier
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: home-page
21
+ Dynamic: requires-dist
22
+ Dynamic: requires-python
23
+ Dynamic: summary
13
24
 
14
25
  ## install pyaidrone
15
26
 
@@ -0,0 +1,27 @@
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pyaidrone — AIDrone Protocol 기반 Python 제어 라이브러리
4
+
5
+ 비전 모듈(vision_ai)은 opencv-python / numpy 가 있을 때만 노출한다.
6
+ 비행 제어만 쓰는 환경에서는 OpenCV 없이도 import pyaidrone 이 동작한다.
7
+ 비전 유틸이 필요하면 명시적으로: from pyaidrone.vision_ai import VisionTracker
8
+ """
9
+
10
+ __version__ = '1.9'
11
+
12
+ from .aiDrone import AIDrone
13
+ from .deflib import (AIDRONE, FRONT, BACK, RIGHT, LEFT, DefLib)
14
+ from .sensor import AIDroneSensor
15
+ from .drone import Drone
16
+
17
+ __all__ = ['AIDrone', 'AIDroneSensor', 'Drone', 'DefLib',
18
+ 'AIDRONE', 'FRONT', 'BACK', 'RIGHT', 'LEFT', '__version__']
19
+
20
+ # 비전 모듈은 opencv-python / numpy 가 있을 때만 노출한다.
21
+ try:
22
+ from . import vision_ai # noqa: F401
23
+ __all__.append('vision_ai')
24
+ VISION_AVAILABLE = True
25
+ except ImportError as _e: # pragma: no cover
26
+ VISION_AVAILABLE = False
27
+ _VISION_IMPORT_ERROR = _e