mavlink GLOBAL_POSITION_INT use vehicle_local_position for altitude

This commit is contained in:
Daniel Agar
2018-03-28 15:37:57 -04:00
parent 6af989e8c0
commit deb5cbcc82
2 changed files with 46 additions and 24 deletions
@@ -82,8 +82,6 @@ MavlinkOrbSubscription::get_instance() const
bool
MavlinkOrbSubscription::update(uint64_t *time, void *data)
{
// TODO this is NOT atomic operation, we can get data newer than time
// if topic was published between orb_stat and orb_copy calls.