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.

@@ -5,7 +5,7 @@ from pymammotion.data.model.location import Point
5
5
 
6
6
 
7
7
  class CoordinateConverter:
8
- def __init__(self, lat_degrees: float, lon_degrees: float):
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):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymammotion
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary:
5
5
  License: GNU-3.0
6
6
  Author: Michael Arthur
@@ -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=CRW-CjkLBp8R9UcobH2cQ9x4qNxHSLlI2u0jAiKyB8A,2271
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.5.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
113
- pymammotion-0.1.5.dist-info/METADATA,sha256=lSXl_U8-dbyyJWwiHt_E0j6F3N4qdCrh8UY9IHpWm9c,3922
114
- pymammotion-0.1.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
115
- pymammotion-0.1.5.dist-info/RECORD,,
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,,