Commit 020a86d5 authored by Olivier Stasse's avatar Olivier Stasse

Fix compilation.

parent d50c901a
......@@ -16,6 +16,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 2.8.3)
set(CXX_DISABLE_WERROR True)
include(cmake/base.cmake)
include(cmake/ros.cmake)
include(cmake/GNUInstallDirs.cmake)
......@@ -51,7 +53,6 @@ set(PROJECT_DESCRIPTION "Integration of the Stack of Tasks in roscontrol")
set(PROJECT_NAME roscontrol_sot)
set(PROJECT_URL "https://github.com/stack-of-tasks/roscontrol_sot")
set(CXX_DISABLE_WERROR False)
include_directories(include ${bullet_INCLUDE_DIRS} ${catkin_INCLUDE_DIRS})
......
......@@ -354,7 +354,7 @@ namespace sot_controller
/// Display type of XmlRpcValue
if (verbosity_level_>1)
ROS_INFO("/sot_controller/position_control_init_pos/ %ld: %ld %d %d\n",i,
ROS_INFO("/sot_controller/position_control_init_pos/ %ld: %d %d %d\n",i,
xml_rpc_pci_pose[i].getType(),
XmlRpc::XmlRpcValue::TypeArray,
XmlRpc::XmlRpcValue::TypeStruct);
......@@ -488,7 +488,7 @@ namespace sot_controller
}
else
{
ROS_ERROR(" %s not found in the robot model",joints_name_[i]);
ROS_ERROR(" %s not found in the robot model",joints_name_[i].c_str());
return false;
}
}
......@@ -585,7 +585,7 @@ namespace sot_controller
modelURDF_ = urdf::parseURDF(robot_description_str);
if (verbosity_level_>0)
ROS_INFO("Loaded /robot_description %d",modelURDF_.use_count());
ROS_INFO("Loaded /robot_description %ld",modelURDF_.use_count());
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment