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
howto:parameterhacks [2017/11/27 05:12]
hmunster [Max altitude]
howto:parameterhacks [2021/06/19 19:41] (current)
kevinxa [Sport+]
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 (GPS position and Altitude Stabilization are disabled)|+|%%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 = Altitude Stabilization|+| :::                                | :::      |:::|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 (Altitude stabilization with RTH capability)| | :::                                | :::      |:::|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|
 +| :::                                | :::      |:::|12 = Tripod mode|
 |%%g_config_control_control_mode[2]%%|"Normal"|7|Same notes as above| |%%g_config_control_control_mode[2]%%|"Normal"|7|Same notes as above|
 +|%%g_config_control_control_mode[0]%%|"Tripod"|12|Same notes as above. Third position on some RCs like Mavic|
 ===== Sport+ ===== ===== Sport+ =====
  
Line 40: Line 42:
  
 ^Parameter-Key         ^Description                                   ^Value   ^ ^Parameter-Key         ^Description                                   ^Value   ^
-|%%g_config_mode_sport_cfg_tilt_atti_range%%|Maximum tilt(tilt=speed)|40|+|%%g_config_mode_sport_cfg_tilt_atti_range%%|Maximum tilt(tilt=speed)|45|
 |%%g_config_mode_sport_cfg_vert_vel_up%%|Max speed you gain altitude|8| |%%g_config_mode_sport_cfg_vert_vel_up%%|Max speed you gain altitude|8|
 |%%g_config_mode_sport_cfg_vert_vel_down%%|Max speed you lose altitude|-10| |%%g_config_mode_sport_cfg_vert_vel_down%%|Max speed you lose altitude|-10|
Line 64: Line 66:
  
 ^Parameter-Key         ^Description                                   ^Value   ^ ^Parameter-Key         ^Description                                   ^Value   ^
-|%%g_config_flying_limit_height_limit_enabled%%|Enabled? Y/N|2|+|%%g_config_flying_limit_height_limit_enabled%%|Enabled? Y=1/N=2 Not visible in Assistant on recent FWs|2|
 |%%g_config_flying_limit_limit_height_abs_without_gps%%|Maximum local limit with no GPS signal.|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%%|Maximum local limit. |3000| |%%g_config_flying_limit_limit_height_abs%%|Maximum local limit. |3000|
-|%%g_config_flying_limit_limit_height_rel%%|Maximum limit without barometer.|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 
-, I just tested with DJI P4P and working! 
 ===== Wind Notices ===== ===== Wind Notices =====
  
Line 96: Line 97:
 |%%g_config_gps_cfg_gps_enable%%|Deactivates 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))|
 +
 +==== Manual mode (allows flips and barrel rolls) ====
 +
 +Change your "Sport" mode -switch to unassisted "Manual" mode. Fly only on open-area you are confident to train on. Idle is +50% and the drone will climb if you don't respond with throttle down. This is essentially a RC-helicopter mode which traditionally have no FC/IMU and is solely defendant on pilot skill. 
 +When switching back to "Normal" mode, make sure that the drone is right way up and is not tipped over it's horizontal or vertical axis. Failing to abide this will calibrate your IMU with the drone wrong way up and it will not automatically flip over. This is a sure way to damage your drone as it will fly towards the ground. can be seen here. [[https://www.youtube.com/watch?v=vioiVWP47dA|Inspire Inverted Crash]]
 +
 +^Parameter-Key         ^Description                                   ^Value   ^Notes                           ^
 +|%%g_config_control_control_mode[1]%%|"Switched"|0  |0 = Manual Mode (GPS position and Altitude Stabilization are disabled)|
 +|%%g_config_control_control_mode[2]%%|"Normal"|7|7 = PGPS Mode (Normal)|
 +
  
  
-===== Contribute ===== 
-<todo>Create tutorial on the use of web socket interface</todo> 
howto/parameterhacks.1511759571.txt.gz · Last modified: 2017/11/27 05:12 by hmunster