| 90 | } |
| 91 | |
| 92 | GroundTelemetry::~GroundTelemetry() { |
| 93 | // first, stop all the endpoints that have their own threads |
| 94 | m_wb_endpoint = nullptr; |
| 95 | m_gcs_endpoint = nullptr; |
| 96 | if (m_gcs_endpoint) { |
| 97 | m_gcs_endpoint = nullptr; |
| 98 | } |
| 99 | if (m_tcp_server) { |
| 100 | m_tcp_server = nullptr; |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | void GroundTelemetry::on_messages_air_unit( |
| 105 | const std::vector<MavlinkMessage>& messages) { |
nothing calls this directly
no outgoing calls
no test coverage detected