Repository navigation
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
78 lines (67 loc) · 1.91 KB
/
Copy pathCMakeLists.txt
File metadata and controls
78 lines (67 loc) · 1.91 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
cmake_minimum_required(VERSION 3.0.2)
project(upper_limb_kinematics) # Project name
catkin_python_setup() # Para ejecutar el setup.py de la raiz para ubicar los módulos.
## Find the necessary ROS packages
find_package(catkin REQUIRED COMPONENTS
rospy
std_msgs
geometry_msgs
sensor_msgs # Para el nodo conversor
skeleton_3d # This package contains the Skeleton3D message
message_generation
urdf
)
## Specify the message files to be generated
add_message_files(
FILES
RightArm.msg # From IK_arm_calculator.py
RightArmState.msg
KP_URDF.msg # From DK_listener.py
KP_vision.msg # DEBUG only
AngleStamped.msg # Float32 + header
)
## Generate messages and services with the listed dependencies
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
sensor_msgs # Para el nodo conversor
skeleton_3d # This package contains the Skeleton3D message
)
## Define the package and its dependencies
catkin_package(
CATKIN_DEPENDS
rospy
std_msgs
geometry_msgs
sensor_msgs # Para el nodo conversor
skeleton_3d # This package contains the Skeleton3D message
message_runtime
)
## Include directories for the project
include_directories(
${catkin_INCLUDE_DIRS}
)
## Install Python executable scripts
install(PROGRAMS
scripts/IK_arm.py
scripts/DK_listener.py
scripts/TF_shoulder_publisher.py
scripts/compute_confort_index.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
## Install additional resources (launch files, configs, RViz settings)
install(DIRECTORY
launch
config
rviz
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
# RCO: mirar que hace esto
## Optional: Add environment hooks to reload configurations
# catkin_add_env_hooks(99.skeleton_3d
# SHELLS sh
# DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/env-hooks
# )
## Display a status message once the CMake configuration completes
message(STATUS "CMake configuration for human_articular_space completed successfully.")