A call to mavlink_msg_raw_pressure_send() in Mavlink_Common.h is missing the
(raw) "temperature" argument and prevents APM compilation when certain Mavlink
defines are in use in the config file.
The attached patch fills in the argument with the "pitot" sensor's raw
temperature reading.
As a note, the actual arguments RawPress (existing) and RawTemp (added) are of
type int32_t but the function expects int16_t for both of these values. It
seems (from the BMP085 datasheet) that RawTemp is just a signed 16-bit value so
no data should be lost when converting the int32 to int16 but the RawTemp value
(as currently existing in trunk) may lose data during this conversion. The
attached patch does not try to address this.
Original issue reported on code.google.com by timb...@gmail.com on 10 Jan 2011 at 5:44
Original issue reported on code.google.com by
timb...@gmail.com
on 10 Jan 2011 at 5:44Attachments: