From f4d94441933ef3819ef18f2a79eee1bee2acb82b Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Thu, 10 Nov 2022 20:02:17 +0900 Subject: [PATCH 1/3] jsk_robot_common/jsk_robot_startup/CMakeLists.txt: install python code using catkin_install_python --- jsk_robot_common/jsk_robot_startup/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) 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 From 40be6fc87b2ac5e4c9efce9c84dca930210730d0 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Thu, 10 Nov 2022 20:24:05 +0900 Subject: [PATCH 2/3] jsk_robot_common/jsk_robot_startup/package.xml updaet to packge=3 --- .../jsk_robot_startup/package.xml | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/jsk_robot_common/jsk_robot_startup/package.xml b/jsk_robot_common/jsk_robot_startup/package.xml index c86b879736d..dab761c4767 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,33 @@ 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 + 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 From 7ed2a5a76ad0695825d74b59a6e64f0f2fb26d73 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Thu, 10 Nov 2022 20:04:08 +0900 Subject: [PATCH 3/3] jsk_robot_startup/package.xml: update to version 3, add python3-* packages to exec_depend --- jsk_robot_common/jsk_robot_startup/package.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jsk_robot_common/jsk_robot_startup/package.xml b/jsk_robot_common/jsk_robot_startup/package.xml index dab761c4767..8b1e644b857 100644 --- a/jsk_robot_common/jsk_robot_startup/package.xml +++ b/jsk_robot_common/jsk_robot_startup/package.xml @@ -32,6 +32,12 @@ nodelet pointcloud_to_laserscan posedetection_msgs + python-bson + python3-bson + python-pymongo + python3-pymongo + python-tz + python3-tz rosbridge_server roscpp roseus_mongo