From ebc183c237635e4e69c6d3a27d2103f83dd1bac1 Mon Sep 17 00:00:00 2001 From: Tan Pin Da Date: Wed, 19 Aug 2020 08:56:22 +0800 Subject: [PATCH] fixed scout demo bug, removed redecleration of fields in scout_base the hide mobile_base fields --- include/wrp_sdk/platforms/scout/scout_base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wrp_sdk/platforms/scout/scout_base.hpp b/include/wrp_sdk/platforms/scout/scout_base.hpp index 65146a8..6ac6a4e 100644 --- a/include/wrp_sdk/platforms/scout/scout_base.hpp +++ b/include/wrp_sdk/platforms/scout/scout_base.hpp @@ -57,8 +57,8 @@ class ScoutBase : public MobileBase { ScoutMotionCmd current_motion_cmd_; ScoutLightCmd current_light_cmd_; - int32_t cmd_thread_period_ms_ = 10; - bool cmd_thread_started_ = false; + + bool light_ctrl_enabled_ = false; bool light_ctrl_requested_ = false;