Skip to content

Commit e46e2fc

Browse files
authored
fix(tier4_camera_view_rviz_plugin): fix clang-diagnostic-unused-const-variable (#9438)
Signed-off-by: veqcc <ryuta.kambe@tier4.jp>
1 parent f3e76a8 commit e46e2fc

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

common/tier4_camera_view_rviz_plugin/src/bird_eye_view_controller.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ static const Ogre::Quaternion ROBOT_TO_CAMERA_ROTATION =
6262
Ogre::Quaternion(Ogre::Radian(-Ogre::Math::HALF_PI), Ogre::Vector3::UNIT_Y) *
6363
Ogre::Quaternion(Ogre::Radian(-Ogre::Math::HALF_PI), Ogre::Vector3::UNIT_Z);
6464

65-
static const float PITCH_LIMIT_LOW = -Ogre::Math::HALF_PI + 0.001;
66-
static const float PITCH_LIMIT_HIGH = Ogre::Math::HALF_PI - 0.001;
67-
6865
BirdEyeViewController::BirdEyeViewController() : dragging_(false)
6966
{
7067
scale_property_ = new rviz_common::properties::FloatProperty(

common/tier4_camera_view_rviz_plugin/src/third_person_view_controller.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ static const float PITCH_START = Ogre::Math::HALF_PI / 3;
6868
static const float YAW_START = Ogre::Math::PI;
6969
static const float DISTANCE_START = 30;
7070
static const float FOCAL_SHAPE_SIZE_START = 0.05;
71-
static const bool FOCAL_SHAPE_FIXED_SIZE = true;
7271
static const char * TARGET_FRAME_START = "base_link";
7372

7473
// move camera up so the focal point appears in the lower image half

0 commit comments

Comments
 (0)