Skip to content

Commit

Permalink
feature: ad support for attitude (127257) (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 authored Mar 21, 2020
1 parent b4772be commit 3b59c5e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions conversions/attitude.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

module.exports = (app, plugin) => {
return {
pgn: 127250,
title: 'Attitude (127257)',
optionKey: 'ATTITUDE',
keys: [
"navigation.attitude"
],
callback: (attitude) => {
return [{
pgn: 127257,
SID: 87,
Pitch: attitude.pitch,
Yaw: attitude.yaw,
Roll: attitude.roll
}]
}
}
}

0 comments on commit 3b59c5e

Please sign in to comment.