ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Are there macros which define the ROS version?

asked 2011-06-30 08:17:14 -0500

updated 2011-09-03 15:26:08 -0500

kwc gravatar image

I'd like to add some preprocessor conditions to allow some code to build in both Cturtle and Diamondback (and others in the future). Are there defines that indicate which version code is being compiled in?

edit retag flag offensive close merge delete


It is exactly the answer. You should copy that as an answer so the question can be closed.
dornhege gravatar image dornhege  ( 2011-06-30 12:31:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-08-02 11:22:03 -0500

Wim gravatar image
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2011-06-30 08:17:14 -0500

Seen: 711 times

Last updated: Aug 02 '11