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

Backport Some Changes from ros2 to jazzy #599

Closed
wants to merge 39 commits into from

Conversation

Amronos
Copy link
Contributor

@Amronos Amronos commented Sep 3, 2024

🦟 Bug fix

Fixes #589

Summary

I have backported changes made in ros2 to jazzy which weren't already present in jazzy. Please tell me if anything is incorrect, or if the changes aren't supposed to be backported like this.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.

bperseghetti and others added 26 commits May 6, 2024 12:59
Forward port of gazebosim#486.

    * Message and bridge for MaterialColor.

    This allows bridging MaterialColor from ROS to GZ and is
    important for allowing simulation users to create status lights.

Signed-off-by: Benjamin Perseghetti <[email protected]>
* Add gzserver with ability to load an SDF file or string

---------

Signed-off-by: Addisu Z. Taddese <[email protected]>
* Add gzserver with ability to load an SDF file or string

Signed-off-by: Addisu Z. Taddese <[email protected]>
* Add gzserver with ability to load an SDF file or string

Signed-off-by: Addisu Z. Taddese <[email protected]>
Spawn models from XML.
Signed-off-by: Carlos Agüero <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]>
…osim#553)

This also adds a required `name` parameter for the bridge so that
multiple different bridges can be created without name collision

Signed-off-by: Addisu Z. Taddese <[email protected]>
* Name is required.

Signed-off-by: Carlos Agüero <[email protected]>
* Ignore local messages

Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
While testing ros <-> gz communication using the bridge I noticed that the bridge was talking quite a bit of time copying images from Gazebo to ROS. I found that the std::copy operation that we're doing is substantially slower than the memcpy alternative. I think that in principle this shouldn't happen but the numbers are quite clear. Perhaps std::copy is doing something that doesn't use cache effectively
---------

Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Co-authored-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
…imestamps_with_wall_time is set to true (gazebosim#562)

Signed-off-by: Rein Appeldoorn <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@azeey
Copy link
Contributor

azeey commented Sep 3, 2024

cc @caguero

I think there are some fixes we need to make to the new launch actions before we backport #554

@ahcorde
Copy link
Collaborator

ahcorde commented Sep 4, 2024

@azeey @caguero Can we use mergify to backport this feature ?

@Amronos
Copy link
Contributor Author

Amronos commented Sep 6, 2024

Any updates on this?

@caguero
Copy link
Contributor

caguero commented Sep 6, 2024

Any updates on this?

Let's do the backport after we merge #600 and #602.

Amronos and others added 9 commits September 6, 2024 19:50
* Add argument bridge_name to fix errors

Signed-off-by: Aarav Gupta <[email protected]>
* Remove default_value for config_file
Signed-off-by: Aarav Gupta <[email protected]>
* Add argument bridge_name to fix errors

Signed-off-by: Aarav Gupta <[email protected]>
* Remove default_value for config_file
Signed-off-by: Aarav Gupta <[email protected]>
…m#606)

* Change world_string to model_string

Also changed description from XML string to XML(SDF) string

Signed-off-by: Aarav Gupta <[email protected]>
…m#606)

* Change world_string to model_string

Also changed description from XML string to XML(SDF) string

Signed-off-by: Aarav Gupta <[email protected]>
@Amronos
Copy link
Contributor Author

Amronos commented Sep 12, 2024

I am closing this pull request. I will make a new cleaner one later when everything happening right now with the ros2 branch gets a bit finalized.

@Amronos Amronos closed this Sep 12, 2024
@Amronos Amronos deleted the ros2-jazzy-backport branch September 12, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

8 participants