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

Fix gazebo8 warnings part 8: ifdef's for GetWorldPose (lunar-devel) #652

Merged
merged 2 commits into from
Dec 16, 2017

Conversation

j-rivero
Copy link
Contributor

{ port of pull request #650 }
The uses of GetWorldPose were organized such that I could use the following sed scripts to assist in adding ifdef's in 0691135.

sed -i -e 's@.*GetWorldPose.*@#if GAZEBO_MAJOR_VERSION >= 8\
__REPLACE__&\
\#else\
&\
\#endif
sed -i -e \
  's@^__REPLACE__\(.*\)GetWorldPose()\.Ign\(.*\)@\1WorldPose\2@' \
  $(grep -rlI GetWorldPose gazebo_* | grep -v vacuum)

@j-rivero j-rivero merged commit c32b607 into lunar-devel Dec 16, 2017
@scpeters scpeters deleted the lunar-devel-transplant-650 branch May 29, 2018 20:01
cohen39 pushed a commit to cohen39/gazebo_ros_pkgs that referenced this pull request Nov 15, 2021
…os-simulation#652)

* gazebo_ros_vacuum_gripper: ifdef one GetWorldPose

* Fix conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants