@@ -215,14 +215,14 @@ def test_get_gps(self): # Checks that GPS reports the correct values
215215 self .assertAlmostEqual (gps .latitude , 37.4173601699318 )
216216 self .assertAlmostEqual (gps .longitude , - 122.016132757826 )
217217 self .assertAlmostEqual (gps .northing , 4141627.34000015 )
218- self .assertAlmostEqual (gps .easting , 87060 .970000267 )
218+ self .assertAlmostEqual (gps .easting , 587060 .970000267 )
219219 self .assertAlmostEqual (gps .altitude , - 1.03600001335144 )
220220 self .assertAlmostEqual (gps .orientation , - 194.823394775391 )
221221
222222 def test_from_northing (self ): # Check that position vectors are correctly generated given northing and easting
223223 with SimConnection () as sim :
224224 spawn = sim .get_spawn ()[0 ]
225- location = sim .map_from_gps (northing = 4141627.34000015 , easting = 87060 .970000267 )
225+ location = sim .map_from_gps (northing = 4141627.34000015 , easting = 587060 .970000267 )
226226 self .assertAlmostEqual (spawn .position .x , location .position .x , places = 1 )
227227 self .assertAlmostEqual (spawn .position .z , location .position .z , places = 1 )
228228
@@ -236,7 +236,7 @@ def test_from_latlong(self): # Check that position vectors are correctly generat
236236 def test_from_alt_orient (self ): # Check that position vectors are correctly generated with altitude and orientation
237237 with SimConnection () as sim :
238238 spawn = sim .get_spawn ()[0 ]
239- location = sim .map_from_gps (northing = 4141627.34000015 , easting = 87060 .970000267 , altitude = - 1.03600001335144 , orientation = - 194.823394775391 )
239+ location = sim .map_from_gps (northing = 4141627.34000015 , easting = 587060 .970000267 , altitude = - 1.03600001335144 , orientation = - 194.823394775391 )
240240 self .assertAlmostEqual (spawn .position .y , location .position .y , places = 1 )
241241 self .assertAlmostEqual (spawn .rotation .y , location .rotation .y , places = 1 )
242242
0 commit comments