mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
initialize ECL_L1 variables
This commit is contained in:
parent
b2744f965d
commit
2108466a00
@ -70,9 +70,15 @@
|
||||
class __EXPORT ECL_L1_Pos_Controller
|
||||
{
|
||||
public:
|
||||
ECL_L1_Pos_Controller() {
|
||||
_L1_period = 25;
|
||||
_L1_damping = 0.75f;
|
||||
ECL_L1_Pos_Controller() :
|
||||
_L1_distance(20.0),
|
||||
_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))
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user