48 lines
725 B
CMake
48 lines
725 B
CMake
cmake_minimum_required(VERSION 2.8.3)
|
|
project(unitree_legged_msgs)
|
|
|
|
find_package(catkin REQUIRED COMPONENTS
|
|
message_generation
|
|
std_msgs
|
|
geometry_msgs
|
|
sensor_msgs
|
|
)
|
|
|
|
add_message_files(
|
|
FILES
|
|
MotorCmd.msg
|
|
MotorState.msg
|
|
Cartesian.msg
|
|
IMU.msg
|
|
LED.msg
|
|
LowCmd.msg
|
|
LowState.msg
|
|
HighCmd.msg
|
|
HighState.msg
|
|
)
|
|
|
|
generate_messages(
|
|
DEPENDENCIES
|
|
std_msgs
|
|
geometry_msgs
|
|
sensor_msgs
|
|
)
|
|
|
|
catkin_package(
|
|
CATKIN_DEPENDS
|
|
message_runtime
|
|
std_msgs
|
|
geometry_msgs
|
|
sensor_msgs
|
|
)
|
|
|
|
#############
|
|
## Install ##
|
|
#############
|
|
|
|
# Mark topic names header files for installation
|
|
install(
|
|
DIRECTORY include/${PROJECT_NAME}/
|
|
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
|
|
FILES_MATCHING PATTERN "*.h"
|
|
) |