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;