initialize ECL_L1 variables

This commit is contained in:
Daniel Agar 2016-03-01 20:01:41 -05:00 committed by Roman Bapst
parent b2744f965d
commit 2108466a00

View File

@ -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))
{
}
/**