Posts: 41 Threads: 17 Likes Received: 2 in 2 posts Likes Given: 11 Joined: Jun 2023 Reputation: -1 08-Aug-2023, 10:17 PM (This post was last modified: 08-Aug-2023, 10:21 PM by zomer.) Hello. How to execute this config.h in BT CLI enumeration script * I see it returns information about a potential problem in arming the engines. enum function ** I ask because I like linux and CLI communication. Not a GUI. I keep reading "What does it say in the first tab of BT?". No one will ask What the ANGLE_MODE command returns ? --------------------------------- runtime_config.h thx • Posts: 21,271 Threads: 587 Likes Received: 8,970 in 6,638 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 788 The "status" CLI command will show you which arming flags (from that enum) are currently present/active. • Posts: 41 Threads: 17 Likes Received: 2 in 2 posts Likes Given: 11 Joined: Jun 2023 Reputation: -1 13-Aug-2023, 01:35 AM (This post was last modified: 13-Aug-2023, 01:45 AM by zomer.) (08-Aug-2023, 10:29 PM)SnowLeopardFPV Wrote: The "status" CLI command will show you which arming flags (from that enum) are currently present/active. The status command is not very precise. As in linux "lspci" gives information about all PC devices. If you want to know the processor itself, you type "lscpu". I want to get filtered information. === My FPV === I) The ports are synchronized BT & Taranis II) the only error in the BT tab is MSP (USB). III) FC responds to Taranis qx7 switches. He turns on the buzzer. On off. There is communication between the radio and the receiver. (Access). What's the problem ??. It's a waste of time to record a video of what betaflight looks like. We have a CLI for such purposes. thx • Posts: 41 Threads: 17 Likes Received: 2 in 2 posts Likes Given: 11 Joined: Jun 2023 Reputation: -1 (08-Aug-2023, 10:29 PM)SnowLeopardFPV Wrote: The "status" CLI command will show you which arming flags (from that enum) are currently present/active. # status MCU F40X Clock=168MHz (PLLP-HSE), Vref=3.29V, Core temp=38degC Stack size: 2048, Stack address: 0x1000fff0 Configuration: CONFIGURED, size: 4167, max available: 16384 Devices detected: SPI:1, I2C:0 Gyros detected: gyro 1 locked dma GYRO=ICM20602, ACC=ICM20602 OSD: MAX7456 (30 x 13) System Uptime: 34 seconds, Current Time: 2023-08-13T08:27:31.655+00:00 CPU:14%, cycle time: 125, GYRO rate: 8000, RX rate: 15, System rate: 9 Voltage: 2255 * 0.01V (6S battery - OK) I2C Errors: 0 SD card: None inserted Arming disable flags: RXLOSS CLI MSP. * !!! Just don't write. The motor does not arm because the USB is connected. thx • Posts: 21,271 Threads: 587 Likes Received: 8,970 in 6,638 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 788 The "status" command gives you the same arming flags that you see in the Betaflight Configurator GUI, so I'm not entirely sure what it is you were were after. Your original post listed an the arming flags enum. The "status" command will report those same flags if one or more of them is preventing arming. There is no specific flag for having the USB cable connected. When you connect a USB cable to the FC it initiates an MSP data connection with the MCU on the FC and it is that data connection which prevents arming (the "MSP" flag). The CLI has a limited set of commands. As the Betaflight project is open source you are free to download the cade and make any modification and additions to suit your needs but they may not be accepted back into the main project so you would have to maintain a separate fork or your own private builds. The source code for the CLI status command is HERE. • Posts: 21,271 Threads: 587 Likes Received: 8,970 in 6,638 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 788 13-Aug-2023, 07:47 PM (This post was last modified: 13-Aug-2023, 08:42 PM by SnowLeopardFPV. Edit Reason: Additional comments added. ) (13-Aug-2023, 06:51 PM)zomer Wrote: SnowLeopardFPV. Sorry. Got something interesting to say? Do you only collect points for posts? You are not writing anything new, you are not writing at all. Sorry. Like most other regular members on here I give up my time for FREE to help people with their questions and problems. I don't give a if your first lanuage isn't English. There is no excuse for disrespect or abuse towards other forum members who are just trying to help and it's a breach of the forum rules. I suggest you go on Facebook or find another forum with other like minded people who also have their head up their own arse. You won't get any more replies from me to any of your posts asking for help, and if the other regular members on here have any sense they will also ignore you too. Goodbye. Posts: 41 Threads: 17 Likes Received: 2 in 2 posts Likes Given: 11 Joined: Jun 2023 Reputation: -1 (13-Aug-2023, 07:47 PM)SnowLeopardFPV Wrote: Like most other regular members on here I give up my time for FREE to help people with their questions and problems. I don't give a if your first lanuage isn't English. There is no excuse for disrespect or abuse towards other forum members who are just trying to help and it's a breach of the forum rules. I suggest you go on Facebook or find another forum with other like minded people who also have their head up their own arse. You won't get any more replies from me to any of your posts asking for help, and if the other regular members on here have any sense they will also ignore you too. Goodbye. Okay, I'm so sorry. You treat me like I would * first contact with OpenGL software *Didn't know Linux and terminal *Didn't have its own git repository I asked about command line replacements for the BT gui, you replied that the gui is ok and the status command is enough for me. It offended me a bit. FPV deals with short but I know Arduino 7 years. Now I am writing to you from Fedora linux. Similarly, I run BT programs, Blheli_s from under linux. I like the terminal, it's universal. thx • |