Skip to content

How to compile yaapu telemetry script #287

@agising

Description

@agising

Hello,
I really like the yaapu telemetry scripts, thank you so much for your work!

  • I ask for tips on parsing RPM data
  • I ask for instructions on how to compile

The telemetry script works fine on my setup: CubeOrange+, ArduCopter, Frsky RX8R Pro, X9D PLUS 2019, OpenTX 2.3.15-otx - with the exception that RPM is not parsed/displayed correctly.

I'm trouble shooting the RPM data, it always shows zero except for one sample randomly getting through when I stop to motor. I can clearly see this by displaying the sticky version RPM0+ next to the real time RPM0.
The RPM is continuously sent in the mavlink stream, which can be seen in mavlink inspector of QGC. Any experience?

I want to do small modifications in the yaapu script to troubleshoot what is going on, but I fail to compile it, or rather the radio reports Script panic - out of memory when my compiled versions run on the radio. This also happens when compiling the untouched source . The precompiled version runs fine.

I use a Taranis X9D PLUS 2019, OpenTX 2.3.15-otx. The code I tried to compile is the code linked from the main page "OpenTX 2.3.8 or later use this"

I used LUA-5.2.4, this is the information of the luac:
lua-5.2.4/src$ file luac
luac: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, BuildID[sha1]=0b10994d7ed83781d5f208e24009879104ed26d9, for GNU/Linux 3.2.0, not stripped

The compilation environment is WSL2.0, the command I used to compile the LUA file is:
qemu-arm ~/LUA/lua-5.2.4/src/luac -s -o yaapu9.luac yaapu9.lua

Any help appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions