ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ROSPlan installation/build problem

asked 2016-10-12 13:44:28 -0600

arik gravatar image

updated 2016-10-12 13:48:08 -0600

ahendrix gravatar image


I am trying to install the ROSPlan package, in order to use ROSPlan_interface_quadrotor. I get an eroor to which I havent found a solution.

In file included from /home/viki/ROSPlan/src/rosplan/rosplan_planning_system/include/rosplan_planning_system/EsterelPlanDispatcher.h:13:0,
                 from /home/viki/ROSPlan/src/rosplan/rosplan_planning_system/src/EsterelPlanDispatcher.cpp:1:
/home/viki/ROSPlan/src/rosplan/rosplan_planning_system/include/rosplan_planning_system/CFFPlanParser.h:2:30: fatal error: std_srvs/Trigger.h: No such file or directory
 #include "std_srvs/Trigger.h"
compilation terminated.
make[2]: *** [rosplan/rosplan_planning_system/CMakeFiles/planner.dir/src/PlanningSystem.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [rosplan/rosplan_planning_system/CMakeFiles/planner.dir/src/EsterelPlanDispatcher.cpp.o] Error 1
make[1]: *** [rosplan/rosplan_planning_system/CMakeFiles/planner.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed

I have tried to find some update to ros_comm_msgs which std_srvs is a part of, but I couldnt find an update. Does anybody know what could be the solution?

edit retag flag offensive close merge delete


Which version of ROS are you trying to build this on? std_srvs/Trigger isn't supported on all versions, so it might be that you're using one that is too old. Could also be that the rosplan pkg isn't properly declaring its dependencies.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-12 13:54:21 -0600 )edit

Thank you. I am using Indigo. I want to finally use it for hector quadcopter. If ROSPlan doesnt run with indigo, I have a problem, because I want to use quadrotot which doesnt run on later versions

arik gravatar image arik  ( 2016-10-14 13:21:14 -0600 )edit

Could you provide a link to the repository you're actually trying to build? It could be that the package isn't correctly declaring its dependencies.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-14 13:29:45 -0600 )edit

this is what i have been using

arik gravatar image arik  ( 2016-10-14 13:54:02 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-02-10 16:05:09 -0600

Dorian gravatar image

sudo apt-get install ros-indigo-std-srvs

it will update the package and will work after, cheers!

edit flag offensive delete link more


Works for a similar issue. Thanks

aaditya_saraiya gravatar image aaditya_saraiya  ( 2017-08-08 02:04:43 -0600 )edit

Question Tools


Asked: 2016-10-12 13:44:28 -0600

Seen: 499 times

Last updated: Oct 12 '16