Skip to content

Improved MessageHandler HandleGetT and created getTERR C function#204

Merged
jason-watkins merged 6 commits intonasa:developfrom
NPrincen:getTERR
May 2, 2020
Merged

Improved MessageHandler HandleGetT and created getTERR C function#204
jason-watkins merged 6 commits intonasa:developfrom
NPrincen:getTERR

Conversation

@NPrincen
Copy link
Copy Markdown
Contributor

@NPrincen NPrincen commented May 1, 2020

Improved the accuracy of the HandleGetT message handler in the plugin to work better in areas of high elevation far from the scenery origin. Used the method outlined by Ben Supnik in this forum post:

https://forums.x-plane.org/index.php?/forums/topic/38688-how-do-i-use-xplmprobeterrainxyz/&page=2

Also expanded the data that is sent back via the TERR UDP packet to include the velocity vector of the terrain. This may be useful to people programming a gear reaction model for an airplane landing on the aircraft carrier.

Finally, created a getTERR function in the C library so that people can request and receive the terrain probe data.

Also corrected minor typos in comments.
Follow the process in the following post to get accurate results:
// https://forums.x-plane.org/index.php?/forums/topic/38688-how-do-i-use-xplmprobeterrainxyz/&page=2

Also added the ground velocity vector to the output.  This is used for carrier landing where "ground" is moving.
Follow the process in the following post to get accurate results:
// https://forums.x-plane.org/index.php?/forums/topic/38688-how-do-i-use-xplmprobeterrainxyz/&page=2
Also added the ground velocity vector to the output. This is used for carrier landing where "ground" is moving.
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