From 8b24d9bd3b58c4fa6f62ecdc703ae42779bda6b4 Mon Sep 17 00:00:00 2001 From: Ryuta Kambe Date: Sat, 22 Jun 2024 14:32:41 +0900 Subject: [PATCH] fix(tier4_camera_view_rviz_plugin): fix funcArgNamesDifferent warnings (#7621) Signed-off-by: Ryuta Kambe --- .../src/bird_eye_view_controller.hpp | 4 ++-- .../src/third_person_view_controller.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/tier4_camera_view_rviz_plugin/src/bird_eye_view_controller.hpp b/common/tier4_camera_view_rviz_plugin/src/bird_eye_view_controller.hpp index 3c0091740bd59..c25787af2f47b 100644 --- a/common/tier4_camera_view_rviz_plugin/src/bird_eye_view_controller.hpp +++ b/common/tier4_camera_view_rviz_plugin/src/bird_eye_view_controller.hpp @@ -72,7 +72,7 @@ class BirdEyeViewController : public rviz_common::FramePositionTrackingViewContr void onInitialize() override; - void handleMouseEvent(rviz_common::ViewportMouseEvent & evt) override; + void handleMouseEvent(rviz_common::ViewportMouseEvent & event) override; void lookAt(const Ogre::Vector3 & point) override; @@ -96,7 +96,7 @@ class BirdEyeViewController : public rviz_common::FramePositionTrackingViewContr void orientCamera(); void setPosition(const Ogre::Vector3 & pos_rel_target); - void move_camera(float x, float y); + void move_camera(float dx, float dy); void updateCamera(); Ogre::SceneNode * getCameraParent(Ogre::Camera * camera); diff --git a/common/tier4_camera_view_rviz_plugin/src/third_person_view_controller.hpp b/common/tier4_camera_view_rviz_plugin/src/third_person_view_controller.hpp index fef036ceccda3..7f2cf6a8d17ee 100644 --- a/common/tier4_camera_view_rviz_plugin/src/third_person_view_controller.hpp +++ b/common/tier4_camera_view_rviz_plugin/src/third_person_view_controller.hpp @@ -68,7 +68,7 @@ class ThirdPersonViewController : public rviz_default_plugins::view_controllers: public: void onInitialize() override; - void handleMouseEvent(rviz_common::ViewportMouseEvent & evt) override; + void handleMouseEvent(rviz_common::ViewportMouseEvent & event) override; void lookAt(const Ogre::Vector3 & point) override;