Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate srv files from jsk_pcl_ros to jsk_recognition_msgs #1980

Closed
4 tasks done
wkentaro opened this issue Dec 5, 2016 · 5 comments
Closed
4 tasks done

Migrate srv files from jsk_pcl_ros to jsk_recognition_msgs #1980

wkentaro opened this issue Dec 5, 2016 · 5 comments

Comments

@wkentaro
Copy link
Member

wkentaro commented Dec 5, 2016

Moved from #1827 (comment)

Background

Some packages in jsk_visualization depends on jsk_pcl_ros because it uses the srv files.
But jsk_pcl_ros is a very large package and the dependency should be avoided ideally.
The solution is placing msg/srv files into jsk_recognition_msgs.

TODO

Related PRs

#1827
#1914

@k-okada
Copy link
Member

k-okada commented Dec 6, 2016

#1983 I think this is the goal of this work, currently we have same file in different location and this is not a good situation.
and jsk-ros-pkg/jsk_visualization#623 is side effect

@k-okada
Copy link
Member

k-okada commented Dec 13, 2016

Proposed process was not correct -> http://build.ros.org/job/Ibin_uT32__jsk_pcl_ros_utils__ubuntu_trusty_i386__binary/74/console

10:42:29 make[4]: Entering directory `/tmp/binarydeb/ros-indigo-jsk-pcl-ros-utils-1.0.0/obj-i686-linux-gnu'
10:42:29 ../scripts/install_sample_data.py
10:42:29 Traceback (most recent call last):
10:42:29   File "../scripts/install_sample_data.py", line 3, in <module>
10:42:29     from jsk_data import download_data
10:42:29 ImportError: No module named jsk_data
10:42:29 make[4]: *** [CMakeFiles/install_sample_data] Error 1
10:42:29 make[4]: Leaving directory `/tmp/binarydeb/ros-indigo-jsk-pcl-ros-utils-1.0.0/obj-i686-linux-gnu'
10:42:29 make[3]: Leaving directory `/tmp/binarydeb/ros-indigo-jsk-pcl-ros-utils-1.0.0/obj-i686-linux-gnu'
10:42:29 make[3]: *** [CMakeFiles/install_sample_data.dir/all] Error 2
10:42:29 make[2]: *** [all] Error 2
10:42:29 make[2]: Leaving directory `/tmp/binarydeb/ros-indigo-jsk-pcl-ros-utils-1.0.0/obj-i686-linux-gnu'
10:42:29 dh_auto_build: make -j1 returned exit code 2
10:42:29 make[1]: *** [override_dh_auto_build] Error 2
10:42:29 make[1]: Leaving directory `/tmp/binarydeb/ros-indigo-jsk-pcl-ros-utils-1.0.0'
10:42:29 make: *** [build] Error 2
10:42:29 dpkg-buildpackage: error: debian/rules build gave error exit status 2
10:42:29 E: Building failed
10:42:29 Traceback (most recent call last):
10:42:29   File "/tmp/ros_buildfarm/ros_buildfarm/binarydeb_job.py", line 133, in build_binarydeb
10:42:29     subprocess.check_call(cmd, cwd=source_dir)
10:42:29   File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
10:42:29     raise CalledProcessError(retcode, cmd)
10:42:29 subprocess.CalledProcessError: Command '['apt-src', 'build', 'ros-indigo-jsk-pcl-ros-utils']' returned non-zero exit status 1

@k-okada
Copy link
Member

k-okada commented Dec 15, 2016

something wrong on jsk_demos
http://jenkins.jsk.imi.i.u-tokyo.ac.jp:8080/job/trusty-travis-jsk-ros-pkg-jsk_demos-indigo-deb-true-ros-indigo-convex-decomposition-ros-indigo-ivcon-true/82/console

[drc_task_common:cmake] -- [roseus.cmake] drc_task_common depends on audio_common_msgs;std_msgs;actionlib_msgs;bond;diagnostic_msgs;geometry_msgs;jsk_footstep_msgs;jsk_hark_msgs;move_base_msgs;nav_msgs;octomap_msgs;people_msgs;pr2_msgs;rosgraph_msgs;roscpp;actionlib;actionlib_tutorials;dynamic_reconfigure;ml_classifiers;nodelet;roscpp_tutorials;sensor_msgs;jsk_gui_msgs;jsk_network_tools;map_msgs;openni2_camera;pcl_msgs;jsk_recognition_msgs;posedetection_msgs;shape_msgs;object_recognition_msgs;smach_msgs;sound_play;std_srvs;stereo_msgs;tf;dynamic_tf_publisher;image_view2;jsk_rqt_plugins;laser_assembler;tf2_msgs;topic_tools;jsk_topic_tools;opencv_apps;trajectory_msgs;control_msgs;moveit_msgs;pr2_controllers_msgs;view_controller_msgs;jsk_rviz_plugins;visualization_msgs;jsk_footstep_planner;jsk_footstep_controller;jsk_perception;roseus_remote;drc_com_common;roseus_smach
[drc_task_common:cmake] -- [roseus.cmake] drc_task_common will compile bond;jsk_footstep_msgs;jsk_hark_msgs;octomap_msgs;people_msgs;ml_classifiers;nodelet;roscpp_tutorials;jsk_gui_msgs;jsk_network_tools;map_msgs;openni2_camera;pcl_msgs;jsk_recognition_msgs;posedetection_msgs;object_recognition_msgs;smach_msgs;stereo_msgs;dynamic_tf_publisher;image_view2;jsk_rqt_plugins;laser_assembler;jsk_topic_tools;opencv_apps;moveit_msgs;view_controller_msgs;jsk_rviz_plugins;drc_com_common
[jsk_demo_common:cmake] -- set EUSDIR to /opt/ros/indigo/share/euslisp/jskeus/eus
[jsk_demo_common:cmake] -- set ARCHDIR to Linux64
[jsk_demo_common:cmake] -- Generating .msg files for action jsk_demo_common/DemoCommon /workspace/ros/ws_jsk_demos/src/jsk_demos/jsk_demo_common/action/DemoCommon.action
[jsk_demo_common:cmake] Generating for action DemoCommon
[jsk_demo_common:cmake] -- jsk_demo_common: 9 messages, 0 services
[jsk_demo_common:cmake] -- Configuring done
[elevator_move_base_pr2:make] [100%] Built target elevator_move_base_pr2_generate_messages_eus
[elevator_move_base_pr2:make] Scanning dependencies of target elevator_move_base_pr2_generate_messages
[elevator_move_base_pr2:make] [100%] Built target elevator_move_base_pr2_generate_messages
[jsk_demo_common:cmake] -- Generating done
[jsk_demo_common:cmake] -- Build files have been written to: /workspace/ros/ws_jsk_demos/build/jsk_demo_common
[elevator_move_base_pr2:make] Linking CXX executable /workspace/ros/ws_jsk_demos/devel/.private/elevator_move_base_pr2/lib/elevator_move_base_pr2/color_point_detector
[jsk_demo_common:make] Scanning dependencies of target bond_generate_messages_eus
[jsk_demo_common:make] Scanning dependencies of target _jsk_demo_common_generate_messages_check_deps_EventHeader
[jsk_demo_common:make] Scanning dependencies of target std_msgs_generate_messages_lisp
[jsk_demo_common:make] Scanning dependencies of target actionlib_msgs_generate_messages_lisp
[jsk_demo_common:make] Scanning dependencies of target image_view2_generate_messages_eus
[jsk_demo_common:make] Scanning dependencies of target dynamic_tf_publisher_generate_messages_eus
[jsk_demo_common:make] [  0%] [  0%] Built target std_msgs_generate_messages_lisp
[jsk_demo_common:make] [  0%] Built target actionlib_msgs_generate_messages_lisp
[jsk_demo_common:make] Generating EusLisp code from bond/Constants.msg
[jsk_demo_common:make] [  0%] [  0%] Scanning dependencies of target geometry_msgs_generate_messages_lisp
[jsk_demo_common:make] Scanning dependencies of target _jsk_demo_common_generate_messages_check_deps_DemoCommonFeedback
[jsk_demo_common:make] Generating EusLisp code from bond/Constants.msg
[jsk_demo_common:make] Generating EusLisp code from bond/Constants.msg
[jsk_demo_common:make] [  0%] Built target geometry_msgs_generate_messages_lisp
[jsk_demo_common:make] [  0%] Generating EusLisp code from bond/Status.msg
[jsk_demo_common:make] [  0%] Built target _jsk_demo_common_generate_messages_check_deps_EventHeader
[jsk_demo_common:make] [  0%] Generating EusLisp manifest code for bond
[jsk_demo_common:make] [  0%] Built target _jsk_demo_common_generate_messages_check_deps_DemoCommonFeedback
[jsk_demo_common:make] Scanning dependencies of target _jsk_demo_common_generate_messages_check_deps_DemoCommonActionGoal
[jsk_demo_common:make] [  0%] Generating EusLisp code from bond/Status.msg
[jsk_demo_common:make] [  0%] [  0%] Generating EusLisp code from bond/Status.msg
[jsk_demo_common:make] Generating EusLisp manifest code for bond
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/Footstep.msg
[jsk_demo_common:make] [  0%] Generating EusLisp manifest code for bond
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/FootstepArray.msg
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/PlanFootstepsAction.msg
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/PlanFootstepsActionGoal.msg
[elevator_move_base_pr2:make] [100%] Built target color_point_detector
Finished <<< elevator_move_base_pr2                      [ 13.2 seconds ]
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/PlanFootstepsActionResult.msg
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/PlanFootstepsActionFeedback.msg
[jsk_demo_common:make] Scanning dependencies of target _jsk_demo_common_generate_messages_check_deps_DemoCommonActionResult
[jsk_demo_common:make] Scanning dependencies of target _jsk_demo_common_generate_messages_check_deps_DemoCommonGoal
[jsk_demo_common:make] [  0%] Built target _jsk_demo_common_generate_messages_check_deps_DemoCommonActionResult
[jsk_demo_common:make] Scanning dependencies of target _jsk_demo_common_generate_messages_check_deps_FunctionEvent
[jsk_demo_common:make] Scanning dependencies of target _jsk_demo_common_generate_messages_check_deps_DemoCommonActionFeedback
[jsk_demo_common:make] [  0%] Scanning dependencies of target _jsk_demo_common_generate_messages_check_deps_DemoCommonResult
[jsk_demo_common:make] Built target _jsk_demo_common_generate_messages_check_deps_DemoCommonGoal
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/PlanFootstepsGoal.msg
[jsk_demo_common:make] [  0%] [  0%] Built target _jsk_demo_common_generate_messages_check_deps_DemoCommonActionFeedback
[jsk_demo_common:make] Built target _jsk_demo_common_generate_messages_check_deps_FunctionEvent
[jsk_demo_common:make] [  0%] [  0%] [  0%] Built target _jsk_demo_common_generate_messages_check_deps_DemoCommonResult
[jsk_demo_common:make] Generating EusLisp code from jsk_footstep_msgs/PlanFootstepsResult.msg
[jsk_demo_common:make] Generating EusLisp code from jsk_footstep_msgs/PlanFootstepsFeedback.msg
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsAction.msg
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/Footstep.msg
[jsk_demo_common:make] [  0%] [  0%] [  0%] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsActionGoal.msg
[jsk_demo_common:make] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsActionResult.msg
[jsk_demo_common:make] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsActionFeedback.msg
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/PlanFootstepsResult.msg
[jsk_demo_common:make] [  0%] [  0%] [  0%] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsGoal.msg
[jsk_demo_common:make] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsResult.msg
[jsk_demo_common:make] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsFeedback.msg
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsActionGoal.msg
[jsk_demo_common:make] [  0%] [  0%] [  0%] Generating EusLisp manifest code for jsk_footstep_msgs
[jsk_demo_common:make] Generating EusLisp manifest code for jsk_hark_msgs
[jsk_demo_common:make] Generating EusLisp code from jsk_hark_msgs/HarkPower.msg
[jsk_demo_common:make] [  0%] Generating EusLisp code from jsk_footstep_msgs/ExecFootstepsGoal.msg
[jsk_demo_common:make] [  0%] Generating EusLisp manifest code for jsk_footstep_msgs
[jsk_demo_common:make] [  0%] Generating EusLisp code from people_msgs/People.msg
[jsk_demo_common:make] [  0%] Generating EusLisp manifest code for jsk_hark_msgs
[drc_task_common:cmake] gen_reconfigure_msg.py : output
[drc_task_common:cmake] gen_reconfigure_msg.py : result 0
[drc_task_common:cmake] gen_reconfigure_msg.py : error
[drc_task_common:cmake] gen_reconfigure_msg.py : pythonpath /workspace/ros/ws_jsk_demos/devel/lib/python2.7/dist-packages:/opt/ros/indigo/lib/python2.7/dist-packages
[drc_task_common:cmake] gen_reconfigure_msg.py : pythonpath /workspace/ros/ws_jsk_demos/devel/.private/drc_task_common/lib/python2.7/dist-packages:/workspace/ros/ws_jsk_demos/devel/lib/python2.7/dist-packages:/opt/ros/indigo/lib/python2.7/dist-packages
[drc_task_common:cmake] CMake Error at /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:271 (message):
[drc_task_common:cmake]   Could not find 'share/jsk_pcl_ros/cmake/jsk_pcl_ros-msg-paths.cmake'
[drc_task_common:cmake]   (searched in
[drc_task_common:cmake]   '/workspace/ros/ws_jsk_demos/devel/.private/drc_task_common;/workspace/ros/ws_jsk_demos/devel;/opt/ros/indigo').
[drc_task_common:cmake] Call Stack (most recent call first):
[drc_task_common:cmake]   CMakeLists.txt:46 (generate_messages)
[drc_task_common:cmake] 
[drc_task_common:cmake] 
[drc_task_common:cmake] -- Configuring incomplete, errors occurred!
[drc_task_common:cmake] See also "/workspace/ros/ws_jsk_demos/build/drc_task_common/CMakeFiles/CMakeOutput.log".
[drc_task_common:cmake] See also "/workspace/ros/ws_jsk_demos/build/drc_task_common/CMakeFiles/CMakeError.log".
Failed <<< drc_task_common                             [ 16.0 seconds ]

@k-okada
Copy link
Member

k-okada commented Dec 15, 2016

need jsk-ros-pkg/jsk_demos#1210 ??

@wkentaro
Copy link
Member Author

wkentaro commented Feb 8, 2017

This is done: #1980 (comment)

@wkentaro wkentaro closed this as completed Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants