I have been playing with X-Plane and dataRefs for some time using ethernet connectivity and having run into performance problems with ATMEL controllers I have switched to the faster Teensy.
Rather than pursue getting Teensy working with my ancient arduino ethernet card I decided to try out the Flight Sim Controls package.
I bought a couple of Teensy's an LC and a 4.0 and currently I have a working Windows 10, Xplane 64 bit 11.41 and Teensy 4.0 system, using a modified throttle example, that lets me read multiple datarefs and action them.
Debug is somewhat Heath-Robinson using Serial2.prints on the 4.0 down to the LC which is running the modified UART example to echo the output to a serial monitor - but hey it works and cost me only a little time.
My problem is that I prefer to use Linux and not Windows 10 for X-Plane as I seem to get a much better frame rate.
So I rebooted into Ubuntu 18.04.4 and installed the same Teensy Control plug-in, start up X-Plane 11.41 and the same Teensy 4.0 never makes contact with the Linux plug in.
I have tried various order of start ups and plugging the Teensy in - I rather miss the reassuring beeps as Windows detects the Teensy USB being plugged in but "lsusb" does show that the Teensy 4.0 Flight Sim Controls as present.
I have tried both versions of the plug in - Teensy original and the Bliesener update. Log.txt originally showed that the plug in was loaded but then reported an error
[Fetching plugins for /home/bob/X-Plane-11/Resources/plugins
Loaded: /home/bob/X-Plane-11/Resources/plugins/PluginAdmin/64/lin.xpl (xpsdk.examples.pluginadmin).
dlerror:libudev.so.0: cannot open shared object file: No such file or directory
I resolved the libudev.so.0 error, installing the libraries, so that no longer appears - but I still can not get the Teensy4.0 to read the throttle control.
Is this supported still ? Difficult to tell as the Teensy examples and pjrc web pages have not really been updated fully for the Teensy4.0
Does anyone have any suggestions for my next step ?
thanks Bob
Rather than pursue getting Teensy working with my ancient arduino ethernet card I decided to try out the Flight Sim Controls package.
I bought a couple of Teensy's an LC and a 4.0 and currently I have a working Windows 10, Xplane 64 bit 11.41 and Teensy 4.0 system, using a modified throttle example, that lets me read multiple datarefs and action them.
Debug is somewhat Heath-Robinson using Serial2.prints on the 4.0 down to the LC which is running the modified UART example to echo the output to a serial monitor - but hey it works and cost me only a little time.
My problem is that I prefer to use Linux and not Windows 10 for X-Plane as I seem to get a much better frame rate.
So I rebooted into Ubuntu 18.04.4 and installed the same Teensy Control plug-in, start up X-Plane 11.41 and the same Teensy 4.0 never makes contact with the Linux plug in.
I have tried various order of start ups and plugging the Teensy in - I rather miss the reassuring beeps as Windows detects the Teensy USB being plugged in but "lsusb" does show that the Teensy 4.0 Flight Sim Controls as present.
I have tried both versions of the plug in - Teensy original and the Bliesener update. Log.txt originally showed that the plug in was loaded but then reported an error
[Fetching plugins for /home/bob/X-Plane-11/Resources/plugins
Loaded: /home/bob/X-Plane-11/Resources/plugins/PluginAdmin/64/lin.xpl (xpsdk.examples.pluginadmin).
dlerror:libudev.so.0: cannot open shared object file: No such file or directory
I resolved the libudev.so.0 error, installing the libraries, so that no longer appears - but I still can not get the Teensy4.0 to read the throttle control.
Is this supported still ? Difficult to tell as the Teensy examples and pjrc web pages have not really been updated fully for the Teensy4.0
Does anyone have any suggestions for my next step ?
thanks Bob