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 can I read CLI
#1
HEY folks

How can I read CLI 

I read Oscar's article but in general 

I need detail and understanding

https://oscarliang.com/betaflight-cli-explained/
Reply
Login to remove this ad | Register Here
#2
Don't quite understand what you are asking. Do you mean how to get to the CLI to read the text settings? Or are you asking how to make sense of setting from CLI?
Reply
#3
(23-Nov-2023, 06:49 AM)voodoo614 Wrote: Don't quite understand what you are asking. Do you mean how to get to the CLI to read the text settings? Or are you asking how to make sense of setting from CLI?

How to understand texts in CLI
Reply
#4
There is no definitive guide to the CLI. You just pick up what certain CLI commands mean over time as you gain experience in the hobby. Read tons of FPV related resources and watch hours of YouTube videos and eventually you will understand what some of the stuff actually means.

A couple of resources to get you started are below...
[-] The following 1 user Likes SnowLeopardFPV's post:
  • iFly4rotors
Reply
#5
(23-Nov-2023, 10:46 AM)SnowLeopardFPV Wrote: There is no definitive guide to the CLI. You just pick up what certain CLI commands mean over time as you gain experience in the hobby. Read tons of FPV related resources and watch hours of YouTube videos and eventually you will understand what some of the stuff actually means.

A couple of resources to get you started are below...

Good , thank you my Teacher
Reply
#6
The most useful starter commands are get, set, status, tasks, and save. Get lets you gather info almost like it's a search function. Set lets you change values. Status tells you general info about the flight controller. Tasks will bring up the CPU workload. Save lets you save and changes you made with the set command. There's also 'diff all' which will find any settings that aren't the same as a fresh flash, making for a useful backup that you can save for later.
[-] The following 2 users Like Suros's post:
  • iFly4rotors, Eyes.fpv
Reply
#7
(23-Nov-2023, 03:52 PM)Suros Wrote: The most useful starter commands are get, set, status, tasks, and save. Get lets you gather info almost like it's a search function. Set lets you change values. Status tells you general info about the flight controller. Tasks will bring up the CPU workload. Save lets you save and changes you made with the set command. There's also 'diff all' which will find any settings that aren't the same as a fresh flash, making for a useful backup that you can save for later.

Great , Some of the last numbers, the last words, you need to understand in a big way
Reply
#8
(23-Nov-2023, 04:05 PM)Eyes.fpv Wrote: Great , Some of the last numbers, the last words, you need to understand in a big way

Below is a a link to a comprehensive guide on the "serial" CLI command that I wrote a few years back that will help you understand what the number parameters used in that particular CLI command does...

https://intofpv.com/t-cli-reference-the-serial-command
[-] The following 3 users Like SnowLeopardFPV's post:
  • Bud13420, iFly4rotors, Eyes.fpv
Reply
#9
And here's another link to a (official Betaflight) reference guide for the "aux" CLI command...

https://betaflight.com/docs/development/Modes#cli
[-] The following 3 users Like SnowLeopardFPV's post:
  • Bud13420, iFly4rotors, Eyes.fpv
Reply
#10
I personally think understanding RESOURCE in betaflight CLI is one of the most important thing you need to learn. There is no GUI for it.

https://oscarliang.com/betaflight-resource-remapping/
[-] The following 3 users Like voodoo614's post:
  • Bud13420, iFly4rotors, Eyes.fpv
Reply
#11
(23-Nov-2023, 04:11 PM)SnowLeopardFPV Wrote: Below is a a link to a comprehensive guide on the "serial" CLI command that I wrote a few years back that will help you understand what the number parameters used in that particular CLI command does...

https://intofpv.com/t-cli-reference-the-serial-command

thank you  Heart

(23-Nov-2023, 05:03 PM)voodoo614 Wrote: I personally think understanding RESOURCE in betaflight CLI is one of the most important thing you need to learn. There is no GUI for it.

https://oscarliang.com/betaflight-resource-remapping/

thank you  Heart
Reply
#12
Orders that end with numbers must be canceled first and then the new number assigned

Or do I just put the new number and save?
Reply
#13
You need to free up (which you are referring to as cancel) the resource before you can assign.
Reply
#14
(09-Dec-2023, 07:33 AM)voodoo614 Wrote: You need to free up (which you are referring to as cancel) the resource before you can assign.

Whatever the factory set, it must be removed first, This is a must!

But I mean, for example, the pid settings, the numbers. Do I need to cancel them first and then reset them?

example:
roll_expo = 12

recouse:
roll_expo = nona

set roll_expo = 0
Reply
#15
Not for setting. Settings usually have the "set" at the beginning. Things like resource, you will need to free it up first.

For example the roll_expo, you just need to change the value.

Set roll_expo = 9
Save
[-] The following 1 user Likes voodoo614's post:
  • Eyes.fpv
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  UART in CLI Eyes.fpv 3 271 04-Jan-2024, 01:35 PM
Last Post: SnowLeopardFPV
  How to undo changes made in cli PJKMBAKER 5 259 21-Oct-2023, 11:14 AM
Last Post: SnowLeopardFPV
  Configuration corresponding CLI command in Betaflight mwon 3 973 24-Aug-2023, 11:03 AM
Last Post: zomer
  CLI command "sbus_baud_fast = ON" not working reptawr 8 1,519 17-Jul-2023, 09:52 AM
Last Post: SnowLeopardFPV
Photo Connecting to FC takes me to CLI mode- Beta flight NoSkillAllLuck 3 235 25-Apr-2023, 04:58 AM
Last Post: matt0725


Login to remove this ad | Register Here