cmake_minimum_required(VERSION 2.8.3)
project(tipover_detection)

# C++0x support - not quite the same as final C++11!
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")


find_package(catkin REQUIRED COMPONENTS
	geometry_msgs
	roscpp
	rospy
	sensor_msgs
	std_msgs
	tf
	tf2
	roslib
	urdf
	kdl_parser
	message_generation
)

catkin_package(
	CATKIN_DEPENDS geometry_msgs roscpp rospy sensor_msgs std_msgs tf tf2 roslib
)

include_directories(
include
${catkin_INCLUDE_DIRS}
)

# Executables
add_executable(tipover_detection src/tipover_detection.cpp)
target_link_libraries(tipover_detection ${catkin_LIBRARIES})
