Skip to content

Created sendPOST function that combines functions of sendPOSI and getTERR#205

Merged
jason-watkins merged 10 commits intonasa:developfrom
NPrincen:develop
May 6, 2020
Merged

Created sendPOST function that combines functions of sendPOSI and getTERR#205
jason-watkins merged 10 commits intonasa:developfrom
NPrincen:develop

Conversation

@NPrincen
Copy link
Copy Markdown
Contributor

@NPrincen NPrincen commented May 2, 2020

In simulation environments using X-Plane as a visual system, the user will need to use sendPOSI to move the aircraft in X-Plane, but will also need to use getTERR to return the height of the terrain below the aircraft for landing gear reaction modeling. It is very useful to be able to do this in one step, so have created the sendPOST function that combines sendPOSI with getTERR. sendPOST sends a POST UDP message, which has exactly the same format as the POSI UDP message, just with a POST header. The plugin has been modified to interpret this message, position the airplane in the same way as sendPOSI, and then return a TERR UDP message. sendPOST then reads the TERR message and provides the terrain information to the user.

@NPrincen NPrincen marked this pull request as ready for review May 2, 2020 22:08
Copy link
Copy Markdown
Contributor

@jason-watkins jason-watkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do love a pull request where I can't even find a single thing to nitpick. Looks good to me.

@jason-watkins jason-watkins merged commit 7ae6ab2 into nasa:develop May 6, 2020
NPrincen added a commit to NPrincen/XPlaneConnect that referenced this pull request May 10, 2020
Merge pull request nasa#205 from NPrincen/develop
@jason-watkins jason-watkins mentioned this pull request Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants