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

hrpsys_ros_bridge_tutorialsのcatkin buildが終了しない #183

Open
orikuma opened this issue Feb 11, 2015 · 8 comments
Open

hrpsys_ros_bridge_tutorialsのcatkin buildが終了しない #183

orikuma opened this issue Feb 11, 2015 · 8 comments

Comments

@orikuma
Copy link
Contributor

orikuma commented Feb 11, 2015

Ubuntu14.04+indigo環境において
catkin build hrpsys_ros_bridge_tutorials --make-args -j1
でhrpsys_ros_bridge_tutorialsでcatkin bulidするとcatkin buildが終了しません.
psを見るとhrp2jskのmin-max-tableの作成で止まっているように見えます.

iori     19928  0.0  0.0  12612  2268 pts/10   S+   01:42   0:00 /usr/bin/make -f CMakeFiles/hrp2jsk_hrpsys_ros_bridge_tutorials_compile2.dir/build.make CMakeFiles/hrp2jsk_hrpsys_ros_bridge_tutorials_compile2.dir/build
iori     19935  0.0  0.0   4464   868 pts/10   S+   01:42   0:00 /bin/sh -c /home/iori/ros/indigo/devel/share/euslisp/jskeus/eus/Linux64/bin/irteusgl /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/euslisp/make-joint-min-max-table.l /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l ""\(write-min-max-table\ \(hrp2jsk\)\ \"/home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l\"\ :margin\ 1.0\)"" "(exit)" && touch /home/iori/ros/indigo/build/hrpsys_ros_bridge_tutorials/hrp2jsk_joint_minmax_done
iori     19936  0.0  0.3 244140 26420 pts/10   S+   01:42   0:00 /home/iori/ros/indigo/devel/share/euslisp/jskeus/eus/Linux64/bin/irteusgl /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/euslisp/make-joint-min-max-table.l /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l (write-min-max-table (hrp2jsk) "/home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l" :margin 1.0) (exit)
iori     23104  1.5  0.3 374496 28440 pts/10   Sl+  01:41   4:22 /usr/bin/python /usr/bin/catkin build hrpsys_ros_bridge_tutorials --make-args -j1
iori     26499  0.0  0.0  16936  2164 pts/71   S+   06:21   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=.cvs --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn hrpsys

/home/iori/ros/indigo/build/hrpsys_ros_bridge_tutorials/hrp2jsk_joint_minmax_doneは存在しませんでした.

@k-okada
Copy link
Member

k-okada commented Feb 12, 2015

cd build/hrpsys_ros_bridge_tutorials; make VERBOSE=1
してみてください.

◉ Kei Okada

On Thu, Feb 12, 2015 at 7:01 AM, orikuma [email protected] wrote:

catkin build hrpsys_ros_bridge_tutorials --make-args -j1
でhrpsys_ros_bridge_tutorialsでcatkin bulidするとcatkin buildが終了しません.
psを見るとhrp2jskのmin-max-tableの作成で止まっているように見えます.

iori 19928 0.0 0.0 12612 2268 pts/10 S+ 01:42 0:00 /usr/bin/make -f CMakeFiles/hrp2jsk_hrpsys_ros_bridge_tutorials_compile2.dir/build.make CMakeFiles/hrp2jsk_hrpsys_ros_bridge_tutorials_compile2.dir/build
iori 19935 0.0 0.0 4464 868 pts/10 S+ 01:42 0:00 /bin/sh -c /home/iori/ros/indigo/devel/share/euslisp/jskeus/eus/Linux64/bin/irteusgl /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/euslisp/make-joint-min-max-table.l /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l ""(write-min-max-table\ (hrp2jsk)\ "/home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l"\ :margin\ 1.0)"" "(exit)" && touch /home/iori/ros/indigo/build/hrpsys_ros_bridge_tutorials/hrp2jsk_joint_minmax_done
iori 19936 0.0 0.3 244140 26420 pts/10 S+ 01:42 0:00 /home/iori/ros/indigo/devel/share/euslisp/jskeus/eus/Linux64/bin/irteusgl /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/euslisp/make-joint-min-max-table.l /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l (write-min-max-table (hrp2jsk) "/home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l" :margin 1.0) (exit)
iori 23104 1.5 0.3 374496 28440 pts/10 Sl+ 01:41 4:22 /usr/bin/python /usr/bin/catkin build hrpsys_ros_bridge_tutorials --make-args -j1
iori 26499 0.0 0.0 16936 2164 pts/71 S+ 06:21 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=.cvs --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn hrpsys


Reply to this email directly or view it on GitHub
#183.

@garaemon
Copy link
Member

たぶんomniNamesが他に立ち上がっています

✉︎ Ryohei Ueda

On Wed, Feb 11, 2015 at 4:26 PM -0800, "Kei Okada" [email protected] wrote:

cd build/hrpsys_ros_bridge_tutorials; make VERBOSE=1

してみてください.

◉ Kei Okada

On Thu, Feb 12, 2015 at 7:01 AM, orikuma [email protected] wrote:

catkin build hrpsys_ros_bridge_tutorials --make-args -j1

でhrpsys_ros_bridge_tutorialsでcatkin bulidするとcatkin buildが終了しません.

psを見るとhrp2jskのmin-max-tableの作成で止まっているように見えます.

iori 19928 0.0 0.0 12612 2268 pts/10 S+ 01:42 0:00 /usr/bin/make -f CMakeFiles/hrp2jsk_hrpsys_ros_bridge_tutorials_compile2.dir/build.make CMakeFiles/hrp2jsk_hrpsys_ros_bridge_tutorials_compile2.dir/build

iori 19935 0.0 0.0 4464 868 pts/10 S+ 01:42 0:00 /bin/sh -c /home/iori/ros/indigo/devel/share/euslisp/jskeus/eus/Linux64/bin/irteusgl /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/euslisp/make-joint-min-max-table.l /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l ""(write-min-max-table\ (hrp2jsk)\ "/home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l"\ :margin\ 1.0)"" "(exit)" && touch /home/iori/ros/indigo/build/hrpsys_ros_bridge_tutorials/hrp2jsk_joint_minmax_done

iori 19936 0.0 0.3 244140 26420 pts/10 S+ 01:42 0:00 /home/iori/ros/indigo/devel/share/euslisp/jskeus/eus/Linux64/bin/irteusgl /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/euslisp/make-joint-min-max-table.l /home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l (write-min-max-table (hrp2jsk) "/home/iori/ros/indigo/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/hrp2jsk.l" :margin 1.0) (exit)

iori 23104 1.5 0.3 374496 28440 pts/10 Sl+ 01:41 4:22 /usr/bin/python /usr/bin/catkin build hrpsys_ros_bridge_tutorials --make-args -j1

iori 26499 0.0 0.0 16936 2164 pts/71 S+ 06:21 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=.cvs --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn hrpsys

Reply to this email directly or view it on GitHub

#183.


Reply to this email directly or view it on GitHub.

@k-okada
Copy link
Member

k-okada commented Feb 12, 2015

closed due to @orikuma has more important tasks to focus on

@k-okada k-okada closed this as completed Feb 12, 2015
@garaemon
Copy link
Member

closed due to @orikuma has more important tasks to focus on

It's not a reasonable reason to close issue

@garaemon garaemon reopened this Feb 12, 2015
@garaemon
Copy link
Member

I found a lot of problems of hrpsys_ros_bridge_tutorials with catkin build but I don't have time now to play with and solve issues of building system. So I write downs several hacks to build this project in catkin build

My solution is run following command when you have error in compiling hrpsys_ros_bridge_tutorials.

# amazingly, we cannot use rocsd after successful compilation
cd ~/ros/hydro/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials
# clean up
git clean -xfd
# compile with 1 process
catkin build -v -i -p1 hrpsys_ros_bridge_tutorials --force-cmake --start-with hrpsys_ros_bridge_tutorials --make-args -j1
  1. kill omniNames before building hrpsys_ros_bridge_tutorials.

    If you have error or sent ctrl-c in building hrpsys_ros_bridge_tutorials, you may have zombie omniNames. Please kill it before re-building hrpsys_ros_bridge_tutorials.

  2. invoking euslisp in parallel may cause strange error in catkin build.

    I don't know why and I have never seen this erorr in catkin_make. (DISPLAY environmetal variable may be a problem... Disable DISPLAY during compilation tork-a/jskeus-release#2)
    In order to avoid this problem, run catkin build with -p1 and -j1 like:

catkin build -p1 hrpsys_ros_bridge_tutorials --fore-cmake --make-args -j1
  1. Invoking many export-to-collada processes may cause strange error.

    I don't know why and I have never seen this error in catkin_make.
    You can avoid this problem with the same approach in 2.

@garaemon
Copy link
Member

And alsot STARO model and Jaxson model conversion might have wrong dependency.
I though I have solved this problem here, but confirmation is not perfect.

@orikuma
Copy link
Contributor Author

orikuma commented Feb 23, 2015

この問題は jsk-ros-pkg/jsk_model_tools#98 で解決しますが,
生成されたモデルの関節順序がおかしい問題がまだ残っています.
(jsk-ros-pkg/jsk_model_tools#99)

itohdak pushed a commit to itohdak/rtmros_tutorials that referenced this issue Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants