Skip to content

Commit 507c929

Browse files
committed
eliminate some ogre deprecation warnings, make eigen and ogre warnings in fuse_viz not errors for now
1 parent 9c34949 commit 507c929

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

fuse_viz/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ add_definitions(-DQT_NO_KEYWORDS)
3333
###########
3434
## Build ##
3535
###########
36-
add_compile_options(-Wall -Werror)
36+
# add_compile_options(-Wall -Werror)
37+
add_compile_options(-Wall)
3738

3839
catkin_package(
3940
INCLUDE_DIRS include

fuse_viz/include/fuse_viz/conversions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
#include <OgreColourValue.h>
4848
#include <OgreQuaternion.h>
49-
#include <OgreVector3.h>
49+
#include <Ogre.h>
5050

5151
#include <boost/array.hpp>
5252

fuse_viz/include/fuse_viz/mapped_covariance_visual.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#include <Eigen/Dense>
4242

4343
#include <OgreColourValue.h>
44-
#include <OgreVector3.h>
44+
#include <Ogre.h>
4545

4646
namespace Ogre
4747
{

fuse_viz/include/fuse_viz/pose_2d_stamped_visual.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#include <tf2/LinearMath/Transform.h>
4141

42-
#include <OgreVector3.h>
42+
#include <Ogre.h>
4343

4444
#include <memory>
4545

fuse_viz/include/fuse_viz/relative_pose_2d_stamped_constraint_visual.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#include <rviz/ogre_helpers/object.h>
4141

4242
#include <OgreColourValue.h>
43-
#include <OgreVector3.h>
43+
#include <Ogre.h>
4444

4545
#include <memory>
4646
#include <string>

fuse_viz/src/relative_pose_2d_stamped_constraint_visual.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Ogre::ColourValue RelativePose2DStampedConstraintVisual::computeLossErrorLineCol
343343
// Get the error line color as HSB:
344344
Ogre::ColourValue error_line_color(color.r, color.g, color.b);
345345
Ogre::Real hue, saturation, brightness;
346-
error_line_color.getHSB(&hue, &saturation, &brightness);
346+
error_line_color.getHSB(hue, saturation, brightness);
347347

348348
// We should correct the color brightness if it is smaller than minimum brightness. Otherwise, we would get an
349349
// incorrect loss brightness.

0 commit comments

Comments
 (0)