-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
40 lines (35 loc) · 988 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(habitat_ros
VERSION 0.1.0
DESCRIPTION "A ROS interface to Habitat-Sim"
HOMEPAGE_URL "https://bitbucket.org/smartroboticslab/habitat-ros.git"
LANGUAGES NONE
)
# Compile habitat-sim
# This assumes Ubuntu 20.04 and a conda environment already set-up with the
# habitat-sim dependencies and activated
add_custom_target(habitat-sim ALL
python3 setup.py install --prefix ~/.local --headless --with-cuda --cmake-args="-DUSE_SYSTEM_ASSIMP=ON"
VERBATIM
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/habitat_sim"
)
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
nav_msgs
rospy
sensor_msgs
std_msgs
)
catkin_package(
CATKIN_DEPENDS
geometry_msgs
message_runtime
nav_msgs
rospy
sensor_msgs
std_msgs
)
catkin_install_python(
PROGRAMS habitat_node.py habitat_mav_sim_node.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)