Posts: 245 Threads: 83 Likes Received: 8 in 8 posts Likes Given: 229 Joined: Jan 2023 Reputation: 0 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/ • Posts: 12,099 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 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? • Posts: 245 Threads: 83 Likes Received: 8 in 8 posts Likes Given: 229 Joined: Jan 2023 Reputation: 0 (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 • Posts: 21,170 Threads: 581 Likes Received: 8,918 in 6,598 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 786 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... Posts: 245 Threads: 83 Likes Received: 8 in 8 posts Likes Given: 229 Joined: Jan 2023 Reputation: 0 (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 • Posts: 771 Threads: 29 Likes Received: 405 in 305 posts Likes Given: 321 Joined: Jul 2022 Reputation: 18 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. Posts: 245 Threads: 83 Likes Received: 8 in 8 posts Likes Given: 229 Joined: Jan 2023 Reputation: 0 (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 • Posts: 21,170 Threads: 581 Likes Received: 8,918 in 6,598 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 786 (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 Posts: 21,170 Threads: 581 Likes Received: 8,918 in 6,598 posts Likes Given: 1,425 Joined: Jun 2018 Reputation: 786 And here's another link to a (official Betaflight) reference guide for the "aux" CLI command... https://betaflight.com/docs/development/Modes#cli Posts: 12,099 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 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/ Posts: 245 Threads: 83 Likes Received: 8 in 8 posts Likes Given: 229 Joined: Jan 2023 Reputation: 0 23-Nov-2023, 06:06 PM (This post was last modified: 23-Nov-2023, 06:07 PM by Eyes.fpv.) (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 (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 • Posts: 245 Threads: 83 Likes Received: 8 in 8 posts Likes Given: 229 Joined: Jan 2023 Reputation: 0 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? • Posts: 12,099 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 You need to free up (which you are referring to as cancel) the resource before you can assign. • Posts: 245 Threads: 83 Likes Received: 8 in 8 posts Likes Given: 229 Joined: Jan 2023 Reputation: 0 (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 • Posts: 12,099 Threads: 125 Likes Received: 3,739 in 2,836 posts Likes Given: 99 Joined: Feb 2017 Reputation: 388 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 |