-
Notifications
You must be signed in to change notification settings - Fork 21
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 test to reproduce https://github.com/jsk-ros-pkg/jsk_demos/issues/1286 #88
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
and not sure why, use
|
k-okada
added a commit
to k-okada/jsk_demos
that referenced
this pull request
Dec 1, 2023
latest pddl_planner have following problem, due to jsk-ros-pkg/jsk_planning#88 ``` [INFO] [1701431008.700697]: domain_path => /tmp/domain_m37k2us4 [INFO] [1701431008.701434]: Command: rosrun downward plan /tmp/domain_m37k2us4 /tmp/problem_0c6zg3kz --heuristic "hlm=lmcount(lm_rh w(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_wa star([hff,hlm],preferred=[hff,hlm],w=2)]," "repeat_last=false)"" --plan-file /tmp/plan_fw1c2_16 [ERROR] [1701431008.805070]: Planner exited with error: Output: Error: /bin/sh: 1: Syntax error: "(" unexpected Exit code: 2 ```
k-okada
added a commit
to k-okada/jsk_planning
that referenced
this pull request
Dec 4, 2023
jsk-ros-pkg#88 changes 'sp.Popen(command' to 'sp.Popen(" ".join(command)', this assumes `planner_option` uses `--search &quat;iterated([lazy_greedy([hff,hlm], preferred=[hff,hlm]), ...)&quat;` but some launch file uses `--search iterated([lazy_greedy([hff,hlm],preferred=[hff,hlm]), ...)`, without &quat; and spaces, and jsk_planning 0.1.13 did not work this such eample(https://github.com/jsk-ros-pkg/jsk_demos/blob/ab0360b5580e77ca70006ce505497894fe4ac0d2/jsk_2013_04_pr2_610/test/test-demo-plan.test#L10), jsk-ros-pkg/jsk_demos#1286 this fix uses shlex.split() to keep quated substrings and uses Popen(command, stead of Popen(" ".join(command), to input quated argument as one word.
This was referenced Dec 4, 2023
k-okada
added a commit
to k-okada/jsk_planning
that referenced
this pull request
Dec 5, 2023
jsk-ros-pkg#88 changes 'sp.Popen(command' to 'sp.Popen(" ".join(command)', this assumes `planner_option` uses `--search &quat;iterated([lazy_greedy([hff,hlm], preferred=[hff,hlm]), ...)&quat;` but some launch file uses `--search iterated([lazy_greedy([hff,hlm],preferred=[hff,hlm]), ...)`, without &quat; and spaces, and jsk_planning 0.1.13 did not work this such eample(https://github.com/jsk-ros-pkg/jsk_demos/blob/ab0360b5580e77ca70006ce505497894fe4ac0d2/jsk_2013_04_pr2_610/test/test-demo-plan.test#L10), jsk-ros-pkg/jsk_demos#1286 this fix uses shlex.split() to keep quated substrings and uses Popen(command, stead of Popen(" ".join(command), to input quated argument as one word.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
it is very strange, but if option string is long, it fails on planning