Skip to content
Snippets Groups Projects
Commit 64854b44 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Removed the dependencies on the iriutils library from the iri_action_server

parent d40130ae
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,7 @@ set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) ...@@ -23,9 +23,7 @@ set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
# edit the following line to add all the header files of the library # edit the following line to add all the header files of the library
# SET(headers ./include/iri_action_server.h) # SET(headers ./include/iri_action_server.h)
FIND_PACKAGE(iriutils REQUIRED) INCLUDE_DIRECTORIES(${headers})
INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR} ${headers})
#common commands for building c++ executables and libraries #common commands for building c++ executables and libraries
# rosbuild_add_library(${PROJECT_NAME} SHARED ${sources}) # rosbuild_add_library(${PROJECT_NAME} SHARED ${sources})
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
#include <actionlib/server/simple_action_server.h> #include <actionlib/server/simple_action_server.h>
#include <actionlib/action_definition.h> #include <actionlib/action_definition.h>
#include "exceptions.h"
/** /**
* \brief IRI ROS Action Server * \brief IRI ROS Action Server
* *
...@@ -475,7 +473,7 @@ void IriActionServer<ActionSpec>::executeCallback(const GoalConstPtr& goal) ...@@ -475,7 +473,7 @@ void IriActionServer<ActionSpec>::executeCallback(const GoalConstPtr& goal)
} }
} }
catch(CException e) catch(std::exception &e)
{ {
std::cout << e.what() << std::endl; std::cout << e.what() << std::endl;
as_.setAborted(Result(), "something went wrong!"); as_.setAborted(Result(), "something went wrong!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment