v1.2.2
JSBSim version 1.2.2
Release Files
- Windows (64-bit)
JSBSim-1.2.2-setup.exe— Windows installer compiled with Microsoft Visual Studio Enterprise 2019 (build 16.11.35731.53)
- Ubuntu Jammy 22.04 and Noble 24.04 (amd64)
*.deb— Debian packages
- Python wheel packages are available on PyPI and can be installed using
pip install jsbsim. To upgrade an existing installation, usepip install --upgrade jsbsim - Conda packages are available from conda-forge. To install via conda, run
conda install -c conda-forge jsbsim
Changelog
User
- VT code-based highlighting is now supported on Windows (PR #1146), allowing JSBSim to display colored output in the terminal.
- Improved error handling to prevent uncaught C++ exceptions that could unexpectedly terminate the calling program (PR #1152 and PR #1244).
- Fixed a memory leak that occurred when JSBSim failed to load a model due to errors in the
<distributor>component (PR #1245). - Added a new function
<roundmultiple>, which rounds a number to the nearest multiple of a given value (PR #1170). - Fixed a bug that prevented real-time execution after a reset (PR #1213).
- Fixed a bug where number parsing silently failed due to the locale using a comma
,as the decimal separator, while XML files require a period.(PR #1229). - Reverted the FlightGear network protocol to v24 (PR #1234), resolving several issues that caused broken network connections between JSBSim and FlightGear.
Distributed Flight Dynamics Models
- Moved AH1S-specific rotor/thruster definitions to the helicopter's directory (PR #1167).
Python Module
This is the last JSBSim release to support Python 3.8.
Python 3.8 has reached end-of-life and is no longer supported by the Python Foundation (see PEP 569). Please upgrade to Python 3.9 or newer.
- Python dependencies are now listed in the standard
requirements.txtfile located in thepythonfolder (PR #1177), enabling installation with the command:
pip install -r python/requirements.txt - Fixed a bug where using the
--planetargument would terminate the PythonJSBSimscript (PR #1215).
Developer
- Fixed incorrect variable types used by some properties in
FGFDMExec, which could cause JSBSim to crash when running on PowerPC systems (PR #1166). - Made the method
FGInertial::GetGMconst(PR #1175). - Fixed an uninitialized variable in GeographicLib that caused numerical overflows and intermittent CI workflow crashes (PR #1173).
- Added bounds checking in
FGFCS(PR #1191). - Removed multiple
using namespace std;statements from header files, in accordance with good coding practices (PR #1193). - Fixed an error in
string_utilities.hthat prevented JSBSim from compiling with Cygwin (PR #1200). - Updated GitHub runners to drop deprecated OS versions: macOS (PR #1197) and Ubuntu (PR #1231).
- Updated the unit test
TestInputSocket.pyto usetelnetlib3, replacing the now-deprecated standard librarytelnetlib(PR #1228).