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); }