Skip to content

Move xmlrpcpp find_package so it only searches if ROS 1 is found#371

Merged
gbiggs merged 1 commit intomasterfrom
gbiggs/make-xmlrpcpp-optional
Jul 20, 2022
Merged

Move xmlrpcpp find_package so it only searches if ROS 1 is found#371
gbiggs merged 1 commit intomasterfrom
gbiggs/make-xmlrpcpp-optional

Conversation

@gbiggs
Copy link
Copy Markdown
Member

@gbiggs gbiggs commented Jul 18, 2022

This PR makes the xmlrpcpp dependency search only occur if ROS 1 is found. This is because on a system with only ROS 2 installed, xmlrpcpp might not be installed, leading to the build of ros1_bridge failing for an unexpected (by the user) reason.

For more info, see this comment: #331 (comment)

Signed-off-by: Geoffrey Biggs <gbiggs@killbots.net>
@gbiggs gbiggs requested a review from jacobperron July 18, 2022 22:55
@gbiggs gbiggs self-assigned this Jul 18, 2022
@gbiggs gbiggs added the enhancement New feature or request label Jul 18, 2022
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

@gbiggs
Copy link
Copy Markdown
Member Author

gbiggs commented Jul 19, 2022

CI: Build Status

@gbiggs
Copy link
Copy Markdown
Member Author

gbiggs commented Jul 19, 2022

Trying again, with actually including ros1_bridge this time.

Build Status

@gbiggs
Copy link
Copy Markdown
Member Author

gbiggs commented Jul 19, 2022

Third time lucky!

Build Status

@gbiggs gbiggs merged commit 46375ff into master Jul 20, 2022
@delete-merged-branch delete-merged-branch bot deleted the gbiggs/make-xmlrpcpp-optional branch July 20, 2022 22:33
hsd-dev added a commit to hsd-dev/ros1_bridge that referenced this pull request Mar 27, 2023
…2#371)

Signed-off-by: Geoffrey Biggs <gbiggs@killbots.net>
# Conflicts:
#	CMakeLists.txt
Signed-off-by: Harsh Deshpande <harshavardhan.deshpande@ipa.fraunhofer.de>
lucyannofrota added a commit to lucyannofrota/ros1_bridge that referenced this pull request May 15, 2023
Reproduces the changes made in ros2#371 in ros foxy.

Move xmlrpcpp find_package so it only searches if ROS 1 is found

Signed-off-by: Lucyanno Frota <lucyannofrota@gmail.com>
lucyannofrota added a commit to lucyannofrota/ros1_bridge that referenced this pull request May 23, 2023
Reproduces the changes made in ros2#371 in ros foxy.

Move xmlrpcpp find_package so it only searches if ROS 1 is found

Signed-off-by: Lucyanno Frota <lucyannofrota@gmail.com>
quarkytale pushed a commit that referenced this pull request May 24, 2023
… commits (ec44770) and (86b4245) to foxy branch] (#401)

* Port of the commit (ec44770) to foxy branch

Just reproduces the changes made in #331 in ros foxy.

Parametrize Quality of Service in `parameter_bridge`

Signed-off-by: Lucyanno Frota <lucyannofrota@gmail.com>

* Port of the commit (86b4245) to foxy branch

Reproduces the changes made in #371 in ros foxy.

Move xmlrpcpp find_package so it only searches if ROS 1 is found

Signed-off-by: Lucyanno Frota <lucyannofrota@gmail.com>

* CI fix

White spaces removed
Signed-off-by: Lucyanno Frota <lucyannofrota@gmail.com>

---------

Signed-off-by: Lucyanno Frota <lucyannofrota@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants