From 2f9370d18ce069ae40cb22f3c0a07feb537c307b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Wed, 23 Nov 2022 15:32:37 +0100 Subject: [PATCH] Removed unused attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- src/gui/plugins/view_angle/ViewAngle.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/gui/plugins/view_angle/ViewAngle.cc b/src/gui/plugins/view_angle/ViewAngle.cc index 0e438aead3..772c8678bd 100644 --- a/src/gui/plugins/view_angle/ViewAngle.cc +++ b/src/gui/plugins/view_angle/ViewAngle.cc @@ -56,15 +56,9 @@ namespace gz::sim /// \brief Mutex to protect angle mode public: std::mutex mutex; - /// \brief View Angle service name - public: std::string viewAngleService; - /// \brief View Control service name public: std::string viewControlService; - /// \brief Move gui camera to pose service name - public: std::string moveToPoseService; - /// \brief gui camera pose public: math::Pose3d camPose; @@ -124,9 +118,6 @@ void ViewAngle::LoadConfig(const tinyxml2::XMLElement *) if (this->title.empty()) this->title = "View Angle"; - // For view angle requests - this->dataPtr->viewAngleService = "/gui/view_angle"; - // view control requests this->dataPtr->viewControlService = "/gui/camera/view_control"; @@ -135,9 +126,6 @@ void ViewAngle::LoadConfig(const tinyxml2::XMLElement *) this->dataPtr->node.Subscribe( topic, &ViewAngle::CamPoseCb, this); - // Move to pose service - this->dataPtr->moveToPoseService = "/gui/move_to/pose"; - gz::gui::App()->findChild< gz::gui::MainWindow *>()->installEventFilter(this); }