pymammotion 0.2.74__py3-none-any.whl → 0.2.76__py3-none-any.whl

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.
@@ -36,8 +36,9 @@ class OperationSettings(DataClassORJSONMixin):
36
36
  toward: int = 0 # is just angle
37
37
  toward_included_angle: int = 90
38
38
  toward_mode: int = 0 # angle type relative etc
39
+ border_mode: int = 0
39
40
  obstacle_laps: int = 1
40
- mowing_laps: int = 1 # border laps
41
+ mowing_laps: int = 1 # border laps
41
42
  start_progress: int = 0
42
43
  areas: list[int] = field(default_factory=list)
43
44
 
@@ -46,7 +47,7 @@ def create_path_order(operation_mode: OperationSettings, device_name: str) -> st
46
47
  # TODO add scheduling logic from getReserved() WorkSettingViewModel.java
47
48
  i2 = 0
48
49
  bArr = bytearray(8)
49
- bArr[0] = operation_mode.mowing_laps
50
+ bArr[0] = operation_mode.border_mode
50
51
  bArr[1] = operation_mode.obstacle_laps
51
52
  bArr[3] = int(operation_mode.start_progress)
52
53
  bArr[2] = 0
@@ -10,7 +10,7 @@ class GenerateRouteInformation:
10
10
  """Creates a model for generating route information and mowing plan before starting a job."""
11
11
 
12
12
  one_hashs: list[int] = list
13
- job_mode: int = 0 # taskMode
13
+ job_mode: int = 4 # taskMode
14
14
  job_version: int = 0
15
15
  job_id: int = 0
16
16
  speed: float = 0.3
@@ -33,8 +33,9 @@ class ObstacleLapsMode(IntEnum):
33
33
  class MowOrder(IntEnum):
34
34
  """path_order"""
35
35
 
36
- grid_first = 0
37
- border_first = 1
36
+ border_first = 0
37
+ grid_first = 1
38
+
38
39
 
39
40
 
40
41
  class BypassStrategy(IntEnum):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymammotion
3
- Version: 0.2.74
3
+ Version: 0.2.76
4
4
  Summary:
5
5
  License: GNU-3.0
6
6
  Author: Michael Arthur
@@ -23,15 +23,15 @@ pymammotion/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
23
23
  pymammotion/data/model/__init__.py,sha256=aSyroxYQQS-WMRi6WmWm2js4wLa9nmsi160gx9tts4o,323
24
24
  pymammotion/data/model/account.py,sha256=vJM-KTf2q6eBfVC-UlNHBSmJvqHiCawZ40vnuhXhaz8,140
25
25
  pymammotion/data/model/device.py,sha256=uta1BzfCIKd7Z0naw7JcEGy273yMdcAJ7pjidfpGhKQ,12315
26
- pymammotion/data/model/device_config.py,sha256=eP3Bq8GvhkeDzbImT5nIxOwmakZpXvo-zDQQHL9aTcw,2826
26
+ pymammotion/data/model/device_config.py,sha256=b3zmArKg10NIheNGSugwWruLM_H4ySBlQxDgXAiB2es,2852
27
27
  pymammotion/data/model/device_info.py,sha256=ahz2xILdSYdX6SIVuVzz8QCfSQLefbQnpXrsiDpBDbY,585
28
28
  pymammotion/data/model/enums.py,sha256=EpKmO8yVUZyEnTY4yH0DMMVKYNQM42zpW1maUu0i3IE,1582
29
29
  pymammotion/data/model/excute_boarder_params.py,sha256=9CpUqrygcle1C_1hDW-riLmm4map4ZbE842NXjcomEI,1394
30
30
  pymammotion/data/model/execute_boarder.py,sha256=9rd_h4fbcsXxgnLOd2rO2hWyD1abnTGc47QTEpp8DD0,1103
31
- pymammotion/data/model/generate_route_information.py,sha256=MkUBoqGtCAKmiVQ4Q1pEoDVHZs5uLIo7vhfWT4nGbtY,801
31
+ pymammotion/data/model/generate_route_information.py,sha256=CznXOT8fRsFrRHnjPAnU9XyW0ZoxzgEeMnSyUEyeWXY,801
32
32
  pymammotion/data/model/hash_list.py,sha256=ZPg5d1hy4bPMgPw5JkHujT06LIoEmXn7qSdQW79FF3A,6257
33
33
  pymammotion/data/model/location.py,sha256=PwmITejfI4pm7PI4rzqSuuHetwle6IJr_CV95435s2M,871
34
- pymammotion/data/model/mowing_modes.py,sha256=F7ah4QtYBBeXXJKdQVeQQMBjynQU8RQzIev7-v6t14c,827
34
+ pymammotion/data/model/mowing_modes.py,sha256=F4SV_s1D6rlkFMPpcNAhHHY0jDKC-4ApTJcYl9xkR_s,828
35
35
  pymammotion/data/model/plan.py,sha256=mcadkSL7fQXy0iJ0q786I3GEQY4i6kmQXfW6Ri69lcQ,2906
36
36
  pymammotion/data/model/rapid_state.py,sha256=mIdhAG_LZXpVcybxqTLgLXkNOmVmDTn04B9PGIDA8Ls,1251
37
37
  pymammotion/data/model/region_data.py,sha256=OTV15vRyn9JORXsQPjWMNF1ZujuNhsOKl25KeqwMObA,3007
@@ -119,7 +119,7 @@ pymammotion/utility/map.py,sha256=GYscVMg2cX3IPlNpCBNHDW0S55yS1WGRf1iHnNZ7TfQ,22
119
119
  pymammotion/utility/movement.py,sha256=N75oAoAgFydqoaOedYIxGUHmuTCtPzAOtb-d_29tpfI,615
120
120
  pymammotion/utility/periodic.py,sha256=MbeSb9cfhxzYmdT_RiE0dZe3H9IfbQW_zSqhmSX2RUc,3321
121
121
  pymammotion/utility/rocker_util.py,sha256=6tX7sS87qoQC_tsxbx3NLL-HgS08wtzXiZkhDiz7uo0,7179
122
- pymammotion-0.2.74.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
123
- pymammotion-0.2.74.dist-info/METADATA,sha256=ULnp2FFjMAMqTa2GtNl8CSwIIgxnYqqaZ7UPpOTj3C8,3896
124
- pymammotion-0.2.74.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
125
- pymammotion-0.2.74.dist-info/RECORD,,
122
+ pymammotion-0.2.76.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
123
+ pymammotion-0.2.76.dist-info/METADATA,sha256=AD08G7CVLUBtRZY-BWbizG0idB9CvdOQpiX0nEq152c,3896
124
+ pymammotion-0.2.76.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
125
+ pymammotion-0.2.76.dist-info/RECORD,,