Hello @alduxvm, thanks for your work.
This is not entirely an issue, perhaps someone has never encountered such a problem.
I use WSL on Windows 10 to run Ubuntu.
py --version
Python 3.12.0
There I collect the firmware for betaflight from source code, and someone may use docker, but that’s not the point.
So, I needed to get attitude angle data from the flight controller F411 NOXE V3 via the UART2.
I got the code from here
But it didn’t want to work and gave an error.
I had to change the code a little:
#except Exception,error:
except Exception as error:
After that, I could not determine the COM port, the command line always showed the message
sendCMD...
The solution to the problem was simple, because... I'm on Linux on WSL, then my ports are designated like this:
Hello @alduxvm, thanks for your work. This is not entirely an issue, perhaps someone has never encountered such a problem. I use
WSL
onWindows 10
to runUbuntu
.There I collect the firmware for betaflight from source code, and someone may use docker, but that’s not the point. So, I needed to get attitude angle data from the flight controller F411 NOXE V3 via the
UART2
. I got the code from hereBut it didn’t want to work and gave an error. I had to change the code a little:
After that, I could not determine the
COM
port, the command line always showed the messagesendCMD...
The solution to the problem was simple, because... I'm on Linux onWSL
, then my ports are designated like this:Information from here. As a result, the rewritten code for the
COM15
port.I receive orientation angle data.