-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 a method to get results from the bt service node #2968
Comments
We already have a variable for response.. You can already accessed them from within your BT.. You can see in the clearcostmap BT on how the |
This is true, you can It might be more natural for users if we changed the signature of @MZLover would you be open to submitting that as a PR? I'd love your contribution! It's very similar to that of #2958 but for services, good timing |
@SteveMacenski @padhupradheep It was my mistake. I worked on the foxy_devel branch (because my ROS version is foxy). I was embarrassed because the code you mentioned was different from mine. I will change my codes to the main branch and proceed again. Maybe it can be solved with the code of the main code of the main branch. Is there a problem with the code of the main branch and ros foxy? |
No worries at all, it takes time to get familiar with the codebase :-) I took a look and there is not a way to resolve this in Foxy without API breaking changes (either adding a new function or changing the signature of an existing function). This is the role of the |
If you could get that PR in sooner than later, that would be fantastic, I'd like this in before we branch off for Humble so that the next LTS distribution (Humble) after Foxy will have this change so you can use it on a stable distribution |
Just in case, if @MZLover is not up for it.. I can take this! |
Feel free @padhupradheep ! I just like to give folks the opportunity to contribute if they wish 😄 |
Sooner is better - I'm hoping to get a Humble sync by week's end |
If you could do so in the next day, that would be appreciated, we're going to release to Humble this week and I'd like this in before that fork is made. |
@padhupradheep I've been modifying the code so far, but it's not working well. I want you to do it if you can. |
No worries @MZLover we will cover you!
@SteveMacenski a big +1 for that! On a similar topic, is there something else that I could help with before we kickout an humble fork. New documentations, fixing faulty node (I know there will be none) or anything? |
@padhupradheep Thank you. I misunderstood and thought I wanted to modify it in foxy development, so I modified the code so that it can be used in foxy. |
I cannot answer you the question about foxy updates. But one thing for sure is that, we usually do the updates to other distributions from the main branch.. |
It would not be able to be backported to Foxy, it breaks API - but it'll be waiting for you in Humble! Sorry about that :/ we have to promise stability for commercial and professional users so we can't willy-nilly change API mid-distribution unless its a red-alarm fire |
Feature request
Feature description
Implementing service bt using bt_service_node.hpp. I want to do something with the result of the service from the corresponding bt, but unlike the bt action node, there seems to be no method or member variable to get the result value from the bt service node. I don't know if it's the intended configuration or if I misunderstood the code.
Implementation considerations
I just wish I could get the result of ros service.
The text was updated successfully, but these errors were encountered: