User Tools

Site Tools

Translations of this page:

howto:parameterhacks

This is an old revision of the document!


DJI Assistant Factory Parameter Hacks

This page will talk about how to enter parameter mode in DJI assistant, to allow you to change settings in your aircraft.

WARNING: These changes are not endorsed by the manufacturer. If you decide to make these changes, you should flight test in wide open areas to understand how your aircraft performs. Manufacturer warranty may be void if you implement these changes.

Step by step - using DJI Assistant Factory Mode

  1. Download and install DJI Assistant 2
  2. edit main.js
    • MAC users can find it in /Applications/Assistant.app/AppFiles
    • Windows users can find it in C:\Program Files (x86)\DJI Product\DJI Assistant 2\AppFiles
    • Windows users - open it with wordpad or notepad++ (not normal notepad)
  3. Search for “openDevTools” (Ctrl F or Cmd-f)
  4. Remove the // at the start of that line
  5. Save.
  6. Open DJI assistant 2. You will see a debug window on the right
  7. Change “debug” from 0 to 1
  8. Connect your drone to your PC via USB
  9. Click your drone in dji assistant
  10. Scroll down to paramaters
  11. Edit paramaters and you are done.

Remote- Mode Switch

Parameter-Key Description Factory Value Notes
g_config_control_control_mode[1]“Switched”8 0 = MANUAL (no auto atti control?)
1 = GPS - no noticed difference
2 = GPS - no noticed difference
3 = atti
4 = GPS mode indicated, sport mode speed for some reason
5 = GPS - no noticed difference
6 = Beginner
7 = GPS (Normal)
8 = Sport
9 = FARM Mode (display says ATTI, but it has positioning)
10 = GPS - no noticed difference
11 = GPS - no noticed difference
g_config_control_control_mode[2]“Normal”7Same notes as above

Sport+

Increases Sport mode performance

Parameter-Key Description Value
g_config_mode_sport_cfg_tilt_atti_rangeMaximum tilt(tilt=speed)40
g_config_mode_sport_cfg_vert_vel_upMax speed you gain altitude8
g_config_mode_sport_cfg_vert_vel_downMax speed you lose altitude-10
g_config_mode_sport_cfg_vert_acc_upMax speed you accelerate in gaining altitude8
g_config_mode_sport_cfg_vert_acc_downMax speed you accelerate in losing altitude-10

GPS+

Increases GPS mode performance

Parameter-Key Description Value
g_config_mode_normal_cfg_tilt_atti_rangeMaximum tilt(tilt=speed)33
g_config_mode_normal_cfg_vert_vel_upMax speed you gain altitude7
g_config_mode_normal_cfg_vert_vel_downMax speed you lose altitude-6
g_config_mode_normal_cfg_vert_acc_upMax speed you accelerate in gaining altitude7
g_config_mode_normal_cfg_vert_acc_downMax speed you accelerate in losing altitude-6

Max altitude

Increase's altitude

Parameter-Key Description Value
g_config_flying_limit_height_limit_enabledtodo2
g_config_flying_limit_limit_height_abs_without_gpstodo3000
g_config_flying_limit_limit_height_abstodo3000
g_config_flying_limit_limit_height_reltodo3000

context needed, not confirmed: Max altitude does not support DJI P4 Pro , I just tested with DJI P4P and working!

Wind Notices

Removes Wind notice spam in GO App

Parameter-Key Value
g_config_air_est_big_wind_level125
g_config_air_est_big_wind_level225

ObstacleAvoidance+

Increase's range that drone will avoid objects

Parameter-Key Value
g_config_control_avoid_atti_range23
g_config_avoid_obstacle_limit_cfg_safe_dis3

Advanced Pilot's Mods

Seriously. Don't use these unless you know exactly what these are and what you are doing. You will break your drone.

Parameter-Key Description Value
g_config_fdi_open_fdi_openDeactivate's the magnetic interference warning0
g_config_gps_cfg_gps_enableDeactivate's the GPS0
brake_sensitive_gainchanges how fast the drone brakes, default 130~1)

Contribute

Create tutorial on the use of web socket interface

1)
Warning: Do not change brake_sensitive_gain = 130 to 70 like it says on some websites unless you are a very confident pilot, it takes up to 3 metres(9 feet) to stop
howto/parameterhacks.1510847640.txt.gz · Last modified: 2017/11/16 15:54 by niepowiem