Created
May 4, 2018 11:36
-
-
Save jdumont0201/302e809e6b2fec56360f69801e8e670a to your computer and use it in GitHub Desktop.
ROS Custom Message CMake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find_package(catkin REQUIRED COMPONENTS | |
roscpp | |
std_msgs | |
message_generation # Add message_generation here, after the other packages | |
) | |
#Add to message files | |
add_message_files( | |
FILES | |
Age.msg | |
) | |
#Add to message generator | |
generate_messages( | |
DEPENDENCIES | |
std_msgs | |
) | |
#Add message_runtime | |
catkin_package( | |
CATKIN_DEPENDS roscpp std_msgs message_runtime | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment