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 #607

Merged
merged 33 commits into from
Sep 18, 2024

Conversation

Amronos
Copy link
Contributor

@Amronos Amronos commented Sep 12, 2024

🦟 Bug fix

A cleaner version of #599.

Fixes #589.

Summary

I have backported changes made in ros2 to jazzy. Changelogs and version numbers have not been backported.

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.

@Amronos
Copy link
Contributor Author

Amronos commented Sep 17, 2024

@ahcorde can this be merged?

@caguero
Copy link
Contributor

caguero commented Sep 17, 2024

@ahcorde can this be merged?

Thanks @Amronos ! While I'm testing it, could you fix DCO please?

@Amronos
Copy link
Contributor Author

Amronos commented Sep 18, 2024

Looks like I messed up during the rebase, I am sorry! I am trying to revert this. Reverted.

bperseghetti and others added 23 commits September 18, 2024 08:12
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]>
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]>
* Add argument bridge_name to fix errors

Signed-off-by: Aarav Gupta <[email protected]>
Amronos and others added 7 commits September 18, 2024 08:26
* 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]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Nabeel Sherazi <[email protected]>
(cherry picked from commit 64b8acd)

Co-authored-by: Nabeel Sherazi <[email protected]>
@Amronos
Copy link
Contributor Author

Amronos commented Sep 18, 2024

Does the rebase I did just now look ok and is the DCO also fixed now? The changelogs and version numbers got a bit messed up, I will commit a bit later to fix that.

@Amronos Amronos marked this pull request as draft September 18, 2024 08:41
@Amronos Amronos marked this pull request as ready for review September 18, 2024 10:03
@caguero
Copy link
Contributor

caguero commented Sep 18, 2024

Does the rebase I did just now look ok and is the DCO also fixed now? The changelogs and version numbers got a bit messed up, I will commit a bit later to fix that.

I still see DCO not passing. Are you following https://github.com/gazebosim/ros_gz/pull/607/checks?check_run_id=30308693405?

@Amronos
Copy link
Contributor Author

Amronos commented Sep 18, 2024

Are you following https://github.com/gazebosim/ros_gz/pull/607/checks?check_run_id=30308693405?

Yes, I am not the author of the commits that are causing DCO to fail, and so I don't think I am supposed to run a full sign-off using git rebase HEAD~33 --sign-off.

@caguero caguero merged commit 62f2525 into gazebosim:jazzy Sep 18, 2024
4 checks passed
@Amronos Amronos deleted the ros2-jazzy-backport branch September 18, 2024 14:15
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