Skip to content

Airplane-Team/sim-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sim Interface

Contains information and examples on connecting any sim to Shirley.

See the Changelog for the latest changes.

Background

Shirley connects to a sim via WebSocket to receive SimData and send SetSimData messages.

ForeFlight Bridge

See foreflight-type/README.md for more information.

Example Supported Sims

From ForeFlight Documentation:

  • AeroFly FS 4
  • X-Plane 11 (Shirley natively supports X-Plane 12)
  • Microsoft Flight Simulator 2020 & 2024
  • Infinite Flight

Schemas Available Upon Request

A schema is available in the schemas directory. It is up-to-date as of the Shirley version in the Changelog. Shirley version numbers are listed at https://airplane.team/changelog.

  • SimData is sent from the sim to Shirley (e.g. position and attitude). Any fields that are present are used by Shirley. So, it is very easy to gradually add more support for Shirley by sending additional fields. No specific support is required on Shirley's end.
  • SetSimData is sent from Shirley to the sim: it requires prior knowledge of the sim's supported settable data.
    • The schemas/set_simdata_schemas_xplane.ts file is specific to X-Plane 12, but can be used for other sims in generic-sim mode by adding ?generic to the flight URL.
    • Extending to other sims is possible, but requires Shirley to be updated. Please contact us on Discord for support.
  • DataDescriptor describes the data that Shirley can access or set.
    • schemas/data_descriptor.ts is a single DataDescriptor for a single DataName.
    • schemas/data_descriptors.ts is a map of DataName to DataDescriptor.

These schemas are subject to change as Shirley evolves.

Support for Sim Integration

Please contact us on Discord for the latest schemas for SimData and SetSimData, and for support in connecting your sim to Shirley!

Other FlyShirley Repositories by Airplane Team

Please star our repositories to show your support!

  • Sample Challenges - Schemas and examples to help you utilize Shirley's powerful challenge system.
  • Aircraft Profiles - Schemas and sample profiles to teach Shirley about your favorite aircraft.
  • Sim Interface (this repo) - Complete interface to connect Shirley to any sim. Or, utilize the Shirley protocol for your own web-based sim plugin.

About

Connecting any Sim to Shirley, and a Common Data Interface for any Sim!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors