-
Notifications
You must be signed in to change notification settings - Fork 251
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
3 to 6 05-02-2023 #1989
3 to 6 05-02-2023 #1989
Conversation
* Migrate headers Signed-off-by: methylDragon <methylDragon@gmail.com> * Add redirection headers Signed-off-by: methylDragon <methylDragon@gmail.com> * Migrate include statements Signed-off-by: methylDragon <methylDragon@gmail.com> * Leave ignition as primary in headers to fix ABI Signed-off-by: methylDragon <methylDragon@gmail.com> * Generate MOC files from gz headers Signed-off-by: Louise Poubel <louise@openrobotics.org> * Migrate msgs include usage Signed-off-by: methylDragon <methylDragon@gmail.com> * Add plugin aliases Signed-off-by: methylDragon <methylDragon@gmail.com> * Fix tests and code check Signed-off-by: Nate Koenig <nate@openrobotics.org> * Added fuel.gazebosim.org test dir Signed-off-by: Nate Koenig <nate@openrobotics.org> * Fix SdfGenerator_TEST Signed-off-by: Nate Koenig <nate@openrobotics.org> * require rendering 3.7 Signed-off-by: Nate Koenig <nate@openrobotics.org> * Fix namespaces Signed-off-by: Nate Koenig <nate@openrobotics.org> * Clarify messages Signed-off-by: Nate Koenig <natekoenig@gmail.com> * More debugging Signed-off-by: Nate Koenig <natekoenig@gmail.com> * Fix linter Signed-off-by: Nate Koenig <natekoenig@gmail.com> * More testing Signed-off-by: Nate Koenig <natekoenig@gmail.com> * More debug Signed-off-by: Nate Koenig <natekoenig@gmail.com> * fix build Signed-off-by: Nate Koenig <natekoenig@gmail.com> * More debug Signed-off-by: Nate Koenig <natekoenig@gmail.com> * linter Signed-off-by: Nate Koenig <natekoenig@gmail.com> * Fix build Signed-off-by: Nate Koenig <natekoenig@gmail.com> * Fix build Signed-off-by: Nate Koenig <natekoenig@gmail.com> * More debug Signed-off-by: Nate Koenig <natekoenig@gmail.com> * More testing Signed-off-by: Nate Koenig <natekoenig@gmail.com> * More tests Signed-off-by: Nate Koenig <natekoenig@gmail.com> * Fix gui.config Signed-off-by: Nate Koenig <natekoenig@gmail.com> * Remove debugging Signed-off-by: Nate Koenig <natekoenig@gmail.com> --------- Signed-off-by: methylDragon <methylDragon@gmail.com> Signed-off-by: Louise Poubel <louise@openrobotics.org> Signed-off-by: Nate Koenig <nate@openrobotics.org> Signed-off-by: Nate Koenig <natekoenig@gmail.com> Co-authored-by: Louise Poubel <louise@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <natekoenig@gmail.com>
Not all of the needed include paths are exported with the gz-sim target, so including the gz/sim.hh header doesn't work easily. This test fails to build and illustrates the problem. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Needed since the auto-generated header is gz/gazebo.hh Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Fixes macOS build. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
This needs a release of gz-gui. |
@osrf-jenkins run tests |
Codecov Report
@@ Coverage Diff @@
## ign-gazebo6 #1989 +/- ##
===============================================
+ Coverage 65.29% 65.38% +0.08%
===============================================
Files 327 327
Lines 26893 26932 +39
===============================================
+ Hits 17560 17609 +49
+ Misses 9333 9323 -10
|
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, the changes look good to me. I did a merge myself and compared mine with yours and most differences were pretty minor. I've left comments in some of the places I found ignition headers, but not everywhere. I wasn't sure if they were missed or you were intentionally leaving them out for a follow-up PR.
We also need redirection headers in include/ignition/gazebo
for the all the new headers in ign-gazebo6
:
- include/gz/sim/components/BatteryPowerLoad.hh
- include/gz/sim/components/BoundingBoxCamera.hh
- include/gz/sim/components/CustomSensor.hh
- include/gz/sim/components/ForceTorque.hh
- include/gz/sim/components/HaltMotion.hh
- include/gz/sim/components/JointTransmittedWrench.hh
- include/gz/sim/components/LightCmd.hh
- include/gz/sim/components/LightType.hh
- include/gz/sim/components/NavSat.hh
- include/gz/sim/components/ParticleEmitter.hh
- include/gz/sim/components/Recreate.hh
- include/gz/sim/components/RenderEngineServerHeadless.hh
- include/gz/sim/components/SegmentationCamera.hh
- include/gz/sim/components/SemanticLabel.hh
- include/gz/sim/components/SphericalCoordinates.hh
- include/gz/sim/components/SystemPluginInfo.hh
- include/gz/sim/components/TemperatureRange.hh
- include/gz/sim/components/Visibility.hh
- include/gz/sim/components/VisualCmd.hh
- include/gz/sim/components/WheelSlipCmd.hh
- include/gz/sim/comms/Broker.hh
- include/gz/sim/comms/ICommsModel.hh
- include/gz/sim/comms/MsgManager.hh
- include/gz/sim/Actor.hh
- include/gz/sim/Joint.hh
- include/gz/sim/Light.hh
- include/gz/sim/Primitives.hh
- include/gz/sim/Sensor.hh
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
Redirects added in aee9f0d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for iterating, since this is so huge, I skimmed it and nothing jumped out. Green CI should be sufficient from my point of view.
Any ideas regarding this windows build error: https://build.osrfoundation.org/job/ign_gazebo-pr-win/5706/consoleFull#13067844058ff58640-3599-4406-a210-216932f1748c? |
CI is mostly green. The windows failure looks weird, especially since this PR is not touching python. The ABI checker is red, but Jenkins also says no failures were found. Homebrew builds, but has some test failures. I could use someone else to check what, if anything, needs to be fixed here. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more comments. There are still a lot of instances of ignition::gazebo
, but I think it's better to change them in a separate PR. I've only commented on the ones I thought were updated in the ign-gazebo3 branch but not forward ported.
Also, include/ignition/gazebo/detail/BaseView.hh
needs to be removed since it's also in include/gz/sim/detail/BaseView.hh
.
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. The only thing left is to delete include/ignition/gazebo/detail/BaseView.hh
. Also, a friendly reminder to squash everything to a single commit since we're merging via a merge commit. I tried doing the following and the resulting history seems correct:
git rebase -i --rebase-merges ign-gazebo6
Mark everything that comes after the merge commit to f
:
reset onto
merge -C b615a82da Forward-port-3-to-6 # Forward port 3 to 6
f 1b1ac04c6 Use gui 6.8
f bd5353f62 Fix visibility
f a0234e946 Fixed headers and most comments
f aee9f0d99 Fixed header redirects
f 5f1458ac6 fixed comments
The windows failure also happens on the stable CI, although inconsistently (gazebo-tooling/release-tools#724 (comment)). The ABI checker issue could be related to gazebo-tooling/release-tools#939, but it's also reporting an error due to the duplicated BaseView.hh
The macOS issue is probably due to an outdated ign-math bottle (osrf/homebrew-simulation#2269). |
Right, I forgot to commit the BaseView update. I'll do soon. |
Signed-off-by: Nate Koenig <natekoenig@gmail.com>
…/ign-gazebo into nkoenig/3-to-6-05022023
@azeey, can I get one last LGTM from you when you're good with this? Or, just merge whenever you're comfortable. |
I'm trying to figure out why the abichecker is failing. It might be a false-positive, but I'm not sure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, I'm giving up on the abichecker issue. I'm pretty sure it's a false positive, but I can't prove it even though I spent quite a bit of time comparing the headers.
Well, it's done. Now I can start the next forward port. Yah! |
➡️ Forward port
Port ign-gazebo3 to ign-gazbeo6
Branch comparison: ign-gazebo6...ign-gazebo3
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)