diff --git a/source/RobotAPI/libraries/core/remoterobot/RemoteRobot.cpp b/source/RobotAPI/libraries/core/remoterobot/RemoteRobot.cpp index 99495ecee5a9b0ce1402f6fb182eaa63341f80a4..91f15876447e836e6a7e5f883747ae613765a0e5 100644 --- a/source/RobotAPI/libraries/core/remoterobot/RemoteRobot.cpp +++ b/source/RobotAPI/libraries/core/remoterobot/RemoteRobot.cpp @@ -199,7 +199,7 @@ namespace armarx return this->_robot; } - std::string RemoteRobot::getName() + std::string RemoteRobot::getName() const { return _robot->getName(); } diff --git a/source/RobotAPI/libraries/core/remoterobot/RemoteRobot.h b/source/RobotAPI/libraries/core/remoterobot/RemoteRobot.h index 42970b7e78c7f62fbc7d5ab42ec4a5107a6e6487..b687f0e0fc8cc1eac7b967b10408ec8b63440f56 100644 --- a/source/RobotAPI/libraries/core/remoterobot/RemoteRobot.h +++ b/source/RobotAPI/libraries/core/remoterobot/RemoteRobot.h @@ -168,7 +168,7 @@ namespace armarx /// Use this method to share the robot instance over Ice. SharedRobotInterfacePrx getSharedRobot() const; - std::string getName() override; + std::string getName() const override; /*! Creates a local robot that is synchronized once but not updated any more. You can use the synchronizeLocalClone method to update the joint values.