-
Notifications
You must be signed in to change notification settings - Fork 161
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 SpawnEntity, DeleteEntity, & SetEntityPose Support #380
Conversation
@retinfai Did you mean to close this PR? |
I wasn't sure whether I had to have all the things checked off before opening the PR? Or can it be open, while I complete all the tasks |
You can mark it as a draft PR if you're still working on it. Reviewers might give you initial feedback. |
Perfect, thanks |
Is there any updates on this? |
Not that I know if. It would be great to get this PR moving again. |
Functionally everything in this PR works. I've been using it in my projects fine. Just haven't had time to go back and follow the process properly. Will try to move things along |
@retinfai
It prints this, but no response after this,
|
Hmm, not quite sure. Everything looks fine; haven't tried services on things other than a model, so i guess it isn't all working haha. Can you verify that you get the correct expected behaviour calling the service from the gazebo side? |
@retinfai There was some problem in my package. The model is moving fine using the service. Edit |
Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Afereti Pama <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Afereti Pama <[email protected]>
Hi, is there any ETA as to when this will be merged? |
@retinfai |
@k12onoss Any solutions for this? I am trying to do the same but get the following response and the service is not displayed when calling |
@elmeripk apologies for late a reply. Yes, I eventually got it working. |
I tested the create/remove/set_pose services on Jazzy and Harmonic and the changes in this PR worked fine for me. |
@retinfai getting this issues.Please can you help? |
Any update on this? Would really like to have this feature also for older ROS and Gazebo combinations like Humble + Fortress. |
Hello everyone, I’ve been testing the Steps I took:
I plan to write documentation detailing the setup steps and usage instructions. Would it be helpful for me to create a new PR that includes the new package and documentation, or should I add these additions to the existing PR? |
Hello! ℹ️ The Gazebo core team has included the review of PR into a community effort to attract new contributions, see the message in LinkdIn. I wrote some context and introduction about how to help in https://gist.github.com/j-rivero/9ea1abe2441c8dbf3cc4dffccfbdaff8. Thanks @retinfai for the PR and sorry for not coming before. Let's try to get this merged and release. Could you please resolve the conflicts and accept the DCO bot signatures? If you don't have time anymore let me know. I'm marking the PR as ready to review. Thanks @khaledgabr77 for the review, really appreciated.
That is a good question, since it is external PR controlled by @retinfai probably the best way would be to open a new PR and I can merge both in order so we don't overload @retinfai with more actions. |
Thanks for starting the community effort @j-rivero. I wanted to ask what the Gazebo policy for backporting features such as this PR and https://community.gazebosim.org/t/ros-gz-bridge-improvements/3135 to older versions like ROS 2 Humble + Gazebo Fortress or ROS 2 Humble + Gazebo Harmonic are as I think users of these releases should also benefit from new features. |
Thanks Gilbert, hopefully it can help the people to contribute easily.
The For this PR, please, backports are very welcome and fall under the community weekly effort. For the https://docs.ros.org/en/dashing/Contributing/Developer-Guide.html#guidelines-for-backporting-prs), I replied there. |
Hi, I've resolved the merge conflicts. However, I'm having problems with the DCO, rebasing. I don't have alot of experience rebasing, and it's making me resolve conflicts of things I haven't touched at all, so am hesitant to try to do that. If someone who knows what to do, wants access to try to resolve that. I'm happy to add them |
Thanks Afereti !
Yeah sometimes the rebase is not trivial. Don't worry I think I can deal with the bot with stashing the commits to merge it. CI is not happy but the good news if that it is easy to fix. cpplint / uncrustify: This patch provided by uncrustify will take care of most of the problems:
After appliying the uncrustify patch is probably the cpplint only needs the last suggestion of line 130.
|
Woow, that is great ! Thanks @khaledgabr77 let's follow in the PR. |
I'm going to merge this one and resolve the linters errors in a new PR |
* Feat: add spawn, delete, set pose service and entity_factory to bridge --------- Signed-off-by: Afereti Pama <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit dd36692)
@Mergifyio backport jazzy humble |
✅ Backports have been created
|
* Feat: add spawn, delete, set pose service and entity_factory to bridge --------- Signed-off-by: Afereti Pama <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit dd36692)
* Feat: add spawn, delete, set pose service and entity_factory to bridge --------- Signed-off-by: Afereti Pama <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit dd36692)
#712) Signed-off-by: Alejandro Hernandez Cordero <[email protected]> Co-authored-by: Afereti Pama <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
#713) Signed-off-by: Alejandro Hernandez Cordero <[email protected]> Co-authored-by: Afereti Pama <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
🎉 New feature
Closes #363
Summary
Add support for SpawnEntity, DeleteEntity, & SetEntityPose services
Add support for EntityFactory
Test it
Spin up a parameter bridge for the service you are testing, and make a ros2 service call to it
Example for
SpawnEntity
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.