-
Notifications
You must be signed in to change notification settings - Fork 88
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
Reverting is_valid_domain in popf_plan_solver back to its original fu… #234
Conversation
…nctionality. Signed-off-by: Josh Zapf <[email protected]>
I have not paid much attention to it when reviewing these PRs, so we will try to fix this in this PR definitively: The behavior of POPF (branch: ros2) in ROS2 Humble (Ubuntu 22.04) is: When a solution is found:
When checking a domain with an empty problem:
When there is not a valid plan:
When there is a syntax problem in the domain:
or
Checking the string "Solution Found" seems to be correct, IMHO. I have also checked it in 20.04+Foxy with the same result. Recently, I made some changes in popf that could affect it (I am not sure). @jjzapf @devis12, may you check that you have pulled all the changes? Best |
Hi @fmrico, I haven't had time to dig into this too much. However, I did verify that I have all the latest commits. Unfortunately, I still have to use my temporary fix to get things working. |
I have the same issue, which is seemingly due to I have has suspicions of the bug for a bit but have not had time to fix 😬. I have other changes that I would like merged into master already, so I will fix the issue (if it is what I expect) as part of it and make a new PR. edit: |
Please, check if #241 fixed your problems. Have into account that |
Yes! This seems to have fixed the issue. I am good closing this issue if it works for @sarcasticnature as well. |
The check_domain function in popf_plan_solver.cpp was recently changed and renamed to is_valid_domain. The DomainExpertNode calls this function in the on_configure callback. Previously, a failure would occur if the returned string was not empty. Now a failure will occur if the string does not contain "Solution Found". If the string is supposed to be empty, how can it contain "Solution Found"? Has something changed in the implementation such that the string should no longer be empty? For my examples, the string still appears to be empty.
Making the suggested change in this MR should revert the code back to it's previous logic. Without this change my previously working examples no longer work. ... I'm not really sure how this part of the code was intended to work, so my fix my not be the best solution. BTW, I am running Foxy, not Humble.