Closed garaemon closed 9 years ago
hrpsys-config.test also fails
$ rostest hrpsys_tools test-hrpsys-config.test
... logging to /home/hrpuser/.ros/log/rostest-hrp2017v-25128.log
Traceback (most recent call last):
File "/opt/ros/hydro/bin/rostest", line 53, in <module>
rostestmain()
File "/opt/ros/hydro/lib/python2.7/dist-packages/rostest/__init__.py", line 268, in rostestmain
_main()
File "/opt/ros/hydro/lib/python2.7/dist-packages/rostest/rostest_main.py", line 142, in rostestmain
testCase = rostest.runner.createUnitTest(pkg, test_file)
File "/opt/ros/hydro/lib/python2.7/dist-packages/rostest/runner.py", line 227, in createUnitTest
config = roslaunch.parent.load_config_default([test_file], _DEFAULT_TEST_PORT)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/config.py", line 428, in load_config_default
loader.load(f, config, verbose=verbose)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 698, in load
self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 670, in _load_launch
self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 638, in _recurse_load
self._env_tag(tag, context, ros_config)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
return f(*args, **kwds)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 491, in _env_tag
self.load_env(context, ros_config, *self.reqd_attrs(tag, context, XmlLoader.ENV_ATTRS))
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 188, in reqd_attrs
return [self.resolve_args(tag.attributes[a].value, context) for a in attrs]
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 159, in resolve_args
return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 299, in resolve_args
resolved = _resolve_args(resolved, context, resolve_anon, commands)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in _resolve_args
resolved = commands[command](resolved, a, args, context)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 137, in _find
return _find_executable(resolve_without_path, a, [args[0], path], context)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 173, in _find_executable
full_path = _get_executable_path(rp.get_path(args[0]), path)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 199, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: openrtm_aist
ROS path [0]=/opt/ros/hydro/share/ros
ROS path [1]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_roseus/geneus
ROS path [2]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/3rdparty/assimp_devel
ROS path [3]=/home/hrpuser/ros/hydro/src/multisense/multisense_description
ROS path [4]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_model_tools/euscollada
ROS path [5]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/rtmbuild
ROS path [6]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/openrtm_tools
ROS path [7]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_roseus/roseus
ROS path [8]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_pr2eus/pr2eus
ROS path [9]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/hrpsys_tools
ROS path [10]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge
ROS path [11]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials
ROS path [12]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/openrtm_ros_bridge
ROS path [13]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg-unreleased/jsk_robot/jsk_hrp2_ros_bridge
ROS path [14]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_control/jsk_footstep_controller
ROS path [15]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/image_view2
ROS path [16]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_coordination_system/dynamic_tf_publisher
ROS path [17]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_footstep_msgs
ROS path [18]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_gui_msgs
ROS path [19]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_hark_msgs
ROS path [20]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_recognition/jsk_recognition_msgs
ROS path [21]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/3rdparty/sklearn
ROS path [22]=/home/hrpuser/ros/hydro/src/view_controller_msgs
ROS path [23]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_topic_tools
ROS path [24]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_recognition/jsk_pcl_ros
ROS path [25]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_visualization/jsk_rviz_plugins
ROS path [26]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_control/jsk_footstep_planner
ROS path [27]=/opt/ros/hydro/share
ROS path [28]=/opt/ros/hydro/stacks
hrpuser@hrp2017v:~/ros/hydro/src/rtm-ros-robotics/rtmros_common$
This small test code fails:
<launch>
<node name="rtcd" pkg="openrtm_aist" type="rtcd" />
</launch>
$ roslaunch ~/hoge.launch
... logging to /home/hrpuser/.ros/log/0977eb3e-ae0c-11e4-8f38-00031d0c7c5c/roslaunch-hrp2017v-27538.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://hrp2017v:41584/
SUMMARY
========
PARAMETERS
* /rosdistro
* /rosversion
NODES
/
rtcd (openrtm_aist/rtcd)
auto-starting new master
process[master]: started with pid [27552]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 0977eb3e-ae0c-11e4-8f38-00031d0c7c5c
process[rosout-1]: started with pid [27567]
started core service [/rosout]
ERROR: cannot launch node of type [openrtm_aist/rtcd]: openrtm_aist
ROS path [0]=/opt/ros/hydro/share/ros
ROS path [1]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_roseus/geneus
ROS path [2]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/3rdparty/assimp_devel
ROS path [3]=/home/hrpuser/ros/hydro/src/multisense/multisense_description
ROS path [4]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_model_tools/euscollada
ROS path [5]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/rtmbuild
ROS path [6]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/openrtm_tools
ROS path [7]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_roseus/roseus
ROS path [8]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_pr2eus/pr2eus
ROS path [9]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/hrpsys_tools
ROS path [10]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge
ROS path [11]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials
ROS path [12]=/home/hrpuser/ros/hydro/src/rtm-ros-robotics/rtmros_common/openrtm_ros_bridge
ROS path [13]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg-unreleased/jsk_robot/jsk_hrp2_ros_bridge
ROS path [14]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_control/jsk_footstep_controller
ROS path [15]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_ros_patch/image_view2
ROS path [16]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_coordination_system/dynamic_tf_publisher
ROS path [17]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_footstep_msgs
ROS path [18]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_gui_msgs
ROS path [19]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_hark_msgs
ROS path [20]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_recognition/jsk_recognition_msgs
ROS path [21]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/3rdparty/sklearn
ROS path [22]=/home/hrpuser/ros/hydro/src/view_controller_msgs
ROS path [23]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_common/jsk_topic_tools
ROS path [24]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_recognition/jsk_pcl_ros
ROS path [25]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_visualization/jsk_rviz_plugins
ROS path [26]=/home/hrpuser/ros/hydro/src/jsk-ros-pkg/jsk_control/jsk_footstep_planner
ROS path [27]=/opt/ros/hydro/share
ROS path [28]=/opt/ros/hydro/stacks
^C[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
we need to remove all the
pkg="openrtm_aist"
$(find openrtm_aist)
pkg="hrpsys"
$(find hrpsys)
I'd like to know other robots which uses hrpsys on indigo
please use deb version of openrtm/openhrp3 for now
how about hrpsys? use deb version?
✉︎ Ryohei Ueda
On Fri, Feb 6, 2015 at 7:03 AM -0800, "Kei Okada" notifications@github.com wrote:
please use deb version of openrtm/openhrp3 for now
— Reply to this email directly or view it on GitHub.
I think you're using latest version of hrpsys
I tried to use latest hrpsys wothout ros package wrapper, but it's not working because it's no longer ros package. I revert the environment to ros-wrappers
✉︎ Ryohei Ueda
On Fri, Feb 6, 2015 at 7:07 AM -0800, "Kei Okada" notifications@github.com wrote:
I think you're using latest version of hrpsys
— Reply to this email directly or view it on GitHub.
https://github.com/k-okada/jsk_common/commit/aaffd5b74f6bef8d671caefd85a4649c970d5d09 should fix this problem
also satisfy https://github.com/jsk-ros-pkg/jsk_common/issues/726 request
k-okada/jsk_common@aaffd5b should fix this problem
Please check your code and merge after testing.
Good! But the jenkins test is not enough. Please run test code.
I'm really nervous and conservative about this topic now.
Good! But the jenkins test is not enough. Please run test code.
At this momement, I think test in hrpsys_tools and test in hrpsys_ros_bridge are good test code
if you still have non-catkin hrpsys environment, please check by adding
export ROS_PACKAGE_PATH=
pwd/devel/share/:$ROS_PACKAGE_PATH
and see if this works
◉ Kei Okada
On Sat, Feb 7, 2015 at 2:45 AM, Ryohei Ueda notifications@github.com wrote:
Good! But the jenkins test is not enough. Please run test code.
I'm really nervous and conservative about this topic now.
— Reply to this email directly or view it on GitHub https://github.com/start-jsk/rtmros_common/issues/651#issuecomment-73280646 .
if you still have non-catkin hrpsys environment, please check by adding
export ROS_PACKAGE_PATH=
pwd/devel/share/:$ROS_PACKAGE_PATH
and see if this works
oops, I already removed it, however I also came up with this idea but forget to test it...
I will test it tomorrow.
that's what we do in https://github.com/k-okada/jsk_common/blob/use_catkin_tools/jsk.rosbuild, so it will ready on tomorrow.
◉ Kei Okada
On Sat, Feb 7, 2015 at 2:55 AM, Ryohei Ueda notifications@github.com wrote:
if you still have non-catkin hrpsys environment, please check by adding export ROS_PACKAGE_PATH=pwd/devel/share/:$ROS_PACKAGE_PATH and see if this works
oops, I already removed it, however I also came up with this idea but forget to test it...
I will test it tomorrow.
— Reply to this email directly or view it on GitHub https://github.com/start-jsk/rtmros_common/issues/651#issuecomment-73282349 .
If this still happens please reopen.
please explain your setup and error code, also adding test program to reproduce this would be fine.
◉ Kei Okada
On Wed, Sep 16, 2015 at 3:51 PM, Isaac I.Y. Saito notifications@github.com wrote:
If this still happens please reopen.
— Reply to this email directly or view it on GitHub https://github.com/start-jsk/rtmros_common/issues/651#issuecomment-140647514 .
with latest hrpsys/openrtm configuration (it means without ros package wrapper and built with
catkin build
), rtmlaunch.py tells following error:Is there anybody who can ever successfully launch hrpsys_ros_bridge.launch?