From 05dd97c2c68a6afa063e01c449bc24f25664e2a4 Mon Sep 17 00:00:00 2001 From: Olivier Stasse <ostasse@laas.fr> Date: Thu, 27 Aug 2020 11:51:44 +0200 Subject: [PATCH] Fix inclusion order for robot-utils.hh Fix minor warnings. --- include/dynamic_graph_bridge/ros_parameter.hh | 2 +- src/ros_parameter.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/dynamic_graph_bridge/ros_parameter.hh b/include/dynamic_graph_bridge/ros_parameter.hh index 2c47ab0..c2e804f 100644 --- a/include/dynamic_graph_bridge/ros_parameter.hh +++ b/include/dynamic_graph_bridge/ros_parameter.hh @@ -5,5 +5,5 @@ namespace dynamicgraph { bool parameter_server_read_robot_description(); -}; +} #endif /* _ROS_DYNAMIC_GRAPH_PARAMETER_ */ diff --git a/src/ros_parameter.cpp b/src/ros_parameter.cpp index 79e260d..98b8765 100644 --- a/src/ros_parameter.cpp +++ b/src/ros_parameter.cpp @@ -1,3 +1,5 @@ +#include <sot/core/robot-utils.hh> + #include "pinocchio/multibody/model.hpp" #include "pinocchio/parsers/urdf.hpp" @@ -7,7 +9,6 @@ #include <urdf_parser/urdf_parser.h> -#include <sot/core/robot-utils.hh> #include <ros/ros.h> #include "dynamic_graph_bridge/ros_parameter.hh" @@ -50,4 +51,4 @@ bool parameter_server_read_robot_description() } -}; +} -- GitLab