diff --git a/rtc/RemoveForceSensorLinkOffset/RemoveForceSensorLinkOffset.cpp b/rtc/RemoveForceSensorLinkOffset/RemoveForceSensorLinkOffset.cpp index 2675d2d764a..c3dd8d84ae9 100644 --- a/rtc/RemoveForceSensorLinkOffset/RemoveForceSensorLinkOffset.cpp +++ b/rtc/RemoveForceSensorLinkOffset/RemoveForceSensorLinkOffset.cpp @@ -115,6 +115,11 @@ RTC::ReturnCode_t RemoveForceSensorLinkOffset::onInitialize() m_forcemoment_offset_param.insert(std::pair(s->name, ForceMomentOffsetParam())); } max_sensor_offset_calib_counter = static_cast(8.0/m_dt); // 8.0[s] by default + + if (prop["forcemoment_offset_params"] != "") { + loadForceMomentOffsetParams(prop["forcemoment_offset_params"]); + } + return RTC::RTC_OK; }