jsk-ros-pkg / jsk_control

jsk control ros packages
http://github.com/jsk-ros-pkg/jsk_control
14 stars 51 forks source link

Add footstep planner rostest. #647

Closed snozawa closed 7 years ago

snozawa commented 7 years ago

Add footstep planner rostest. https://github.com/jsk-ros-pkg/geneus/issues/51 https://github.com/jsk-ros-pkg/jsk_control/pull/643

snozawa commented 7 years ago

これなんでかhydroでtravis通らなかったので,デバッグ再開するかもです.

エラってるtravis https://api.travis-ci.org/jobs/174734966/log.txt?deansi=true エラー箇所抜粋

[  6%] Built target diagnostic_msgs_generate_messages_eus
Scanning dependencies of target dynamic_tf_publisher_generate_messages_eus
[ 10%] Built target dynamic_tf_publisher_generate_messages_eus
Scanning dependencies of target image_view2_generate_messages_eus
[ 15%] Built target image_view2_generate_messages_eus
Scanning dependencies of target jsk_footstep_planner_generate_messages_eus
[ 15%] Generating EusLisp code from jsk_pcl_ros/SwitchTopic.srv
[ 15%] Generating EusLisp code from jsk_pcl_ros/UpdateOffset.srv
[ 15%] Generating EusLisp code from jsk_pcl_ros/SnapFootstep.srv
Traceback (most recent call last):
  File "/home/travis/ros/ws_jsk_control/src/jsk-ros-pkg/geneus/src/geneus/geneus_main.py", line 171, in genmain
    retcode = generate_srv(options.package, args[1:], options.outdir, search_path)
  File "/home/travis/ros/ws_jsk_control/src/jsk-ros-pkg/geneus/src/geneus/generate.py", line 733, in generate_srv
    generate_srv_from_spec(msg_context, spec, search_path, out_dir, pkg, f)
  File "/home/travis/ros/ws_jsk_control/src/jsk-ros-pkg/geneus/src/geneus/generate.py", line 793, in generate_srv_from_spec
    genmsg.msg_loader.load_depends(msg_context, spec, search_path)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/genmsg/msg_loader.py", line 346, in load_depends
    depends = load_msg_depends(msg_context, spec.request, msg_search_path)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/genmsg/msg_loader.py", line 313, in load_msg_depends
    depspec = load_msg_by_type(msg_context, resolved_type, search_path)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/genmsg/msg_loader.py", line 119, in load_msg_by_type
    file_path = get_msg_file(package_name, base_type, search_path)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/genmsg/msg_loader.py", line 85, in get_msg_file
    (base_type, package, str(search_path[package])))
MsgNotFound: Cannot locate message [FootstepArray] in package [jsk_footstep_msgs] with paths [['/home/travis/ros/ws_jsk_control/devel/share/jsk_footstep_msgs/msg']]
ERROR:  Cannot locate message [FootstepArray] in package [jsk_footstep_msgs] with paths [['/home/travis/ros/ws_jsk_control/devel/share/jsk_footstep_msgs/msg']]
make[2]: *** [/home/travis/ros/ws_jsk_control/devel/share/roseus/ros/jsk_pcl_ros/srv/SnapFootstep.l] Error 3
make[1]: *** [CMakeFiles/jsk_footstep_planner_generate_messages_eus.dir/all] Error 2
make: *** [all] Error 2
[jsk_footstep_planner] <== '/home/travis/ros/ws_jsk_control/build/jsk_footstep_planner/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'
Failed <== jsk_footstep_planner    [ 30.5 seconds ]
]2;[build] There were '1' errors:

Failed to build package 'jsk_footstep_planner' because the following command:

# Command to reproduce:
cd /home/travis/ros/ws_jsk_control/build/jsk_footstep_planner && /home/travis/ros/ws_jsk_control/build/jsk_footstep_planner/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j; cd -

# Path to log:
cat /home/travis/ros/ws_jsk_control/build/build_logs/jsk_footstep_planner.log

Exited with return code: 2

geneusのmsgをつくるときにミスってる.

k-okada commented 7 years ago

なるほど、 https://github.com/jsk-ros-pkg/jsk_roseus/commit/c75fc4d1e9c190cfc108e34b213ca2660466cf54#diff-029427bf9187dea242260357c48088a0 がひつようでした.roseusの1.5.1をソースでいれておいてください.

◉ Kei Okada

2016-11-21 19:09 GMT+09:00 Shunichi Nozawa notifications@github.com:

これなんでかhydroでtravis通らなかったので,デバッグ再開するかもです.

エラってるtravis https://api.travis-ci.org/jobs/174734966/log.txt?deansi=true エラー箇所抜粋

[ 6%] Built target diagnostic_msgs_generate_messages_eus Scanning dependencies of target dynamic_tf_publisher_generate_messages_eus [ 10%] Built target dynamic_tf_publisher_generate_messages_eus Scanning dependencies of target image_view2_generate_messages_eus [ 15%] Built target image_view2_generate_messages_eus Scanning dependencies of target jsk_footstep_planner_generate_messages_eus [ 15%] Generating EusLisp code from jsk_pcl_ros/SwitchTopic.srv [ 15%] Generating EusLisp code from jsk_pcl_ros/UpdateOffset.srv [ 15%] Generating EusLisp code from jsk_pcl_ros/SnapFootstep.srv Traceback (most recent call last): File "/home/travis/ros/ws_jsk_control/src/jsk-ros-pkg/geneus/src/geneus/geneus_main.py", line 171, in genmain retcode = generate_srv(options.package, args[1:], options.outdir, search_path) File "/home/travis/ros/ws_jsk_control/src/jsk-ros-pkg/geneus/src/geneus/generate.py", line 733, in generate_srv generate_srv_from_spec(msg_context, spec, search_path, out_dir, pkg, f) File "/home/travis/ros/ws_jsk_control/src/jsk-ros-pkg/geneus/src/geneus/generate.py", line 793, in generate_srv_from_spec genmsg.msg_loader.load_depends(msg_context, spec, search_path) File "/opt/ros/hydro/lib/python2.7/dist-packages/genmsg/msg_loader.py", line 346, in load_depends depends = load_msg_depends(msg_context, spec.request, msg_search_path) File "/opt/ros/hydro/lib/python2.7/dist-packages/genmsg/msg_loader.py", line 313, in load_msg_depends depspec = load_msg_by_type(msg_context, resolved_type, search_path) File "/opt/ros/hydro/lib/python2.7/dist-packages/genmsg/msg_loader.py", line 119, in load_msg_by_type file_path = get_msg_file(package_name, base_type, search_path) File "/opt/ros/hydro/lib/python2.7/dist-packages/genmsg/msg_loader.py", line 85, in get_msg_file (base_type, package, str(search_path[package]))) MsgNotFound: Cannot locate message [FootstepArray] in package [jsk_footstep_msgs] with paths [['/home/travis/ros/ws_jsk_control/devel/share/jsk_footstep_msgs/msg']] ERROR: Cannot locate message [FootstepArray] in package [jsk_footstep_msgs] with paths [['/home/travis/ros/ws_jsk_control/devel/share/jsk_footstep_msgs/msg']] make[2]: * [/home/travis/ros/ws_jsk_control/devel/share/roseus/ros/jsk_pcl_ros/srv/SnapFootstep.l] Error 3 make[1]: * [CMakeFiles/jsk_footstep_planner_generate_messages_eus.dir/all] Error 2 make: *\ [all] Error 2 [jsk_footstep_planner] <== '/home/travis/ros/ws_jsk_control/build/jsk_footstep_planner/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2' Failed <== jsk_footstep_planner [ 30.5 seconds ] �]2;�[build] There were '1' errors:

Failed to build package 'jsk_footstep_planner' because the following command:

Command to reproduce:

cd /home/travis/ros/ws_jsk_control/build/jsk_footstep_planner && /home/travis/ros/ws_jsk_control/build/jsk_footstep_planner/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j; cd -

Path to log:

cat /home/travis/ros/ws_jsk_control/build/build_logs/jsk_footstep_planner.log

Exited with return code: 2

geneusのmsgをつくるときにミスってる.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_control/pull/647#issuecomment-261895883, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3P9ru9M0ROjXSDWr6mAbSR_3TIISks5rAW3HgaJpZM4KuOX6 .

snozawa commented 7 years ago

ありがとうございます、通るようになりました。