User Tools

Site Tools


howto:parameterhacks

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:parameterhacks [2017/10/06 14:37]
lubin ToDo unchecked: Create tutorial on the use of web socket interface
howto:parameterhacks [2018/04/18 20:13]
tommyknocker [Contribute]
Line 6: Line 6:
   - Download and install DJI Assistant 2   - Download and install DJI Assistant 2
   - edit main.js   - edit main.js
-    * MAC users can find it in /Applications/Assistant.app/AppFiles +    * OSX /Applications/Assistant.app/AppFiles 
-    * Windows users can find it in C:\Program Files (x86)\DJI Product\DJI Assistant 2\AppFiles+    * Windows C:\Program Files (x86)\DJI Product\DJI Assistant 2\AppFiles
     * Windows users - open it with wordpad or notepad++ (not normal notepad)     * Windows users - open it with wordpad or notepad++ (not normal notepad)
   - Search for "openDevTools" (Ctrl F or Cmd-f)   - Search for "openDevTools" (Ctrl F or Cmd-f)
Line 21: Line 21:
 ===== Remote- Mode Switch ===== ===== Remote- Mode Switch =====
 ^Parameter-Key         ^Description                                   ^Factory Value   ^Notes                           ^ ^Parameter-Key         ^Description                                   ^Factory Value   ^Notes                           ^
-|%%g_config_control_control_mode[1]%%|"Switched"|8  |0 = MANUAL (no auto atti control?)|+|%%g_config_control_control_mode[1]%%|"Switched"|8  |0 = Manual Mode (GPS position and Altitude Stabilization are disabled)|
 | :::                                | :::      |:::|1 = GPS - no noticed difference| | :::                                | :::      |:::|1 = GPS - no noticed difference|
 | :::                                | :::      |:::|2 = GPS - no noticed difference| | :::                                | :::      |:::|2 = GPS - no noticed difference|
-| :::                                | :::      |:::|3 = atti|+| :::                                | :::      |:::|3 = ATTI Mode (Altitude Stabilization)|
 | :::                                | :::      |:::|4 = GPS mode indicated, sport mode speed for some reason| | :::                                | :::      |:::|4 = GPS mode indicated, sport mode speed for some reason|
 | :::                                | :::      |:::|5 = GPS - no noticed difference| | :::                                | :::      |:::|5 = GPS - no noticed difference|
 | :::                                | :::      |:::|6 = Beginner| | :::                                | :::      |:::|6 = Beginner|
-| :::                                | :::      |:::|7 = GPS (Normal)| +| :::                                | :::      |:::|7 = PGPS Mode (Normal)| 
-| :::                                | :::      |:::|8 = Sport| +| :::                                | :::      |:::|8 = Sport Mode
-| :::                                | :::      |:::|9 = FARM Mode (display says ATTI, but it has positioning)|+| :::                                | :::      |:::|9 = FARM Mode (Altitude stabilization with RTH capability)|
 | :::                                | :::      |:::|10 = GPS - no noticed difference| | :::                                | :::      |:::|10 = GPS - no noticed difference|
 | :::                                | :::      |:::|11 = GPS - no noticed difference| | :::                                | :::      |:::|11 = GPS - no noticed difference|
Line 61: Line 61:
 ===== Max altitude ===== ===== Max altitude =====
  
-Increase'altitude+Increases altitude
  
 ^Parameter-Key         ^Description                                   ^Value   ^ ^Parameter-Key         ^Description                                   ^Value   ^
-|%%g_config_flying_limit_height_limit_enabled%%|todo|2| +|%%g_config_flying_limit_height_limit_enabled%%|Enabled? Y/N|2| 
-|%%g_config_flying_limit_limit_height_abs_without_gps%%|todo|3000| +|%%g_config_flying_limit_limit_height_abs_without_gps%%|Maximum local limit with no GPS signal.|3000| 
-|%%g_config_flying_limit_limit_height_abs%%|todo|3000| +|%%g_config_flying_limit_limit_height_abs%%|Maximum local limit. |3000| 
-|%%g_config_flying_limit_limit_height_rel%%|todo|3000|+|%%g_config_flying_limit_limit_height_rel%%|Maximum limit relative to takeoff?|3000| 
  
-**__context needed, not confirmed__**: Max altitude does not support DJI P4 Pro 
 ===== Wind Notices ===== ===== Wind Notices =====
  
Line 87: Line 87:
 |%%g_config_avoid_obstacle_limit_cfg_safe_dis%%|3| |%%g_config_avoid_obstacle_limit_cfg_safe_dis%%|3|
  
-===== Advanced Pilot'Mods =====+===== Advanced Pilots' Mods =====
  
 Seriously. Don't use these unless you know exactly what these are and what you are doing. You __//**will**//__ break your drone. 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   ^ ^Parameter-Key         ^Description                                   ^Value   ^
-|%%g_config_fdi_open_fdi_open%%|Deactivate'the magnetic interference warning|0| +|%%g_config_fdi_open_fdi_open%%|Deactivates the magnetic interference warning|0| 
-|%%g_config_gps_cfg_gps_enable%%|Deactivate'the GPS|0|+|%%g_config_gps_cfg_gps_enable%%|Deactivates the GPS|0|
 |%%brake_sensitive_gain%%|changes how fast the drone brakes, default 130|~((**__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))| |%%brake_sensitive_gain%%|changes how fast the drone brakes, default 130|~((**__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))|
  
  
-===== Contribute ===== +===== WebSocket ===== 
-<todo>Create tutorial on the use of web socket interface</todo>+NFZ avalable on the below versions only, all other options are avalable on all versions 
 +? Spark : 1.00.0300 
 +? Mavic Pro : 1.03.0700, 1.03.0400 
 +? Phantom 4 Pro/Adv : 1.03.0509 
 +? Inspire 2 : 1.00.0330 
 + 
 +to unlock all limits in any DJI drone (SPARK, Mavic, P4p, Inspire 2) you just need to do the following 
 + 
 +  -  connect your drone to DJI assistant (no need to login) 
 + 
 +otherwise you can try  
 +  -  install simple WebSocket client from google chrome apps 
 + 
 +from simple WebSocket client on Chrome connect to  
 +* ws://localhost:19870/general to get your drone param path like: ws://localhost:19870/controller/config/user/YOUR DRONE HASH NUMBER HERE 
 +disconnect from general and connect to : 
 +* ws://localhost:19870/controller/config/user/YOUR DRONE HASH NUMBER HERE 
 + 
 +in the command write & execute the below commands one by one: 
 + 
 + 
 +---- 
 + 
 + 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_airport_limit_cfg_cfg_disable_airport_fly_limit","VALUE":1} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_airport_limit_cfg_cfg_limit_data","VALUE":20250910} 
 + 
 +---- 
 + 
 + 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_flying_limit_limit_height_abs_without_gps","VALUE":2500} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_flying_limit_limit_height_abs","VALUE":2500} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_flying_limit_limit_height_rel","VALUE":2500} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_flying_limit_height_limit_enabled","VALUE":2} 
 +** 
 + 
 +---- 
 + 
 + 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_mode_sport_cfg_tilt_atti_range","VALUE":60} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_mode_sport_cfg_vert_vel_up","VALUE":10} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_mode_sport_cfg_vert_acc_up","VALUE":10} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_mode_sport_cfg_vert_vel_down","VALUE":-10} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_mode_sport_cfg_vert_acc_down","VALUE":-10} 
 +{"SEQ":"123456","CMD":"write","INDEX":"g_config_fw_cfg_max_speed","VALUE":20} 
 + 
 + 
howto/parameterhacks.txt · Last modified: 2021/06/19 19:41 by kevinxa