pymammotion 0.1.5__py3-none-any.whl → 0.1.6__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.
Potentially problematic release.
This version of pymammotion might be problematic. Click here for more details.
- pymammotion/utility/map.py +1 -3
- {pymammotion-0.1.5.dist-info → pymammotion-0.1.6.dist-info}/METADATA +1 -1
- {pymammotion-0.1.5.dist-info → pymammotion-0.1.6.dist-info}/RECORD +5 -5
- {pymammotion-0.1.5.dist-info → pymammotion-0.1.6.dist-info}/LICENSE +0 -0
- {pymammotion-0.1.5.dist-info → pymammotion-0.1.6.dist-info}/WHEEL +0 -0
pymammotion/utility/map.py
CHANGED
|
@@ -5,7 +5,7 @@ from pymammotion.data.model.location import Point
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class CoordinateConverter:
|
|
8
|
-
def __init__(self,
|
|
8
|
+
def __init__(self, latitude_rad: float, longitude_rad: float):
|
|
9
9
|
# Initialize constants
|
|
10
10
|
self.WGS84A = 6378137.0
|
|
11
11
|
self.f_ = 3.3528106647474805E-21
|
|
@@ -23,8 +23,6 @@ class CoordinateConverter:
|
|
|
23
23
|
self.z0_ = 0.0
|
|
24
24
|
|
|
25
25
|
# Call set_init_lla with provided lat/lon
|
|
26
|
-
latitude_rad = math.radians(lat_degrees)
|
|
27
|
-
longitude_rad = math.radians(lon_degrees)
|
|
28
26
|
self.set_init_lla(latitude_rad, longitude_rad)
|
|
29
27
|
|
|
30
28
|
def set_init_lla(self, lat_rad, lon_rad):
|
|
@@ -106,10 +106,10 @@ pymammotion/utility/constant/__init__.py,sha256=tZz7szqIhrzNjfcLU3ysfINfg5VEBUAi
|
|
|
106
106
|
pymammotion/utility/constant/device_constant.py,sha256=Ebmf1S9Of4s_SNp8yC7Vsbh35IniAeY-DYV4lRY5Kmw,7109
|
|
107
107
|
pymammotion/utility/datatype_converter.py,sha256=v6zym2Zu0upxQjR-xDqXwi3516zpntSlg7LP8tQF5K8,4216
|
|
108
108
|
pymammotion/utility/device_type.py,sha256=KYawu2glZMVlPmxRbA4kVFujXz3miHp3rJiOWRVj-GI,8285
|
|
109
|
-
pymammotion/utility/map.py,sha256=
|
|
109
|
+
pymammotion/utility/map.py,sha256=GNDcA-YBIglRJjvQylNdJVefoVzlH16mFSxnojK_B_A,2175
|
|
110
110
|
pymammotion/utility/periodic.py,sha256=9wJMfwXPlx6Mbp3Fws7LLTI34ZDKphH1bva_Ggyk32g,3281
|
|
111
111
|
pymammotion/utility/rocker_util.py,sha256=syPL0QN4zMzHiTIkUKS7RXBBptjdbkfNlPddwUD5V3A,7171
|
|
112
|
-
pymammotion-0.1.
|
|
113
|
-
pymammotion-0.1.
|
|
114
|
-
pymammotion-0.1.
|
|
115
|
-
pymammotion-0.1.
|
|
112
|
+
pymammotion-0.1.6.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
113
|
+
pymammotion-0.1.6.dist-info/METADATA,sha256=e3upvDI7cJZX1R99b6WpgoS07JnTbfoG5dUpd7oNum4,3922
|
|
114
|
+
pymammotion-0.1.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
115
|
+
pymammotion-0.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|