diff --git a/jsk_robot_common/jsk_robot_startup/CMakeLists.txt b/jsk_robot_common/jsk_robot_startup/CMakeLists.txt index a9ca7f482e4..76ce6de0298 100644 --- a/jsk_robot_common/jsk_robot_startup/CMakeLists.txt +++ b/jsk_robot_common/jsk_robot_startup/CMakeLists.txt @@ -140,6 +140,14 @@ endif() install(DIRECTORY lifelog util launch images config cfg DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} USE_SOURCE_PERMISSIONS) +file(GLOB_RECURSE SCRIPT_PROGRAMS lifelog/*) +foreach(SCRIPT_PROGRAM ${SCRIPT_PROGRAMS}) + if("${SCRIPT_PROGRAM}" MATCHES ".*\\.py$") + catkin_install_python(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) + else() + install(PROGRAMS ${SCRIPT_PROGRAM} DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) + endif() +endforeach() if(mongodb_store_FOUND) install(TARGETS jsk_robot_lifelog diff --git a/jsk_robot_common/jsk_robot_startup/package.xml b/jsk_robot_common/jsk_robot_startup/package.xml index c86b879736d..8b1e644b857 100644 --- a/jsk_robot_common/jsk_robot_startup/package.xml +++ b/jsk_robot_common/jsk_robot_startup/package.xml @@ -1,5 +1,5 @@ - + jsk_robot_startup 1.1.0 The jsk_robot_startup package @@ -19,33 +19,39 @@ sensor_msgs dynamic_reconfigure urdf - actionlib_msgs - app_manager - dynamic_reconfigure - geometry_msgs - gmapping - google_chat_ros - jsk_recognition_msgs - jsk_topic_tools - message_runtime - mongodb_store - nodelet - pointcloud_to_laserscan - posedetection_msgs - rosbridge_server - roscpp - roseus_mongo - rosgraph - rospy - rostwitter - roswww - sensor_msgs - tf - tf2_ros - tf2_py - tf2_geometry_msgs - urdf - jsk_tilt_laser + actionlib_msgs + app_manager + dynamic_reconfigure + geometry_msgs + gmapping + google_chat_ros + jsk_recognition_msgs + jsk_topic_tools + message_runtime + mongodb_store + nodelet + pointcloud_to_laserscan + posedetection_msgs + python-bson + python3-bson + python-pymongo + python3-pymongo + python-tz + python3-tz + rosbridge_server + roscpp + roseus_mongo + rosgraph + rospy + rostwitter + roswww + sensor_msgs + tf + tf2_ros + tf2_py + tf2_geometry_msgs + urdf + jsk_tilt_laser rostest pr2_gazebo