diff --git a/source/RobotAPI/components/units/RobotUnit/RobotUnit.cpp b/source/RobotAPI/components/units/RobotUnit/RobotUnit.cpp index 82be0d0113e8f36adfe377ddcf49b79a9cf38c06..1abf7cecd98e67e872adf7fc735c36d83fa801ce 100644 --- a/source/RobotAPI/components/units/RobotUnit/RobotUnit.cpp +++ b/source/RobotAPI/components/units/RobotUnit/RobotUnit.cpp @@ -2830,9 +2830,8 @@ namespace armarx } - void armarx::RobotUnit::icePropertiesUpdated(const std::set<std::string>& changedProperties) + void armarx::RobotUnit::componentPropertiesUpdated(const std::set<std::string>& changedProperties) { - if (changedProperties.count("ObserverPublishSensorValues")) { ObserverPublishSensorValues = getProperty<bool>("ObserverPublishSensorValues").getValue(); diff --git a/source/RobotAPI/components/units/RobotUnit/RobotUnit.h b/source/RobotAPI/components/units/RobotUnit/RobotUnit.h index 12069b65cba0520a9c154d2f5773ea44f2771ccc..38ba178628e48b1f584f566661786c6e7b988767 100644 --- a/source/RobotAPI/components/units/RobotUnit/RobotUnit.h +++ b/source/RobotAPI/components/units/RobotUnit/RobotUnit.h @@ -635,7 +635,7 @@ namespace armarx static constexpr std::size_t IndexSentinel(); public: - void icePropertiesUpdated(const std::set<std::string>& changedProperties) override; + void componentPropertiesUpdated(const std::set<std::string>& changedProperties) override; protected: virtual void onInitRobotUnit(); virtual void onConnectRobotUnit(); diff --git a/source/RobotAPI/components/units/RobotUnit/Units/TCPControllerSubUnit.cpp b/source/RobotAPI/components/units/RobotUnit/Units/TCPControllerSubUnit.cpp index b6b0c4bcc356832158afe1a55dd48e62f5f14d84..244ebd5457cf3201e9e3d44136ca67b52620215b 100644 --- a/source/RobotAPI/components/units/RobotUnit/Units/TCPControllerSubUnit.cpp +++ b/source/RobotAPI/components/units/RobotUnit/Units/TCPControllerSubUnit.cpp @@ -185,8 +185,7 @@ bool TCPControllerSubUnit::isRequested(const Ice::Current&) return false; } - -void armarx::TCPControllerSubUnit::icePropertiesUpdated(const std::set<std::string>& changedProperties) +void armarx::TCPControllerSubUnit::componentPropertiesUpdated(const std::set<std::string>& changedProperties) { if (changedProperties.count("AvoidJointLimitsKp") && robotUnit) { diff --git a/source/RobotAPI/components/units/RobotUnit/Units/TCPControllerSubUnit.h b/source/RobotAPI/components/units/RobotUnit/Units/TCPControllerSubUnit.h index 9f591b3d430bc480efa896cd39c473de7c36b79f..b8911b7e5a2b05c85d0591322ffda56e6da454a8 100644 --- a/source/RobotAPI/components/units/RobotUnit/Units/TCPControllerSubUnit.h +++ b/source/RobotAPI/components/units/RobotUnit/Units/TCPControllerSubUnit.h @@ -108,6 +108,6 @@ namespace armarx // PropertyUser interface public: - void icePropertiesUpdated(const std::set<std::string>& changedProperties) override; + void componentPropertiesUpdated(const std::set<std::string>& changedProperties) override; }; }