WouterJD / FortiusANT

FortiusANT enables a pre-smart Tacx trainer (usb- or ANT-connected) to communicate with TrainerRoad, Rouvy or Zwift through ANT or Bluetooth LE.
GNU General Public License v3.0
143 stars 77 forks source link

Tacx head unit returns insufficient data (raspberry slow) #425

Closed WouterJD closed 6 months ago

WouterJD commented 1 year ago

~/FortiusANT/raspberry/FortiusAntMain.sh -a -bb -Odisplay -e -p25 -D-1 -H-1

FortiusAnt on raspberry is working fine, but sometimes when:

The message "Tacx head unit returns insufficient data" is displayed. And when the Enter is is released (or the VNC connection is made), FortiusAnt turns back to normal operation

The message "Tacx head unit returns insufficient data" may therefore also be caused by the Raspberry where FortiusAnt is running. (Not only the headunit being too slow to respond).

Who has experience with this issue How could this situation be detected Or even better: avoided?

Python code


Hardware info

processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 997.08 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7

Hardware : BCM2835 Revision : 9000c1 Serial : 0000000040827e00 Model : Raspberry Pi Zero W Rev 1.1


Software info

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Kernel = Linux rpiErica 5.10.63+ #1496 Wed Dec 1 15:57:05 GMT 2021 armv6l GNU/Linux Debian = 10.13

WouterJD commented 1 year ago

Interesting; this does not happen in the calibration loop

WouterJD commented 1 year ago

This problem occurs when -b (BLE/Nodejs) or -bb (BLE/bless) is activated.

It seems that the raspberry is not fast enough to do all that work. Why it affects the USB-interface to the Tacx-trainer is not clear to me.

WouterJD commented 9 months ago

Anybody still experiencing this problem? If not, I will close the issue.

MeanHat commented 9 months ago

Happy to close Wouter

On Mon, Oct 9, 2023 at 11:49 AM Wouter Dubbeldam @.***> wrote:

Anybody still experiencing this problem? If not, I will close the issue.

— Reply to this email directly, view it on GitHub https://github.com/WouterJD/FortiusANT/issues/425#issuecomment-1752776984, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARS665EXEQWEHBD7P6I4IK3X6PJFDAVCNFSM6AAAAAAV4DPIX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSG43TMOJYGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

WouterJD commented 6 months ago

Left for future development