Diff or Dump about Betaflight, can you tell it apart them?

A new command “diff” was introduced back in Betaflight 3.0, it’s much better than using “dump” for troubleshoot and managing parameter in CLI. Still some people are not aware of it, so let’s mention it for more details。

As you all know, Betaflight ‘diff ‘ and ‘diff all’ commands greatly simplify configuration management by only displaying CLI values that are changed.

What Does Dump Do?

‘dump’ simply prints all the configurable settings in a pastable form(over 300 lines long).

What Does Diff Do? 

There are 2 command variants: “diff” and “diff all”.

diff” prints only the paremeters in the current profile and current rate profiles that are changed from the default. By adding a command argument “showdefaults”(entering “diff showdefaults” in CLI), the original values are also displayed in a comment line (beginning with a #) for all changed values.

diff all” displays only the values in all profiles and rate profiles that are different from the default values. By adding a command argument “showdefaults”, the original values are also displayed in a comment  line (beginning with a #) for all changed values.
















Why use Diff over Dump?

When using diff, you no longer need to go over all the settings, only the ones that different from defaults. This largely simplifies paremeter/feature management and makes trouble-shooting easier.

This also works slightly better for firmware updates, where you need to make a setting backup, you can use”diff all showdefaults”, the list is likely to be much shorter.

However this feature is only available since Betaflitht V3.0,  won’t work for those are still using older firmware before that.

We are not saying we should replace dump with diff, it will still be useful in some cases. But unless you have a good reason to use dump, try diff.


FPVModel Released New BetaflightF3 Flight Controller

FPV Model released a new Betaflight flight controller on November 15th, 2016.

FPV Model has been working with Betaflight on the flight controller for over several months. A lot of time and effort has been put into this.  With the technical support from Hector Basil Hind and Boris B., finally stuck with what will be the finished product.

The BetaflightF3 is an all in one design, designed to fit those critical builds but give the users the options they most commonly use, all the while keeping the same standard footprint of most flight controllers used. PDB, OSD(betaflight configurator), SD Card writer, 3A power draw, DShot compatibilty…the list goes on.

The BetaflightF3 flight controller will be around the end of November. Let’s keep an eye on it.