Robotics StackExchange | Archived questions

ROSPlan installation/build problem

Hi,

I am trying to install the ROSPlan package, in order to use ROSPlaninterfacequadrotor. 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 roscommmsgs which std_srvs is a part of, but I couldnt find an update. Does anybody know what could be the solution?

Asked by arik on 2016-10-12 13:44:28 UTC

Comments

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.

Asked by gvdhoorn on 2016-10-12 13:54:21 UTC

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

Asked by arik on 2016-10-14 13:21:14 UTC

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.

Asked by gvdhoorn on 2016-10-14 13:29:45 UTC

https://github.com/KCL-Planning/ROSPlan

this is what i have been using

Asked by arik on 2016-10-14 13:54:02 UTC

Answers

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

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

Asked by Dorian on 2017-02-10 17:05:09 UTC

Comments

Works for a similar issue. Thanks

Asked by aaditya_saraiya on 2017-08-08 02:04:43 UTC