MNT: Replace #define debug macros with functions isolated to the Melodic namespace

This MR replaces a handful of #define macros within melodic.h with equivalent functions isolated within the Melodic namespace. The use of #define message(msg) was colliding with regular code from another library that was being #included after melodic.h.

This MR also changes the MELODIC_VESRION from being hard-coded at "3.15" to being set from the current state of the git repository the source is being built from.

Merge request reports

Loading