-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rosplan_planner_interfaces with ffha_planning_interface example launch file #33
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
project(rosplan_planner_interfaces) | ||
find_package(catkin REQUIRED) | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
|
||
<!-- arguments --> | ||
<arg name="node_name" default="rosplan_planner_interface" /> | ||
<arg name="use_problem_topic" default="true" /> | ||
<arg name="problem_topic" default="/rosplan_problem_interface/problem_instance" /> | ||
<arg name="planner_topic" default="planner_output" /> | ||
<arg name="domain_path" default="$(find rosplan_planning_system)/test/pddl/turtlebot/domain.pddl" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this domain has durative actions, which are not supported neither by ff nor ffha. I suggest to change it e.g. for ROSPlan/rosplan_planning_system/test/pddl/amazon |
||
<arg name="problem_path" default="$(find rosplan_planning_system)/test/pddl/turtlebot/problem.pddl" /> | ||
<arg name="data_path" default="$(find rosplan_planning_system)/test/pddl/turtlebot/" /> | ||
<arg name="planner_command" default="timeout 10 $(find rosplan_planning_system)/common/bin/popf DOMAIN PROBLEM" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. popf? planner command should be something like rosrun ffha ffha foo bar ... etc |
||
<arg name="planner_interface" default="ff_planner_interface" /> | ||
<arg name="use_ffha" default="true" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please indent to match previous args |
||
|
||
<!-- planner interface --> | ||
<node name="$(arg node_name)" pkg="rosplan_planning_system" type="$(arg planner_interface)" respawn="false" output="screen"> | ||
|
||
<!-- general options --> | ||
<param name="use_problem_topic" value="$(arg use_problem_topic)" /> | ||
|
||
<!-- ros topics --> | ||
<param name="problem_topic" value="$(arg problem_topic)" /> | ||
<param name="planner_topic" value="$(arg planner_topic)" /> | ||
|
||
<!-- directory for files --> | ||
<param name="domain_path" value="$(arg domain_path)" /> | ||
<param name="problem_path" value="$(arg problem_path)" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please change from problem_path -> autom_gen_problem_path (consistency w/ ROSPlan launch files reasons...) |
||
<param name="data_path" value="$(arg data_path)" /> | ||
|
||
<!-- to run the planner --> | ||
<param name="planner_command" value="$(arg planner_command)" /> | ||
|
||
<!-- use this param to use either ff_planner_interface with ff planner ("use_ffha" = "false" or ffha planner ("use_ffha" = "true" --> | ||
<param name="use_ffha" value="$(arg use_ffha)" /> | ||
Comment on lines
+34
to
+35
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please indent to match previous params |
||
|
||
</node> | ||
|
||
</launch> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no new line at end of file |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<name>rosplan_planner_interfaces</name> | ||
<version>1.0.0</version> | ||
<description>rosplan_planner_interfaces repository with example launch files to use planner_interfaces</description> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. rosplan_planner_interfaces is not a repository, the repo is rosplan_demos, it is a ROS pkg ; ) |
||
|
||
<maintainer email="[email protected]">Tom Creutz</maintainer> | ||
|
||
<license>BSD</license> | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove extra line |
||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
|
||
<export> | ||
|
||
</export> | ||
Comment on lines
+14
to
+16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if export is empty, then remove |
||
</package> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no new line at end of file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please additionally rename the name of the ROS pkg from rosplan_planner_interfaces -> rosplan_planner_interfaces_demo