Firmware mod help from P3 folks - Vert speed up/down limited?

Joined
May 6, 2016
Messages
7
Reaction score
0
Age
53
Hello folks,

I have an Inspire 1 that I have modded the same way you would on a P3. I'm posting here because there is a much larger knowledge on the P3 side than on the I1 on these matters.

I have modded the I1 to enable larger vertical speed as below (hoping to get 8m/sec up and down from the 5m/sec up and 4m/sec down defaults).

The result is indeed an increase but it is capped at 6m/sec exactly for both directions (both in Atti and GPS modes)

The question is: Are you aware of any other place where an absolute max value might be hidden?

Thanks!!

V.

{
"index" : 323,
"typeID" : 5,
"size" : 2,
"attribute" : 11,
"minValue" : 8 ,
"maxValue" : 10,
"defaultValue" : 8,
"name" : "g_config.control.vert_up_vel_0",
"modify" : true
},
{
"index" : 324,
"typeID" : 5,
"size" : 2,
"attribute" : 11,
"minValue" : 8,
"maxValue" : 10,
"defaultValue" : 8,
"name" : "g_config.control.vert_down_vel_0",
"modify" : true
},
 
I can't answer your question, but I can ask another: how will you avoid ring vortexes from crashing your Inspire if you descend at 8 m/sec?
 
I can't answer your question, but I can ask another: how will you avoid ring vortexes from crashing your Inspire if you descend at 8 m/sec?

That's my problem... do you have evidence that at 8m/sec would be a problem? At 6m/sec goes down with no issues at all... even the x5 with 45mm on is rock solid so I'll take my chances if I find a way to enable it.
 
I've seen all these below modified to achieve greater speeds. Not sure which are really needed.

Modify 'default' value (if you want to apply settings by resetting to defaults),
or use service tool to change 'actual' values of these, after min/max have been extended.

By min/max extended I mean - min/max values mus be modified so that the new 'actual'/default value is within the allowed range.

Code:
diff a/flyc_param_infos b/flyc_param_infos
--- a/flyc_param_infos    Sat Jun  3 16:13:21 2017
+++ b/flyc_param_infos    Sat Jun  3 16:08:43 2017
@@ -2262,2 +2262,2 @@
-        "defaultValue" : 1,
+        "defaultValue" : 2,
         "name" : "g_config.advanced_function.height_limit_enabled_0",
@@ -2601,2 +2601,2 @@
-        "defaultValue" : 120,
+        "defaultValue" : 5000,
         "name" : "g_config.flying_limit.max_height_0",
@@ -3394,2 +3394,2 @@
-        "defaultValue" : 23,
+        "defaultValue" : 55,
         "name" : "g_config.control.horiz_vel_atti_range_0",
@@ -3405,2 +3405,2 @@
-        "defaultValue" : 50,
+        "defaultValue" : 58,
         "name" : "g_config.control.horiz_emergency_brake_tilt_max_0",
@@ -3414,2 +3414,2 @@
-        "defaultValue" : 30,
+        "defaultValue" : 9000,
         "name" : "g_config.control.atti_limit_0",
@@ -3427,2 +3427,2 @@
-        "defaultValue" : 30,
+        "defaultValue" : 55,
         "name" : "g_config.control.atti_range_0",
@@ -3437,2 +3437,2 @@
-        "defaultValue" : 15,
+        "defaultValue" : 3000,
         "name" : "g_config.control.avoid_atti_range_0",
@@ -3491,2 +3491,2 @@
-        "defaultValue" : 5,
+        "defaultValue" : 20,
         "name" : "g_config.control.vert_up_vel_0",
@@ -3504,2 +3504,2 @@
-        "defaultValue" : 3,
+        "defaultValue" : 10,
         "name" : "g_config.control.vert_down_vel_0",
@@ -3712,2 +3712,2 @@
-        "defaultValue" : 3,
+        "defaultValue" : 10,
         "name" : "g_config.control.vert_vel_down_bat_limit_0",
@@ -4219,2 +4219,2 @@
-        "defaultValue" : 1,
+        "defaultValue" : 0,
         "name" : "g_config.serial_api_cfg.advance_function_enable_0",
@@ -4296,2 +4296,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 1,
         "name" : "g_config.api_entry_cfg.value_sign_0",
@@ -4340,2 +4340,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 1,
         "name" : "g_config.api_entry_cfg.enable_api_0",
@@ -4351,2 +4351,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 1,
         "name" : "g_config.api_entry_cfg.enable_time_stamp_0",
@@ -4362,2 +4362,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.acc_data_type_0",
@@ -4373,2 +4373,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.gyro_data_type_0",
@@ -4384,2 +4384,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.alti_data_type_0",
@@ -4395,2 +4395,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.height_data_type_0",
@@ -4406,2 +4406,2 @@
-        "defaultValue" : 4,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[0]_0",
@@ -4417,2 +4417,2 @@
-        "defaultValue" : 4,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[1]_0",
@@ -4428,2 +4428,2 @@
-        "defaultValue" : 4,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[2]_0",
@@ -4439,2 +4439,2 @@
-        "defaultValue" : 4,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[3]_0",
@@ -4450,2 +4450,2 @@
-        "defaultValue" : 4,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[4]_0",
@@ -4461,2 +4461,2 @@
-        "defaultValue" : 4,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[5]_0",
@@ -4472,2 +4472,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[6]_0",
@@ -4483,2 +4483,2 @@
-        "defaultValue" : 3,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[7]_0",
@@ -4494,2 +4494,2 @@
-        "defaultValue" : 3,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[8]_0",
@@ -4505,2 +4505,2 @@
-        "defaultValue" : 2,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[9]_0",
@@ -4516,2 +4516,2 @@
-        "defaultValue" : 1,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[10]_0",
@@ -4527,2 +4527,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[11]_0",
@@ -4538,2 +4538,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[12]_0",
@@ -4549,2 +4549,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[13]_0",
@@ -4560,2 +4560,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[14]_0",
@@ -4571,2 +4571,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 5,
         "name" : "g_config.api_entry_cfg.std_msg_frq[15]_0",
@@ -4582,2 +4582,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 10,
         "name" : "g_config.api_entry_cfg.authority_level_0",
@@ -4604,2 +4604,2 @@
-        "defaultValue" : 65540,
+        "defaultValue" : 0,
         "name" : "g_config.api_entry_cfg.api_authority_group[0]_0",
@@ -4647,2 +4647,2 @@
-        "defaultValue" : 50000,
+        "defaultValue" : 1,
         "name" : "g_config.airport_limit_cfg.cfg_search_radius_0",
@@ -4659,2 +4659,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 255,
         "name" : "g_config.airport_limit_cfg.cfg_disable_airport_fly_limit_0",
@@ -4670,2 +4670,2 @@
-        "defaultValue" : 0,
+        "defaultValue" : 255,
         "name" : "g_config.airport_limit_cfg.cfg_debug_airport_enable_0",
@@ -4681,2 +4681,2 @@
-        "defaultValue" : 20150910,
+        "defaultValue" : 20200910,
         "name" : "g_config.airport_limit_cfg.cfg_limit_data_0",
@@ -4900,2 +4900,2 @@
-        "defaultValue" : -1.000000,
+        "defaultValue" : -2.000000,
         "name" : "g_config.misc_cfg.auto_landing_vel_L1_0",
@@ -4911,2 +4911,2 @@
-        "defaultValue" : -3.000000,
+        "defaultValue" : -8.000000,
         "name" : "g_config.misc_cfg.auto_landing_vel_L2_0",
@@ -5273,2 +5273,2 @@
-        "defaultValue" : 10.000000,
+        "defaultValue" : 30.000000,
         "name" : "g_config.followme_cfg.horiz_vel_limit_0",
@@ -5504,2 +5504,2 @@
-        "defaultValue" : 15.000000,
+        "defaultValue" : 30.000000,
         "name" : "g_config.waypoint_cfg.max_horiz_vel_0",
@@ -5689,2 +5689,2 @@
-        "defaultValue" : 20.000000,
+        "defaultValue" : 50.000000,
         "name" : "g_config.fdi.gps_max_horizontal_vel_mod_0"

The list comes from a binary someone published on github long ago. I extracted all changes from it and compared them to default values - and that is the result.

It is also possible to change parameters used when the drone flies automatically - ie. during RTH. But that requires changing values extracted by a different tool:

Code:
og_hardcoded.flyc.min_alt_below_home
og_hardcoded.flyc.max_alt_above_home
og_hardcoded.flyc.max_wp_dist_to_home
og_hardcoded.flyc.max_speed_pos
og_hardcoded.flyc.max_speed_neg
 
I've seen all these below modified to achieve greater speeds. Not sure which are really needed.

Modify 'default' value (if you want to apply settings by resetting to defaults),
or use service tool to change 'actual' values of these, after min/max have been extended.

By min/max extended I mean - min/max values mus be modified so that the new 'actual'/default value is within the allowed range.

[/code]

Thanks quaddamage, I think I have made the changes you list here, but still with a default and max value of 8m/sec I can only get 6.00m/sec. It appears to be a hard limit somewhere else. That limit can very well be different on a P3 so probably nobody has hit it yet?

Cheers,

V.
 

Members online

Forum statistics

Threads
143,096
Messages
1,467,625
Members
104,982
Latest member
AnndyManuka