cmake_minimum_required(VERSION 2.8.3)
project(main_action_planner)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  servo_msgs
  tf2
  tf2_ros
  pattern_posture_generator
  simple_trajectory_planner
)

###################################
## catkin specific configuration ##
###################################
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if you package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
  INCLUDE_DIRS include
#  LIBRARIES main_action_planner
  CATKIN_DEPENDS roscpp servo_msgs tf2 tf2_ros pattern_posture_generator simple_trajectory_planner
#  DEPENDS system_lib
)

###########
## Build ##
###########
include_directories(
  include
  ${catkin_INCLUDE_DIRS}
)

add_executable(main_action_planner_node src/main_action_planner_node.cpp)

add_dependencies(main_action_planner_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

target_link_libraries(main_action_planner_node
  ${catkin_LIBRARIES}
)


cmake_minimum_required(VERSION 2.8.3)
project(main_action_planner)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  servo_msgs
  tf2
  tf2_ros
  pattern_posture_generator
  simple_trajectory_planner
)

###################################
## catkin specific configuration ##
###################################
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if you package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
  INCLUDE_DIRS include
#  LIBRARIES main_action_planner
  CATKIN_DEPENDS roscpp servo_msgs tf2 tf2_ros pattern_posture_generator simple_trajectory_planner
#  DEPENDS system_lib
)

###########
## Build ##
###########
include_directories(
  include
  ${catkin_INCLUDE_DIRS}
)

add_executable(main_action_planner_node src/main_action_planner_node.cpp src/request_posture.cpp)

add_dependencies(main_action_planner_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

target_link_libraries(main_action_planner_node
  ${catkin_LIBRARIES}
)


Add compile with request posture.
Add compile with request posture.
