User Tools

Site Tools


howto:fc_patcher_tool

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
howto:fc_patcher_tool [2019/03/29 00:58]
digdat0 [7. Modify flight controller parameters]
howto:fc_patcher_tool [2019/03/30 06:53]
d95gas [Toolset]
Line 20: Line 20:
   - Download [[https://developer.android.com/studio/releases/platform-tools|Download Android SDK for Windows to allow ADB]]    - Download [[https://developer.android.com/studio/releases/platform-tools|Download Android SDK for Windows to allow ADB]] 
   - Download an app to allow running .SH files on Windows; i used [[https://desktop.github.com/|github]] as my app   - Download an app to allow running .SH files on Windows; i used [[https://desktop.github.com/|github]] as my app
 +  - Download CYGWIN to allow running .sh on Windows [[https://www.cygwin.com |Cygwin]]
   - Download and install a file extraction app like [[https://www.win-rar.com/fileadmin/winrar-versions/winrar/th/winrar-x64-570.exe|winrar]] or [[https://desktop.github.com/|winzip]]   - Download and install a file extraction app like [[https://www.win-rar.com/fileadmin/winrar-versions/winrar/th/winrar-x64-570.exe|winrar]] or [[https://desktop.github.com/|winzip]]
   - Download pcrypto by running this from a command line python -m pip install pycryptodome   - Download pcrypto by running this from a command line python -m pip install pycryptodome
 +  
      
  
Line 38: Line 40:
   - Extract the .CFG.SIG, the 305 and 306 files to the c:\fcpatcher folder   - Extract the .CFG.SIG, the 305 and 306 files to the c:\fcpatcher folder
  
 +{{:howto:winrar.png?400|}}
 ==== 3. Extract / unsig the .cfg file ====  ==== 3. Extract / unsig the .cfg file ==== 
   * Open a command prompt and type   * Open a command prompt and type
Line 115: Line 118:
  
 ==== 7. Modify flight controller parameters ==== ==== 7. Modify flight controller parameters ====
 +
   * Open the flyc_param_infos file in notepad++ or similar editor. Values will look like this:   * Open the flyc_param_infos file in notepad++ or similar editor. Values will look like this:
  
Line 130: Line 134:
  
  
-You will be modifying the "DefaultValue" value. We will not be changing ANYTHING else. In the example above, we would replace "defaultValue" : 1 with "defaultValue" : 2 (per the table below). Dont change or edit anything other than the default value. +You will be modifying the "DefaultValue" value. We will not be changing ANYTHING else. In the example above, we would replace "defaultValue" : 1 with "defaultValue" : 2 (changing 1->2, per the table below). Dont change or edit anything other than the default value.  
 + 
 +^ Parameter Name ^ Value ^ Description ^ 
 +^ g_config.airport_limit_cfg.cfg_disable_airport_fly_limit|1|| 
 +^ g_config.airport_limit_cfg.cfg_limit_data|20250910|| 
 +^ g_config.flying_limit.driver_license_limit_enable |0|| 
 +^ g_config.flying_limit.viechle_license_limit_enable|0|| 
 +^ g_config.flying_limit.height_limit_enabled|2|| 
 +^ g_config.airport_limit_cfg.cfg_search_radius|1|| 
 +^ g_config.airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_AIRPORT]|0|| 
 +^ g_config.airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_SPECIAL]|0|| 
 +^ g_config.flying_limit.limit_height_rel|10000|| 
 +^ g_config.flying_limit.limit_height_abs|10000|| 
 +^ g_config.flying_limit.limit_height_abs_without_gps|10000|| 
 +^ g_config.mode_normal_cfg.tilt_atti_range|33|| 
 +^ g_config.mode_normal_cfg.vert_vel_up|7|| 
 +^ g_config.mode_normal_cfg.vert_vel_down|-6|| 
 +^ g_config.mode_normal_cfg.vert_acc_up|7|| 
 +^ g_config.mode_normal_cfg.vert_acc_down|-6|| 
 +^ g_config.mode_sport_cfg.tilt_atti_range|50|| 
 +^ g_config.mode_sport_cfg.vert_vel_up|8|| 
 +^ g_config.mode_sport_cfg.vert_vel_down|-8|| 
 +^ g_config.mode_sport_cfg.vert_acc_up|8|| 
 +^ g_config.mode_sport_cfg.vert_acc_down|-8|| 
 +^ g_config.fw_cfg.max_speed|20|| 
 +^ g_config.avoid_cfg.avoid_atti_range|23|| 
 +^ g_config.control.avoid_atti_range|50|| 
 +^ bat_level_2_action|0|| 
 +^ bat_cap_v2_prot_type|0|| 
 +^ g_config.bat_config.level2_smart_battert_land|0||
  
-^ Parameter Name ^ Value ^ +Note: This is a draft list as of 28-Mar-19
-^ g_config.airport_limit_cfg.cfg_disable_airport_fly_limit|1| +
-^ g_config.airport_limit_cfg.cfg_limit_data|20250910| +
-^ g_config.flying_limit.driver_license_limit_enable |0| +
-^ g_config.flying_limit.viechle_license_limit_enable|0| +
-^ g_config.flying_limit.height_limit_enabled|2| +
-^ g_config.airport_limit_cfg.cfg_search_radius|1| +
-^ g_config.airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_AIRPORT]|0| +
-^ g_config.airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_SPECIAL]|0| +
-^ g_config.flying_limit.limit_height_rel|10000| +
-^ g_config.flying_limit.limit_height_abs|10000| +
-^ g_config.flying_limit.limit_height_abs_without_gps|10000| +
-^ g_config.mode_normal_cfg.tilt_atti_range|33| +
-^ g_config.mode_normal_cfg.vert_vel_up|7| +
-^ g_config.mode_normal_cfg.vert_vel_down|-6| +
-^ g_config.mode_normal_cfg.vert_acc_up|7| +
-^ g_config.mode_normal_cfg.vert_acc_down|-6| +
-^ g_config.mode_sport_cfg.tilt_atti_range|50| +
-^ g_config.mode_sport_cfg.vert_vel_up|8| +
-^ g_config.mode_sport_cfg.vert_vel_down|-8| +
-^ g_config.mode_sport_cfg.vert_acc_up|8| +
-^ g_config.mode_sport_cfg.vert_acc_down|-8| +
-^ g_config.fw_cfg.max_speed|20| +
-^ g_config.avoid_cfg.avoid_atti_range|23| +
-^ g_config.control.avoid_atti_range|50| +
-^ bat_level_2_action|0| +
-^ bat_cap_v2_prot_type|0| +
-^ g_config.bat_config.level2_smart_battert_land|0|+
 ==== 8. Set path ==== ==== 8. Set path ====
   * Goto a command prompt and type   * Goto a command prompt and type
Line 172: Line 178:
  
  
-   sh FC_patch_sequence_for_dummy_verify.sh Mavic 03.02.44.08+   FC_patch_sequence_for_dummy_verify.sh Mavic 03.02.44.08
  
  
howto/fc_patcher_tool.txt · Last modified: 2020/01/25 23:09 by digdat0