pymammotion 0.4.5__tar.gz → 0.4.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.
- {pymammotion-0.4.5 → pymammotion-0.4.7}/PKG-INFO +1 -1
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/device_config.py +0 -1
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/mowing_modes.py +2 -1
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/report_info.py +14 -1
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/device_type.py +6 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pyproject.toml +2 -2
- {pymammotion-0.4.5 → pymammotion-0.4.7}/LICENSE +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/README.md +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/cloud_gateway.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/aep_response.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/connect_response.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/dev_by_account_response.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/login_by_oauth_response.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/regions_response.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/session_by_authcode_response.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/stream_subscription_response.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/tmp_constant.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/ble.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/ble_message.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/const.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/data/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/data/convert.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/data/framectrldata.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/data/notifydata.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/model/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/bluetooth/model/atomic_integer.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/const.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/account.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/device.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/device_info.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/device_limits.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/enums.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/excute_boarder_params.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/execute_boarder.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/generate_route_information.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/hash_list.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/location.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/plan.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/rapid_state.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/raw_data.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/region_data.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/mqtt/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/mqtt/event.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/mqtt/properties.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/mqtt/status.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/state_manager.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/event/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/event/event.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/http/_init_.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/http/encryption.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/http/http.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/http/model/http.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/abstract_message.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/mammotion_command.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/driver.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/media.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/navigation.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/network.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/ota.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/system.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/video.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/control/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/control/joystick.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/devices/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/devices/base.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/devices/mammotion.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/devices/mammotion_bluetooth.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/devices/mammotion_cloud.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mqtt/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mqtt/linkkit/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mqtt/linkkit/h2client.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mqtt/linkkit/linkkit.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mqtt/mammotion_future.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mqtt/mammotion_mqtt.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/basestation.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/basestation_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/basestation_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/common.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/common_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/common_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/dev_net.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/dev_net_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/dev_net_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/luba_msg.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/luba_msg_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/luba_msg_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/luba_mul.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/luba_mul_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/luba_mul_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_driver.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_driver_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_driver_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_nav.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_nav_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_nav_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_ota.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_ota_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_ota_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_pept.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_pept_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_pept_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_sys.proto +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_sys_pb2.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/proto/mctrl_sys_pb2.pyi +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/py.typed +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/constant/__init__.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/constant/device_constant.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/conversions.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/datatype_converter.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/device_config.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/map.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/movement.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/periodic.py +0 -0
- {pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/utility/rocker_util.py +0 -0
@@ -35,7 +35,6 @@ class OperationSettings(DataClassORJSONMixin):
|
|
35
35
|
|
36
36
|
def create_path_order(operation_mode: OperationSettings, device_name: str) -> str:
|
37
37
|
# TODO add scheduling logic from getReserved() WorkSettingViewModel.java
|
38
|
-
i2 = 0
|
39
38
|
bArr = bytearray(8)
|
40
39
|
bArr[0] = operation_mode.border_mode
|
41
40
|
bArr[1] = operation_mode.obstacle_laps
|
@@ -44,13 +44,14 @@ class TraversalMode(IntEnum):
|
|
44
44
|
follow_perimeter = 1
|
45
45
|
|
46
46
|
|
47
|
-
class
|
47
|
+
class DetectionStrategy(IntEnum):
|
48
48
|
"""Matches up with ultra_wave."""
|
49
49
|
|
50
50
|
direct_touch = 0
|
51
51
|
slow_touch = 1
|
52
52
|
less_touch = 2
|
53
53
|
no_touch = 10 # luba 2 yuka only or possibly value of 10
|
54
|
+
sensitive = 11 # x series
|
54
55
|
|
55
56
|
|
56
57
|
class PathAngleSetting(IntEnum):
|
@@ -1,14 +1,27 @@
|
|
1
1
|
from dataclasses import dataclass, field
|
2
|
+
from enum import StrEnum
|
2
3
|
|
3
4
|
from mashumaro.mixins.orjson import DataClassORJSONMixin
|
4
5
|
|
5
6
|
|
7
|
+
class NetUsedType(str, StrEnum):
|
8
|
+
NONE = "NONE"
|
9
|
+
WIFI = "WIFI"
|
10
|
+
MNET = "MNET"
|
11
|
+
|
12
|
+
|
6
13
|
@dataclass
|
7
14
|
class ConnectData(DataClassORJSONMixin):
|
8
15
|
connect_type: int = 0
|
9
16
|
ble_rssi: int = 0
|
10
17
|
wifi_rssi: int = 0
|
11
|
-
|
18
|
+
link_type: int = 0
|
19
|
+
mnet_rssi: int = 0
|
20
|
+
mnet_inet: int = 0
|
21
|
+
used_net: str = "NONE"
|
22
|
+
|
23
|
+
|
24
|
+
# mnet_cfg:
|
12
25
|
|
13
26
|
|
14
27
|
@dataclass
|
@@ -121,6 +121,12 @@ class DeviceType(Enum):
|
|
121
121
|
return DeviceType.RTK
|
122
122
|
elif DeviceType.LUBA_2.get_name() in substring2 or DeviceType.contain_luba_2_product_key(product_key):
|
123
123
|
return DeviceType.LUBA_2
|
124
|
+
elif DeviceType.LUBA_LD.get_name() in substring2:
|
125
|
+
return DeviceType.LUBA_LD
|
126
|
+
elif DeviceType.LUBA_VP.get_name() in substring2:
|
127
|
+
return DeviceType.LUBA_VP
|
128
|
+
elif DeviceType.LUBA_MN.get_name() in substring2:
|
129
|
+
return DeviceType.LUBA_MN
|
124
130
|
elif DeviceType.LUBA_YUKA.get_name() in substring2:
|
125
131
|
return DeviceType.LUBA_YUKA
|
126
132
|
elif DeviceType.YUKA_MINI.get_name() in substring2:
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "pymammotion"
|
7
|
-
version = "0.4.
|
7
|
+
version = "0.4.7"
|
8
8
|
license = "GPL-3.0"
|
9
9
|
description = ""
|
10
10
|
readme = "README.md"
|
@@ -65,7 +65,7 @@ mypy = "^1.11.2"
|
|
65
65
|
autotyping = "^24.3.0"
|
66
66
|
|
67
67
|
[tool.bumpver]
|
68
|
-
current_version = "0.4.
|
68
|
+
current_version = "0.4.7"
|
69
69
|
version_pattern = "MAJOR.MINOR.PATCH"
|
70
70
|
commit_message = "Bump version {old_version} -> {new_version}"
|
71
71
|
commit = true
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/session_by_authcode_response.py
RENAMED
File without changes
|
{pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/aliyun/model/stream_subscription_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/data/model/generate_route_information.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/commands/messages/navigation.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pymammotion-0.4.5 → pymammotion-0.4.7}/pymammotion/mammotion/devices/mammotion_bluetooth.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|