mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 09:11:36 +08:00
initialize ECL_L1 variables
This commit is contained in:
@@ -70,9 +70,15 @@
|
|||||||
class __EXPORT ECL_L1_Pos_Controller
|
class __EXPORT ECL_L1_Pos_Controller
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ECL_L1_Pos_Controller() {
|
ECL_L1_Pos_Controller() :
|
||||||
_L1_period = 25;
|
_L1_distance(20.0),
|
||||||
_L1_damping = 0.75f;
|
_L1_period(25.0),
|
||||||
|
_L1_damping(0.75),
|
||||||
|
_L1_ratio(5.0),
|
||||||
|
_K_L1(2.0),
|
||||||
|
_heading_omega(1.0),
|
||||||
|
_roll_lim_rad(math::radians(10.0))
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user