genmsg
genmsg copied to clipboard
Feature to show deprecation warning for msg/srv
Close https://github.com/ros/genmsg/issues/67
Why?
I needed to remove or migrate some messages/services from packages, and I'd like to show deprecation warning for users. This PR enables that feature.
Usage
add_message_files(
DEPRECATED
DIRECTORY msg
FILES ADeprecatedMessage.msg
)
add_service_files(
DEPRECATED
DIRECTORY srv
FILES ADeprecatedService.srv
)
gencpp example: https://github.com/ros/gencpp/pull/35
Looks great, I dig it! +1