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
Last revision Both sides next revision
howto:fc_patcher_tool [2019/03/30 05:51]
d95gas [Toolset]
howto:fc_patcher_tool [2019/08/09 19:14]
digdat0 [7. Modify flight controller parameters]
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/]]+  - 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 139: Line 139:
 ^ g_config.airport_limit_cfg.cfg_disable_airport_fly_limit|1|| ^ g_config.airport_limit_cfg.cfg_disable_airport_fly_limit|1||
 ^ g_config.airport_limit_cfg.cfg_limit_data|20250910|| ^ g_config.airport_limit_cfg.cfg_limit_data|20250910||
-^ g_config.flying_limit.driver_license_limit_enable |0|| +^ g_config.flying_limit.driver_license_limit_enable |2|| 
-^ g_config.flying_limit.viechle_license_limit_enable|0||+^ g_config.flying_limit.viechle_license_limit_enable|2||
 ^ g_config.flying_limit.height_limit_enabled|2|| ^ g_config.flying_limit.height_limit_enabled|2||
 ^ g_config.airport_limit_cfg.cfg_search_radius|1|| ^ 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_AIRPORT]|1|| 
-^ g_config.airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_SPECIAL]|0|| +^ g_config.airport_limit_cfg.cfg_enable[FLY_LIMIT_TYPE_SPECIAL]|1|| 
-g_config.flying_limit.limit_height_rel|10000|| +fly_limit_height|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.tilt_atti_range|33||
 ^ g_config.mode_normal_cfg.vert_vel_up|7|| ^ g_config.mode_normal_cfg.vert_vel_up|7||
Line 165: Line 163:
 ^ g_config.bat_config.level2_smart_battert_land|0|| ^ g_config.bat_config.level2_smart_battert_land|0||
  
-Note: This is a draft list as of 28-Mar-19+Note: This is a draft list as of 9-Aug-19 
 + 
 + 
 + - I dont believe "g_config.flying_limit.height_limit_enabled" works in FC Patcher. Instead, modify FLY_LIMIT_HEIGHT 
 + 
 + 
 + - This needs to be broken out NFZ, height, speed, battery #TODO 
 + 
 + 
 + - need to include Bret883's other parameters in this 
 + 
 + 
 + - lets create a seperate wiki page for FC Patcher params #TODO 
 + 
 ==== 8. Set path ==== ==== 8. Set path ====
   * Goto a command prompt and type   * Goto a command prompt and type
Line 199: Line 211:
    chown root:root dummy_verify.sh    chown root:root dummy_verify.sh
    chmod 755 dummy_verify.sh    chmod 755 dummy_verify.sh
-   cp /system/bin/dji_verify /vendor/bin/original_dji_verify_copy+   cp /sbin/dji_verify /vendor/bin/original_dji_verify_copy
    sync    sync
    cd /    cd /
    mount -o remount,ro /vendor    mount -o remount,ro /vendor
 +
 +Turn off the aircraft.
 +
 ==== 10. Flash the .bin file you made earlier ==== ==== 10. Flash the .bin file you made earlier ====
 +  * Power the aircraft back on
   * Open a command prompt and type   * Open a command prompt and type
  
  
    adb shell    adb shell
-   mount -o bind /vendor/bin/dummy_verify.sh /system/bin/dji_verify+   mount -o bind /vendor/bin/dummy_verify.sh /sbin/dji_verify
  
  
howto/fc_patcher_tool.txt · Last modified: 2020/01/25 23:09 by digdat0