Skip to content

Commit

Permalink
Mavlink: Ignore ADSB systems
Browse files Browse the repository at this point in the history
  • Loading branch information
stephendade committed Jan 6, 2025
1 parent 8219b50 commit c80839d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mavlink/mavManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class mavManager {
// ensure it's NOT a GCS, as mavlink-router will sometimes route
// messages from connected GCS's
if (this.targetSystem === null && packet.header.msgid === minimal.Heartbeat.MSG_ID && data.type !== 6
&& data.type !== 18) {
&& data.type !== 18 && data.type !== 27) {
console.log('Vehicle is S/C: ' + packet.header.sysid + '/' + packet.header.compid)
winston.info('Vehicle is S/C: ' + packet.header.sysid + '/' + packet.header.compid)
this.targetSystem = packet.header.sysid
Expand Down

0 comments on commit c80839d

Please sign in to comment.