Skip to content

Commit

Permalink
test to cehck jsk-ros-pkg#103 (planner_option without &quat;)
Browse files Browse the repository at this point in the history
but some launch file uses `--search iterated([lazy_greedy([hff,hlm],preferred=[hff,hlm]), ...)`, such as jsk-ros-pkg/jsk_demos#1286

this test check both cases
  • Loading branch information
k-okada committed Dec 5, 2023
1 parent b6a94a5 commit 2afb2a0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pddl/pddl_planner/test/test-sample-pddl.test
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,13 @@
<test test-name="sample_pddl_downward_client_long_option" pkg="pddl_planner" type="sample-client.py" >
<remap from="pddl_planner" to="downward_planner_long_option/pddl_planner" />
</test>
<!--
Test for both &quat; and non-spaces https://github.com/jsk-ros-pkg/jsk_planning/pull/103
-->
<include file="$(find pddl_planner)/launch/pddl_downward.launch" ns="downward_planner_long_option_non_spaces" >
<arg name="planner_option" value="--heuristic hlm=lmcount(lm_rhw(reasonable_orders=true,lm_cost_type=2,cost_type=2),pref=true) --heuristic hff=ff() --search iterated([lazy_greedy([hff,hlm],preferred=[hff,hlm]),lazy_wastar([hff,hlm],preferred=[hff,hlm],w=5),lazy_wastar([hff,hlm],preferred=[hff,hlm],w=3),lazy_wastar([hff,hlm],preferred=[hff,hlm],w=2)],repeat_last=false)" />
</include>
<test test-name="sample_pddl_downward_client_long_option_non_spaces" pkg="pddl_planner" type="sample-client.py" >
<remap from="pddl_planner" to="downward_planner_long_option_non_spaces/pddl_planner" />
</test>
</launch>

0 comments on commit 2afb2a0

Please sign in to comment.