jsbsimrs 0.2.1

A Rust interface for JSBSim, a flight dynamics model (FDM) used in flight simulators.
Documentation
  • Coverage
  • 100%
    22 out of 22 items documented1 out of 11 items with examples
  • Size
  • Source code size: 118.66 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.99 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mark-goodall/jsbsimrs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mark-goodall

A rust JSBSim interface

crates.io

This is a fairly simple barebones interface for JSBSim to allow for connecting a rust app to the JSBSim flight dynamics. JSBSim is run as a separate process, following how other software integrate with JSBSim like ardupilot and px4.

Included is a minimal JSBSim root directory with a modified Concorde model to expose the interface on port 5556, which is used for testing.

JSBSim Gotchas

  • Setting the simulator rate (in hz) too low resulted in instabilities (SIGFPE).
  • When the simulator crashes, sometimes the port is kept in a weird state, which prevents further tests passing.