Skip to content

Commit

Permalink
eliminate some ogre deprecation warnings, make eigen and ogre warning…
Browse files Browse the repository at this point in the history
…s in fuse_viz not errors for now
  • Loading branch information
lucasw committed May 7, 2022
1 parent 9c34949 commit 507c929
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion fuse_viz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ add_definitions(-DQT_NO_KEYWORDS)
###########
## Build ##
###########
add_compile_options(-Wall -Werror)
# add_compile_options(-Wall -Werror)
add_compile_options(-Wall)

catkin_package(
INCLUDE_DIRS include
Expand Down
2 changes: 1 addition & 1 deletion fuse_viz/include/fuse_viz/conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#include <OgreColourValue.h>
#include <OgreQuaternion.h>
#include <OgreVector3.h>
#include <Ogre.h>

#include <boost/array.hpp>

Expand Down
2 changes: 1 addition & 1 deletion fuse_viz/include/fuse_viz/mapped_covariance_visual.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <Eigen/Dense>

#include <OgreColourValue.h>
#include <OgreVector3.h>
#include <Ogre.h>

namespace Ogre
{
Expand Down
2 changes: 1 addition & 1 deletion fuse_viz/include/fuse_viz/pose_2d_stamped_visual.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

#include <tf2/LinearMath/Transform.h>

#include <OgreVector3.h>
#include <Ogre.h>

#include <memory>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <rviz/ogre_helpers/object.h>

#include <OgreColourValue.h>
#include <OgreVector3.h>
#include <Ogre.h>

#include <memory>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ Ogre::ColourValue RelativePose2DStampedConstraintVisual::computeLossErrorLineCol
// Get the error line color as HSB:
Ogre::ColourValue error_line_color(color.r, color.g, color.b);
Ogre::Real hue, saturation, brightness;
error_line_color.getHSB(&hue, &saturation, &brightness);
error_line_color.getHSB(hue, saturation, brightness);

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

0 comments on commit 507c929

Please sign in to comment.