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

Galactic to Humble #275

Merged
merged 22 commits into from
Sep 23, 2022
Merged

Galactic to Humble #275

merged 22 commits into from
Sep 23, 2022

Conversation

mjcarroll
Copy link
Collaborator

@mjcarroll mjcarroll commented Jul 8, 2022

➡️ Forward port

Port galactic to humble

Branch comparison: https://github.com/ignitionrobotics/ros_gz/compare/humble...galactic

Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

mjcarroll and others added 16 commits April 6, 2022 11:35
This allows for the bridge to be created in such a way that it is "lazy". In this case "lazy" means:
* The publication (output) side of the bridge is always on and actively looking for subscriptions.
* The subscription (input) side of the bridge is only turned on in the case that there are subscriptions on the output side.

Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
)

* [ros_ign_interfaces] Add more interface definitions.
* Add converion functions for the added messages
* Update the factory factory function with the new messages
* Add new messages to docs
* Add test cases for the new messages conversions

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Co-authored-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
The way that we add factories can be a bit error-prone, as there are a lot of strings that cannot be checked at compilation time. This changes several of the boilerplate files to be generated automatically by python scripts, in line with how ros1_bridge does it.

Signed-off-by: Michael Carroll <michael@openrobotics.org>
* Use the python generator for tests as well

Signed-off-by: Michael Carroll <michael@openrobotics.org>
* Adding rssi field to ros_ign_interfaces/Dataframe.msg

Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
* Refactor in support of adding yaml-configured node

Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Louise Poubel <louise@openrobotics.org>

Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
* Add support for converting Any <-> ParamValue

Signed-off-by: Michael Carroll <michael@openrobotics.org>
* Introduces `ros_ign_interfaces::msg::ParamVec` for storing a list of Parameters that are int, bool, double, or string.
* Introduces bridge for `ignition::msgs::param` to `ros_ign_interfaces::msg::ParamVec`
* Introduces bridge for `ignition::msgs::param_v` to `ros_ign_interfaces::msg::ParamVec`

Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Kenji Brameld <kenjibrameld@gmail.com>
Co-authored-by: Kenji Brameld <kenjibrameld@gmail.com>
Co-authored-by: Tyler Howell <76003804+TyHowellWork@users.noreply.github.com>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
@osrf-triage osrf-triage added this to Inbox in Core development Jul 8, 2022
@chapulina chapulina moved this from Inbox to In progress in Core development Jul 8, 2022
@chapulina chapulina added the ROS 2 ROS 2 label Jul 8, 2022
Copy link
Collaborator

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is green, is this ready for review ?

@mjcarroll
Copy link
Collaborator Author

CI is green, is this ready for review ?

Not quite, I'm about half way there. It's a pretty massive forward port. Will remove draft status when it is ready

andermi and others added 4 commits August 29, 2022 14:34
* add debugger option in launch
* remove xterm dependency; rely on x-terminal-emulator from update-alternatives

Signed-off-by: Michael Anderson <anderson@mbari.org>
Signed-off-by: Michael Anderson <anderson@mbari.org>
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
@mjcarroll mjcarroll marked this pull request as ready for review September 22, 2022 23:58
@mjcarroll
Copy link
Collaborator Author

Okay, this is now ready for a review.

It's a pretty massive PR... I'm sorry, but it will bring ros2 completely up to date afaict.

@mjcarroll mjcarroll moved this from In progress to In review in Core development Sep 23, 2022
Signed-off-by: Michael Carroll <michael@openrobotics.org>
@methylDragon
Copy link
Contributor

DCO needs fixing :O

@mjcarroll
Copy link
Collaborator Author

DCO needs fixing :O

DCO is always a bit finicky around merge commits, I'll see what I can do.

@mjcarroll
Copy link
Collaborator Author

Oh yeah, I can force DCO to pass 🤐

@mjcarroll mjcarroll force-pushed the galactic_to_ros2 branch 2 times, most recently from d3f2297 to f1765bc Compare September 23, 2022 01:38
Copy link
Collaborator

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see in many places ignition.msgs.foo, should we change this to gz.msgs.foo ?

| ros_gz_interfaces/msg/Light | ignition::msgs::Light |
| ros_gz_interfaces/msg/StringVec | ignition::msgs::StringMsg_V |
| ros_gz_interfaces/msg/TrackVisual | ignition::msgs::TrackVisual |
| rcl_interfaces/msg/ParameterValue | ignition::msgs::Any |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of ignition is gz ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the purpose of humble, we need to still maintain support for older versions with the previous set of ignition names.

I will have a follow-up PR for the final renaming bits, but that will make it so that whatever branch it lands on will only be compatible with garden forward.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to this, yep!

@mjcarroll mjcarroll mentioned this pull request Sep 23, 2022
@mjcarroll mjcarroll changed the base branch from ros2 to humble September 23, 2022 12:39
@mjcarroll mjcarroll changed the title Galactic to ros2 Galactic to Humble Sep 23, 2022
@mjcarroll mjcarroll merged commit eeb3b03 into humble Sep 23, 2022
Core development automation moved this from In review to Done Sep 23, 2022
@mjcarroll mjcarroll deleted the galactic_to_ros2 branch September 23, 2022 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ROS 2 ROS 2
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

7 participants