Skip to content

LTAPIAircraft::getLocalCoord returns wrong altitude #9

@TwinFan

Description

@TwinFan

Describe the bug

LTAPIAircraft::getLocalCoord passes bulk.alt_ft into XPLMWorldToLocal, which expects meter, not feet.

Expected behavior

Correct altitude.

Technical Info

  • OS: any
  • X-Plane version: any
  • LiveTraffic / LTAPI version: any

Solution

Pass in bulk.alt_ft * 0.3048.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions