jaspreeth / ardupilot-mega

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

improper voltage display, no sat#s or hdop #296

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Correct voltage display. Number of satellites and hdop with ublox
What version of the product are you using? On what operating system?
Apm2.01 HkGcs 1.2.43

Please provide any additional information below.Trying out the 2.01 APM with HK 
GCS v1.2.43
I am probably missing something or possibly this is not working due to the APM 
being BETA.
The GCS is only displaying the voltage of one cell. 4.13v
The proper voltage(s) are displayed in the APM CLI.
Also the proper voltage value was being displayed earlier with APM 1.02.
 
One other thing.  I noticed that the gps message now shows locked  
corresponding with the solid red led on the APM oilpan. Great!
To reiterate I understand the the 2.01 APM is beta but should the number of 
Sats and HDOP be displayed when using a UBLOX?  Once again I am trying to keep 
up with the latest and greatest and was just making sure I am not missing a 
procedure to enable these functions.
 

Original issue reported on code.google.com by jtn...@yahoo.com on 22 Mar 2011 at 7:57

GoogleCodeExporter commented 8 years ago
The module sensors.pde monitors either battery_voltage3 or battery_voltage4 
(depending on the configuration parameter "BATTERY_TYPE"), returning the 
appropriate value in variable battery_voltage. If these voltages go below a 
trigger value a low battery event is generated. 

The mavlink_common.h module, however, always sends the value of 
battery_voltage1 in the status message, explaining why the 4.13V was seen on 
the HK GCS. Assuming the intended use of the battery monitoring is to monitor 
all cells as described in the manual, then "battery_voltage1" should be changed 
to "battery_voltage" in mavlink_common.h   If there is a desire to limit the 
monitoring to only the total voltage, then the battery_voltage1 input could be 
used, and the code in sensors.pde modified accordingly.  

Might be worthwhile considering changing the definition of BATTERY_TYPE to 
reflect the number of cells (e.g. 1-4), so that any of the four inputs could be 
monitored rather than just numbers 3 or 4. 

Original comment by AndrewJF...@gmail.com on 23 Mar 2011 at 11:06

GoogleCodeExporter commented 8 years ago
Voltage display has been corrected.

Original comment by dewei...@gmail.com on 30 Apr 2011 at 10:13

GoogleCodeExporter commented 8 years ago
hDOP is fixed in library rev r2241.  # of Satellites is working as well.

If you continue to have trouble with this use uCenter to verify that your ublox 
is configured to send the NAV_SOL message.

Original comment by dewei...@gmail.com on 11 May 2011 at 2:58