From 2108466a006198acf3712f896884f7abcc4e91bf Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 1 Mar 2016 20:01:41 -0500 Subject: [PATCH] initialize ECL_L1 variables --- l1/ecl_l1_pos_controller.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/l1/ecl_l1_pos_controller.h b/l1/ecl_l1_pos_controller.h index 5c0804a392..605fbf2381 100644 --- a/l1/ecl_l1_pos_controller.h +++ b/l1/ecl_l1_pos_controller.h @@ -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)) + { } /**