mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
Merged beta to master
This commit is contained in:
@@ -11,7 +11,6 @@ sh /etc/init.d/rc.mc_defaults
|
||||
|
||||
if [ $AUTOCNF == yes ]
|
||||
then
|
||||
# TODO review MC_YAWRATE_I
|
||||
param set MC_ROLL_P 6.5
|
||||
param set MC_ROLLRATE_P 0.1
|
||||
param set MC_ROLLRATE_I 0.05
|
||||
|
||||
@@ -16,10 +16,9 @@ class SourceScanner(object):
|
||||
extensions = tuple(parser.GetSupportedExtensions())
|
||||
for dirname, dirnames, filenames in os.walk(srcdir):
|
||||
for filename in filenames:
|
||||
if filename.endswith(extensions):
|
||||
path = os.path.join(dirname, filename)
|
||||
if not self.ScanFile(path, parser):
|
||||
return False
|
||||
path = os.path.join(dirname, filename)
|
||||
if not self.ScanFile(path, parser):
|
||||
return False
|
||||
return True
|
||||
|
||||
def ScanFile(self, path, parser):
|
||||
|
||||
@@ -232,14 +232,16 @@ PARAM_DEFINE_FLOAT(MC_PITCHRATE_MAX, 360.0f);
|
||||
/**
|
||||
* Max yaw rate
|
||||
*
|
||||
* Limit for yaw rate, has effect for large rotations in autonomous mode, to avoid large control output and mixer saturation.
|
||||
* Limit for yaw rate, has effect for large rotations in autonomous mode,
|
||||
* to avoid large control output and mixer saturation. A value of significantly
|
||||
* over 60 degrees per second can already lead to mixer saturation.
|
||||
*
|
||||
* @unit deg/s
|
||||
* @min 0.0
|
||||
* @max 360.0
|
||||
* @group Multicopter Attitude Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MC_YAWRATE_MAX, 120.0f);
|
||||
PARAM_DEFINE_FLOAT(MC_YAWRATE_MAX, 60.0f);
|
||||
|
||||
/**
|
||||
* Max acro roll rate
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
#define PARAM_MP_YAWRATE_I_DEFAULT 0.0f
|
||||
#define PARAM_MP_YAWRATE_D_DEFAULT 0.0f
|
||||
#define PARAM_MP_YAW_FF_DEFAULT 0.5f
|
||||
#define PARAM_MP_YAWRATE_MAX_DEFAULT 120.0f
|
||||
#define PARAM_MP_YAWRATE_MAX_DEFAULT 60.0f
|
||||
#define PARAM_MP_ACRO_R_MAX_DEFAULT 35.0f
|
||||
#define PARAM_MP_ACRO_P_MAX_DEFAULT 35.0f
|
||||
#define PARAM_MP_ACRO_Y_MAX_DEFAULT 120.0f
|
||||
|
||||
Reference in New Issue
Block a user