News:

Precision Simulator update 10.181 (1 February 2025) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

PSX2CLS (Bridge for Brunner FFB devices)

Started by jalexb88, Wed, 16 Nov 2022 03:32

jalexb88

Hello,

I introduce "PSX2CLS", a Java application that gives Brunner devices the required data from PSX for dynamic control loading (force feedback). The transmitted data as of now are autopilot servo, rudder trim offset, aileron trim offset, elevator feel and stick shaker. The position of the Brunner's axis is directly fed into the PSX network, so it is important to DISABLE all the applicable USB axis in the PSX settings, or else there can be interference.

The app has been tested so far with the CLS-E MKII yoke and CLS-E rudder pedals.

*CLS2Sim must be set in "External control" mode for this app to work, both must be run on the same PC with TCP port 15080 set in CLS2SIM*

Setup:

1. Set all Brunner controlled USB axis to OFF in the PSX Preferences -> USB tab

2. In CLS2Sim settings, check "Enabled" and "External control" in the Remote control section with TCP port 15080:



3. In "Active / Passive Mode" section check the applicable axis:



3. Click connect

4. If using a scenery generator, ensure it is connected & running, then run PSX2CLS: Connect to server & CLS2Sim & select the connected Brunner devices

Forces take around 20-25 seconds to fully initialize at every session load/reload. WAIT UNTIL BOTH PSX & THE SCENERY GENERATOR'S SESSION IS FULLY LOADED BEFORE CONNECTING PSX2CLS.

TO DO:

- Make the autopilot servo forces feel harder/more rigid. I have tried to simulate the hard feeling of the yoke when the autopilot is on but ran into trouble with violent oscillations as the force is increased. I think the solution is to introduce some friction, but I haven't yet figured out the best way to do that.

- Make the IP address/TCP port for server and TCP port for CLS2Sim user changeable. For now, all must run from the same PC with port server: 10747 and CLS2Sim: 15080.

̶-̶ ̶M̶a̶k̶e̶ ̶t̶h̶e̶ ̶b̶r̶a̶k̶e̶s̶ ̶a̶x̶i̶s̶ ̶o̶n̶ ̶t̶h̶e̶ ̶C̶L̶S̶-̶E̶ ̶p̶e̶d̶a̶l̶s̶ ̶f̶u̶n̶c̶t̶i̶o̶n̶a̶l̶. FIXED

https://www.dropbox.com/s/gphzh1inozpmisi/PSX2CLS.jar?dl=0

Version History:

15/11/22 - V0.0.1 - Initial Release
16/11/22 - V0.0.2 - Fixed demand variable request bug at initial connection to server (caused AP servo and elevator feel data not updating)
17/11/22 - V0.0.3 - Added checkbox to tell the program if Brunner pedals are present
18/11/22 - V0.0.4 - Brunner brakes axis now working (tested on CLS-E rudder pedals) *remove any brake assignments in PSX Preferences -> USB tab*
20/11/22 - V0.0.5 - Adjusted forces; Fixed rudder & aileron trim scaling
21/11/22 - V0.0.6 - Added safety measures to avoid erratic force transients (auto-disconnect on large position changes)

Cheers, Alex