Allow ardupilot_gazebo to be built as a ROS 2 ament package if the ament dependencies are available, otherwise default to a standalone cmake only build.
Details
Add ROS 2 ament package configuration.
Build as ament package if possible, otherwise revert to standard cmake build.
Add install section to CMakeLists.txt
Add environment hooks to update GZ_SIM_RESOURCE_PATH and GZ_SIM_SYSTEM_PLUGIN_PATH.
Allow
ardupilot_gazebo
to be built as a ROS 2 ament package if the ament dependencies are available, otherwise default to a standalonecmake
only build.Details
ament
package configuration.ament
package if possible, otherwise revert to standardcmake
build.GZ_SIM_RESOURCE_PATH
andGZ_SIM_SYSTEM_PLUGIN_PATH
.