mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 02:00:35 +08:00
Fixed land detector param names
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
/**
|
||||
* @file MulticopterLandDetector.cpp
|
||||
* Land detection algorithm
|
||||
* Land detection algorithm for multicopters
|
||||
*
|
||||
* @author Johan Jansen <jnsn.johan@gmail.com>
|
||||
* @author Morten Lysgaard <morten@lysgaard.no>
|
||||
@@ -62,10 +62,10 @@ MulticopterLandDetector::MulticopterLandDetector() : LandDetector(),
|
||||
|
||||
_landTimer(0)
|
||||
{
|
||||
_paramHandle.maxRotation = param_find("LAND_MC_Z_VEL_MAX");
|
||||
_paramHandle.maxVelocity = param_find("LAND_MC_XY_VEL_MAX");
|
||||
_paramHandle.maxClimbRate = param_find("LAND_MC_ROT_MAX");
|
||||
_paramHandle.maxThrottle = param_find("LAND_MC_THR_MAX");
|
||||
_paramHandle.maxRotation = param_find("LNDMC_Z_VEL_MAX");
|
||||
_paramHandle.maxVelocity = param_find("LNDMC_XY_VEL_MAX");
|
||||
_paramHandle.maxClimbRate = param_find("LNDMC_ROT_MAX");
|
||||
_paramHandle.maxThrottle = param_find("LNDMC_THR_MAX");
|
||||
}
|
||||
|
||||
void MulticopterLandDetector::initialize()
|
||||
|
||||
Reference in New Issue
Block a user