Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to execute this config.h in BT CLI
#1
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
Reply
Login to remove this ad | Register Here
#2
The "status" CLI command will show you which arming flags (from that enum) are currently present/active.
Reply
#3
(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
Reply
#4
(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
Reply
#5
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.
Reply
#6
(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  Poop  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.
[-] The following 2 users Like SnowLeopardFPV's post:
  • Oscar, QuadFlyer68
Reply
#7
(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  Poop  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
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Bbetaflight corrupted config Andy0679 3 682 09-Apr-2024, 02:42 PM
Last Post: Pathfinder075
  CLI commenting #$ zomer 7 493 27-Aug-2023, 11:05 PM
Last Post: zomer
  Modes tab CLI zomer 2 360 20-Aug-2023, 02:45 PM
Last Post: BadRaven
  CLI in bash linux terminal zomer 1 195 08-Aug-2023, 07:57 PM
Last Post: PeladoMat
  10.9.0 config and 4.4 wont open mac John12345678900 7 1,078 17-Feb-2023, 11:06 PM
Last Post: John12345678900


Login to remove this ad | Register Here