usdot-fhwa-stol / carma-msgs

ROS Message definitions used by the CARMA Platform
6 stars 9 forks source link

Mixed ROS1 and ROS2 workspace #137

Closed msmcconnell closed 3 years ago

msmcconnell commented 3 years ago

PR Details

Description

This PR updates the packages in this repo to support building in both a ROS1 and ROS2 environment. The individual packages are not made ROS1 and ROS2 compliant. Instead the ROS2 packages will only build in a ROS2 environment while the ROS1 packages will only build in a ROS1 environment. When in the unsupported environment the packages will log a message stating their compilation has been skipped.

Related Issue

Supports https://github.com/usdot-fhwa-stol/carma-platform/milestone/4

Motivation and Context

ROS2 version of carma-platform

How Has This Been Tested?

Build testing with switching between foxy and noetic

Types of changes

Checklist: