Skip to content
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

test to cehck #103 (planner_option without &quat;) #104

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

k-okada
Copy link
Member

@k-okada k-okada commented Dec 5, 2023

#88 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]), ...), such as jsk-ros-pkg/jsk_demos#1286

this test check both cases

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
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.
@k-okada k-okada merged commit 1344a89 into jsk-ros-pkg:master Dec 5, 2023
6 checks passed
@k-okada k-okada deleted the test_103 branch December 5, 2023 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant