Skip to content

Commit

Permalink
fix(tier4_camera_view_rviz_plugin): fix clang-diagnostic-unused-const…
Browse files Browse the repository at this point in the history
…-variable (#9438)

Signed-off-by: veqcc <[email protected]>
  • Loading branch information
veqcc authored Nov 26, 2024
1 parent f3e76a8 commit e46e2fc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ static const Ogre::Quaternion ROBOT_TO_CAMERA_ROTATION =
Ogre::Quaternion(Ogre::Radian(-Ogre::Math::HALF_PI), Ogre::Vector3::UNIT_Y) *
Ogre::Quaternion(Ogre::Radian(-Ogre::Math::HALF_PI), Ogre::Vector3::UNIT_Z);

static const float PITCH_LIMIT_LOW = -Ogre::Math::HALF_PI + 0.001;
static const float PITCH_LIMIT_HIGH = Ogre::Math::HALF_PI - 0.001;

BirdEyeViewController::BirdEyeViewController() : dragging_(false)
{
scale_property_ = new rviz_common::properties::FloatProperty(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ static const float PITCH_START = Ogre::Math::HALF_PI / 3;
static const float YAW_START = Ogre::Math::PI;
static const float DISTANCE_START = 30;
static const float FOCAL_SHAPE_SIZE_START = 0.05;
static const bool FOCAL_SHAPE_FIXED_SIZE = true;
static const char * TARGET_FRAME_START = "base_link";

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

0 comments on commit e46e2fc

Please sign in to comment.