rohanbhargava11 / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Number of satellites reported as zero during CLI test of MediaTek GPS receiver #232

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Run CLI GPS test with MediaTek receiver
2.Observe results
3.

What is the expected output? What do you see instead?  I expect to see the 
number of satellites reported.  Instead I see 0.  Position fix data is accurate 
and MediaTek LED is solid blue.

What version of the product are you using? On what operating system? Latest 
Beta version.  But this has never worked correctly on any of the Beta versions. 
 XP operating system.

Please provide any additional information below.

Original issue reported on code.google.com by dean.slo...@hotmail.com on 23 Nov 2010 at 3:49

GoogleCodeExporter commented 9 years ago
The code currently does not support number of satellites.  We're seeing about 
changing that in the future, but it doesn't inhibit normal APM operation right 
now.  See also issue 142.

Original comment by bjpcalt...@gmail.com on 23 Nov 2010 at 6:42

GoogleCodeExporter commented 9 years ago
Replace Serial.printf_P(PSTR(" Alt: %dm, #sats: %d\n"), GPS.altitude/100, 
GPS.num_sats); (in test.pde) 

with...

Serial.print(" Alt:");
Serial.print(GPS.altitude / 100.0, 2);
Serial.print("m");
Serial.print(" SAT:");
Serial.print(GPS.num_sats, DEC);
Serial.println(" ");

Original comment by whitm...@gmail.com on 9 Dec 2010 at 5:52