agrotechsimapi 1.0.2__tar.gz → 1.0.3__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.
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/PKG-INFO +11 -9
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/README.md +10 -8
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/client.py +4 -0
- agrotechsimapi-1.0.3/agrotechsimapi/high_level_client.py +1464 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/pid.py +44 -7
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/__init__.py +1 -0
- agrotechsimapi-1.0.3/agrotechsimapi/utils/drone_setups.py +118 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/PKG-INFO +11 -9
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/SOURCES.txt +6 -1
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/pyproject.toml +1 -1
- agrotechsimapi-1.0.3/tests/test_coordinate_transformation.py +241 -0
- agrotechsimapi-1.0.3/tests/test_full_control_chain.py +176 -0
- agrotechsimapi-1.0.3/tests/test_high_level_client.py +280 -0
- agrotechsimapi-1.0.3/tests/test_pid_adequacy.py +312 -0
- agrotechsimapi-1.0.2/agrotechsimapi/high_level_client.py +0 -784
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/__init__.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/signal_utils.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/aruco_marker_recognizer.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/recognition_setting.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/utils.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/vision.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/video_pb2.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/video_pb2_grpc.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/dependency_links.txt +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/requires.txt +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/top_level.txt +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/modules/camera_driver.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/modules/input_driver.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/modules/lidar_driver.py +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/setup.cfg +0 -0
- {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/test/test_sim_client_real.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agrotechsimapi
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: This repository contains the API for the AgroTechAvia simulators. This repository also contains several examples of how to interact with the API.
|
|
5
5
|
Author-email: AgroTechAvia <example@main.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -36,7 +36,7 @@ Requires-Dist: tornado
|
|
|
36
36
|
Requires-Dist: transforms3d
|
|
37
37
|
Requires-Dist: inavmspapi
|
|
38
38
|
|
|
39
|
-
# AgroTechSim API
|
|
39
|
+
# AgroTechSim API
|
|
40
40
|
|
|
41
41
|

|
|
42
42
|
[Русский](#русский) | [English](#english)
|
|
@@ -55,10 +55,10 @@ Requires-Dist: inavmspapi
|
|
|
55
55
|
|
|
56
56
|
| Компонент | Версия | Статус |
|
|
57
57
|
|-----------|--------|--------|
|
|
58
|
-
| **AgroTechSim API** | 1.0.1 | ✅
|
|
59
|
-
|
|
|
60
|
-
| **Python** | 3.10 | ✅
|
|
61
|
-
| **InavMSPApi** | 1.1.0 | ✅
|
|
58
|
+
| **AgroTechSim API** | 1.0.1-v1.0.2 | ✅ Compatible with AgroTechSim 1.0.3 |
|
|
59
|
+
| **AgroTechSim API** | 1.0.3 | ✅ Compatible with AgroTechSim 1.0.4-1.0.5 |
|
|
60
|
+
| **Python** | 3.10 | ✅ Recommended |
|
|
61
|
+
| **InavMSPApi** | 1.1.0 | ✅ Dependency |
|
|
62
62
|
|
|
63
63
|
### ⚡ Установка
|
|
64
64
|
|
|
@@ -126,6 +126,7 @@ pip install .
|
|
|
126
126
|
- 🎯 **Стабилизация**: PID-регуляторы для автоматического удержания позиции
|
|
127
127
|
- 👁️ **Обработка изображений**: Детектирование ArUco маркеров и blob-объектов
|
|
128
128
|
- 🔄 **Одометрия**: Отслеживание перемещения относительно начальной точки
|
|
129
|
+
- **Обновление автономного полета**: Для большинства дронов добавлены готовые пресеты PID в [`agrotechsimapi/utils/drone_setups.py`](agrotechsimapi/utils/drone_setups.py), при этом все регуляторы можно настраивать вручную. Пример: [`examples_high_level/simple_flight/pid_waypoints_flight.py`](examples_high_level/simple_flight/pid_waypoints_flight.py).
|
|
129
130
|
|
|
130
131
|
### 📁 Примеры использования
|
|
131
132
|
|
|
@@ -255,9 +256,9 @@ The module enables developers to create complex computer vision, navigation, and
|
|
|
255
256
|
|
|
256
257
|
| Component | Version | Status |
|
|
257
258
|
|-----------|---------|--------|
|
|
258
|
-
| **AgroTechSim API** | 1.0.0 | ✅
|
|
259
|
-
| **AgroTechSim
|
|
260
|
-
| **Python** | 3.10
|
|
259
|
+
| **AgroTechSim API** | 1.0.1-v1.0.2 | ✅ Works with AgroTechSim 1.0.3 |
|
|
260
|
+
| **AgroTechSim API** | 1.0.3 | ✅ Works with AgroTechSim 1.0.4-1.0.5 |
|
|
261
|
+
| **Python** | 3.10 | ✅ Recommended |
|
|
261
262
|
| **InavMSPApi** | 1.1.0 | ✅ Dependency |
|
|
262
263
|
|
|
263
264
|
### ⚡ Installation
|
|
@@ -326,6 +327,7 @@ pip install .
|
|
|
326
327
|
- 🎯 **Stabilization**: PID controllers for automatic position hold
|
|
327
328
|
- 👁️ **Image Processing**: ArUco marker and blob object detection
|
|
328
329
|
- 🔄 **Odometry**: Track movement relative to starting point
|
|
330
|
+
- **Autonomous flight update**: For most drones there are built-in PID presets in [`agrotechsimapi/utils/drone_setups.py`](agrotechsimapi/utils/drone_setups.py), and every regulator can still be overridden manually. See example: [`examples_high_level/simple_flight/pid_waypoints_flight.py`](examples_high_level/simple_flight/pid_waypoints_flight.py).
|
|
329
331
|
|
|
330
332
|
### 📁 Usage Examples
|
|
331
333
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# AgroTechSim API
|
|
1
|
+
# AgroTechSim API
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
[Русский](#русский) | [English](#english)
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
|
|
18
18
|
| Компонент | Версия | Статус |
|
|
19
19
|
|-----------|--------|--------|
|
|
20
|
-
| **AgroTechSim API** | 1.0.1 | ✅
|
|
21
|
-
|
|
|
22
|
-
| **Python** | 3.10 | ✅
|
|
23
|
-
| **InavMSPApi** | 1.1.0 | ✅
|
|
20
|
+
| **AgroTechSim API** | 1.0.1-v1.0.2 | ✅ Compatible with AgroTechSim 1.0.3 |
|
|
21
|
+
| **AgroTechSim API** | 1.0.3 | ✅ Compatible with AgroTechSim 1.0.4-1.0.5 |
|
|
22
|
+
| **Python** | 3.10 | ✅ Recommended |
|
|
23
|
+
| **InavMSPApi** | 1.1.0 | ✅ Dependency |
|
|
24
24
|
|
|
25
25
|
### ⚡ Установка
|
|
26
26
|
|
|
@@ -88,6 +88,7 @@ pip install .
|
|
|
88
88
|
- 🎯 **Стабилизация**: PID-регуляторы для автоматического удержания позиции
|
|
89
89
|
- 👁️ **Обработка изображений**: Детектирование ArUco маркеров и blob-объектов
|
|
90
90
|
- 🔄 **Одометрия**: Отслеживание перемещения относительно начальной точки
|
|
91
|
+
- **Обновление автономного полета**: Для большинства дронов добавлены готовые пресеты PID в [`agrotechsimapi/utils/drone_setups.py`](agrotechsimapi/utils/drone_setups.py), при этом все регуляторы можно настраивать вручную. Пример: [`examples_high_level/simple_flight/pid_waypoints_flight.py`](examples_high_level/simple_flight/pid_waypoints_flight.py).
|
|
91
92
|
|
|
92
93
|
### 📁 Примеры использования
|
|
93
94
|
|
|
@@ -217,9 +218,9 @@ The module enables developers to create complex computer vision, navigation, and
|
|
|
217
218
|
|
|
218
219
|
| Component | Version | Status |
|
|
219
220
|
|-----------|---------|--------|
|
|
220
|
-
| **AgroTechSim API** | 1.0.0 | ✅
|
|
221
|
-
| **AgroTechSim
|
|
222
|
-
| **Python** | 3.10
|
|
221
|
+
| **AgroTechSim API** | 1.0.1-v1.0.2 | ✅ Works with AgroTechSim 1.0.3 |
|
|
222
|
+
| **AgroTechSim API** | 1.0.3 | ✅ Works with AgroTechSim 1.0.4-1.0.5 |
|
|
223
|
+
| **Python** | 3.10 | ✅ Recommended |
|
|
223
224
|
| **InavMSPApi** | 1.1.0 | ✅ Dependency |
|
|
224
225
|
|
|
225
226
|
### ⚡ Installation
|
|
@@ -288,6 +289,7 @@ pip install .
|
|
|
288
289
|
- 🎯 **Stabilization**: PID controllers for automatic position hold
|
|
289
290
|
- 👁️ **Image Processing**: ArUco marker and blob object detection
|
|
290
291
|
- 🔄 **Odometry**: Track movement relative to starting point
|
|
292
|
+
- **Autonomous flight update**: For most drones there are built-in PID presets in [`agrotechsimapi/utils/drone_setups.py`](agrotechsimapi/utils/drone_setups.py), and every regulator can still be overridden manually. See example: [`examples_high_level/simple_flight/pid_waypoints_flight.py`](examples_high_level/simple_flight/pid_waypoints_flight.py).
|
|
291
293
|
|
|
292
294
|
### 📁 Usage Examples
|
|
293
295
|
|
|
@@ -288,6 +288,10 @@ class SimClient():
|
|
|
288
288
|
|
|
289
289
|
self.rpc_client.call('setLedState', led_id, new_state)
|
|
290
290
|
|
|
291
|
+
def set_Diod(self,
|
|
292
|
+
led_id, r, g, b):
|
|
293
|
+
return self.rpc_client.call("setDiod", led_id, r, g, b)
|
|
294
|
+
|
|
291
295
|
def get_kinametics_data(self):
|
|
292
296
|
|
|
293
297
|
return self.rpc_client.call("getKinematicsData")
|