Skip to content

Commit

Permalink
Removed unused attributes (#1809)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
  • Loading branch information
ahcorde committed Nov 23, 2022
1 parent e5c3ee9 commit bb85aa2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/gui/plugins/view_angle/ViewAngle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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";

Expand All @@ -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);
}
Expand Down

0 comments on commit bb85aa2

Please sign in to comment.