diff --git a/fuse_viz/CMakeLists.txt b/fuse_viz/CMakeLists.txt index bde535755..eff554221 100644 --- a/fuse_viz/CMakeLists.txt +++ b/fuse_viz/CMakeLists.txt @@ -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 diff --git a/fuse_viz/src/relative_pose_2d_stamped_constraint_visual.cpp b/fuse_viz/src/relative_pose_2d_stamped_constraint_visual.cpp index 36f7ce404..b85cfad1c 100644 --- a/fuse_viz/src/relative_pose_2d_stamped_constraint_visual.cpp +++ b/fuse_viz/src/relative_pose_2d_stamped_constraint_visual.cpp @@ -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.