Browse Source

Added the possibilty to see only one UAS at the time with the drop down menu after clearing the view

QGC4.4
ndousse 11 years ago
parent
commit
642be64cec
  1. 6
      src/ui/QGCMAVLinkInspector.cc

6
src/ui/QGCMAVLinkInspector.cc

@ -303,6 +303,10 @@ void QGCMAVLinkInspector::receiveMessage(LinkInterface* link,mavlink_message_t m @@ -303,6 +303,10 @@ void QGCMAVLinkInspector::receiveMessage(LinkInterface* link,mavlink_message_t m
quint64 receiveTime;
if (selectedSystemID != 0 && selectedSystemID != message.sysid) return;
if (selectedComponentID != 0 && selectedComponentID != message.compid) return;
// Create dynamically an array to store the messages for each UAS
if (!uasMessageStorage.contains(message.sysid))
{
@ -478,7 +482,7 @@ void QGCMAVLinkInspector::updateField(int sysid, int msgid, int fieldid, QTreeWi @@ -478,7 +482,7 @@ void QGCMAVLinkInspector::updateField(int sysid, int msgid, int fieldid, QTreeWi
{
return;
}
uint8_t* m = ((uint8_t*)uasMessage)+8;

Loading…
Cancel
Save