10 Commits

Author SHA1 Message Date
Mark Charlebois
a734fc96d1 extensive orb_advert_t fixes
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.

The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.

Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-27 14:41:33 -07:00
Pavel Kirienko
1bf4270e3e Update ORB topic 'esc_status' 2014-10-13 17:01:34 +04:00
Kynos
9bad828bc0 U-blox driver rework, step 2
Moved satellite info from vehicle_gps_position_s into a new uORB topic
satellite_info.
Renamed satellites_visible to satellites_used to reflect true content.
sdlog2 will log info for GPS satellites only for now.
2014-05-30 14:30:25 +02:00
Lorenz Meier
f10395e05a HoTT driver: Add timestamp, rename function-level variable from _esc to esc to match conventions 2014-05-13 08:38:07 +02:00
Lorenz Meier
e09c0dd8b9 Reduce RAM footprint of HoTT driver, fix publication to contain ESC data 2014-05-12 22:57:07 +02:00
Julian Oes
32c7aea2a6 Home position: use double for lat/lon and float for altitude, set home position to global position instead of GPS position once we have a fix 2013-12-27 11:07:45 +01:00
Lorenz Meier
fab110d21f Moved math library to library dir, improved sensor-level HIL, cleaned up geo / conversion libs 2013-08-21 18:13:01 +02:00
Simon Wilks
9aa25c5671 Remove unused code. 2013-07-13 22:18:52 +02:00
Simon Wilks
fa29694f0b Whitespace cleanup 2013-07-13 01:12:47 +02:00
Simon Wilks
b500cce31e Major refactor of HoTT drivers and finished sensor read implementation. 2013-07-13 01:08:06 +02:00