diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index cd0bd241933bb7b35ec60c7171ecd739fa69a02b..787d4c07eb1f7b39d34213cf32ed17ab6c199f21 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -588,13 +588,6 @@ void UAS::receiveMessage(mavlink_message_t message) setSatelliteCount(pos.satellites_visible); } break; - case MAVLINK_MSG_ID_GPS_GLOBAL_ORIGIN: - { - mavlink_gps_global_origin_t pos; - mavlink_msg_gps_global_origin_decode(&message, &pos); - emit homePositionChanged(uasId, pos.latitude / 10000000.0, pos.longitude / 10000000.0, pos.altitude / 1000.0); - } - break; case MAVLINK_MSG_ID_PARAM_VALUE: { diff --git a/src/uas/UASInterface.h b/src/uas/UASInterface.h index 4602c4430f20379a082de3f1b5ca1a44f79679bc..4139edb18a0b582f9a597b564b75ccc0834b7d3c 100644 --- a/src/uas/UASInterface.h +++ b/src/uas/UASInterface.h @@ -303,9 +303,6 @@ signals: /** @brief Core specifications have changed */ void systemSpecsChanged(int uasId); - // HOME POSITION / ORIGIN CHANGES - void homePositionChanged(int uas, double lat, double lon, double alt); - // Log Download Signals void logEntry (UASInterface* uas, uint32_t time_utc, uint32_t size, uint16_t id, uint16_t num_logs, uint16_t last_log_num); void logData (UASInterface* uas, uint32_t ofs, uint16_t id, uint8_t count, const uint8_t* data);