gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.21k stars 484 forks source link

Add missing header files #3227

Closed scpeters closed 2 years ago

scpeters commented 2 years ago

Some header files are proposed for removal from sdf/Param.hh in https://github.com/gazebosim/sdformat/pull/1044. While testing that branch with gazebo11, I noticed some compilation failures in files that use objects without including the associated header file. I've added missing header files for many ignition/math/* includes in https://github.com/osrf/gazebo/commit/c20bb21f4c282df7207da74b668911d719bd1a0c. It is more than enough to fix compilation, though it is not fully exhaustive.

I made two other small changes as well:

scpeters commented 2 years ago

https://github.com/gazebosim/sdformat/pull/1044 has been closed, but these changes are still valid, so I will leave this open for review

j-rivero commented 2 years ago

gazebosim/sdformat#1044 has been closed, but these changes are still valid, so I will leave this open for review

Missed the original discussion but Louise was right about not removing a header from an stable released series of sdformat.

The PR looks good to me, CI is happy, I'm happy too.

j-rivero commented 2 years ago

There is a problem on Windows conda-forge but I'm pretty sure it is not related to this PR.