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.
Files changed (31) hide show
  1. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/PKG-INFO +11 -9
  2. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/README.md +10 -8
  3. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/client.py +4 -0
  4. agrotechsimapi-1.0.3/agrotechsimapi/high_level_client.py +1464 -0
  5. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/pid.py +44 -7
  6. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/__init__.py +1 -0
  7. agrotechsimapi-1.0.3/agrotechsimapi/utils/drone_setups.py +118 -0
  8. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/PKG-INFO +11 -9
  9. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/SOURCES.txt +6 -1
  10. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/pyproject.toml +1 -1
  11. agrotechsimapi-1.0.3/tests/test_coordinate_transformation.py +241 -0
  12. agrotechsimapi-1.0.3/tests/test_full_control_chain.py +176 -0
  13. agrotechsimapi-1.0.3/tests/test_high_level_client.py +280 -0
  14. agrotechsimapi-1.0.3/tests/test_pid_adequacy.py +312 -0
  15. agrotechsimapi-1.0.2/agrotechsimapi/high_level_client.py +0 -784
  16. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/__init__.py +0 -0
  17. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/signal_utils.py +0 -0
  18. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/aruco_marker_recognizer.py +0 -0
  19. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/recognition_setting.py +0 -0
  20. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/utils.py +0 -0
  21. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/utils/vision.py +0 -0
  22. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/video_pb2.py +0 -0
  23. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi/video_pb2_grpc.py +0 -0
  24. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/dependency_links.txt +0 -0
  25. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/requires.txt +0 -0
  26. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/agrotechsimapi.egg-info/top_level.txt +0 -0
  27. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/modules/camera_driver.py +0 -0
  28. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/modules/input_driver.py +0 -0
  29. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/modules/lidar_driver.py +0 -0
  30. {agrotechsimapi-1.0.2 → agrotechsimapi-1.0.3}/setup.cfg +0 -0
  31. {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.2
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
  ![AgroTechSim API](https://raw.githubusercontent.com/AgroTechAvia/TechSimApi/main/img/header.png)
42
42
  [Русский](#русский) | [English](#english)
@@ -55,10 +55,10 @@ Requires-Dist: inavmspapi
55
55
 
56
56
  | Компонент | Версия | Статус |
57
57
  |-----------|--------|--------|
58
- | **AgroTechSim API** | 1.0.1 | ✅ Актуальная |
59
- | **Симулятор AgroTechSim** | 1.0.3 | ✅ Рекомендуемая |
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 | ✅ Current |
259
- | **AgroTechSim Simulator** | 1.0.3 | ✅ Recommended |
260
- | **Python** | 3.10+ | ✅ Recommended |
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
  ![AgroTechSim API](https://raw.githubusercontent.com/AgroTechAvia/TechSimApi/main/img/header.png)
4
4
  [Русский](#русский) | [English](#english)
@@ -17,10 +17,10 @@
17
17
 
18
18
  | Компонент | Версия | Статус |
19
19
  |-----------|--------|--------|
20
- | **AgroTechSim API** | 1.0.1 | ✅ Актуальная |
21
- | **Симулятор AgroTechSim** | 1.0.3 | ✅ Рекомендуемая |
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 | ✅ Current |
221
- | **AgroTechSim Simulator** | 1.0.3 | ✅ Recommended |
222
- | **Python** | 3.10+ | ✅ Recommended |
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")