From 8150a0dc41477b9aa19f06d1d4649e4993572886 Mon Sep 17 00:00:00 2001 From: ishiguro Date: Fri, 10 Aug 2018 19:50:58 +0900 Subject: [PATCH 1/2] add corbaport, managerport, USE_ROS arg --- hrpsys_choreonoid/launch/run_choreonoid.sh | 24 +++---- .../launch/startup_choreonoid.launch | 2 + .../launch/chidori_choreonoid.launch | 49 ++++++------- .../launch/jaxon_blue_choreonoid.launch | 70 ++++++++++-------- .../launch/jaxon_red_choreonoid.launch | 71 +++++++++++-------- 5 files changed, 115 insertions(+), 101 deletions(-) diff --git a/hrpsys_choreonoid/launch/run_choreonoid.sh b/hrpsys_choreonoid/launch/run_choreonoid.sh index a9ac3acc..cdbbdd38 100755 --- a/hrpsys_choreonoid/launch/run_choreonoid.sh +++ b/hrpsys_choreonoid/launch/run_choreonoid.sh @@ -3,18 +3,18 @@ ### choose choreonoid binary choreonoid_exe='choreonoid' -if [ "$(pgrep -x ${choreonoid_exe} | wc -l)" != 0 ]; then - pkill -9 ${choreonoid_exe} - echo "****************************************************" 1>&2 - echo "* *" 1>&2 - echo "* *" 1>&2 - echo "* Old choreonoid process was found. *" 1>&2 - echo "* Process has been killed, please start again. *" 1>&2 - echo "* *" 1>&2 - echo "* *" 1>&2 - echo "****************************************************" 1>&2 - exit 1 -fi +# if [ "$(pgrep -x ${choreonoid_exe} | wc -l)" != 0 ]; then +# pkill -9 ${choreonoid_exe} +# echo "****************************************************" 1>&2 +# echo "* *" 1>&2 +# echo "* *" 1>&2 +# echo "* Old choreonoid process was found. *" 1>&2 +# echo "* Process has been killed, please start again. *" 1>&2 +# echo "* *" 1>&2 +# echo "* *" 1>&2 +# echo "****************************************************" 1>&2 +# exit 1 +# fi cnoid_proj="" if [ "$(echo $1 | grep \.cnoid$ | wc -l)" == 1 ]; then diff --git a/hrpsys_choreonoid/launch/startup_choreonoid.launch b/hrpsys_choreonoid/launch/startup_choreonoid.launch index 8618abf5..f80c566e 100644 --- a/hrpsys_choreonoid/launch/startup_choreonoid.launch +++ b/hrpsys_choreonoid/launch/startup_choreonoid.launch @@ -12,6 +12,7 @@ + @@ -36,6 +37,7 @@ + diff --git a/hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch b/hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch index f3f48767..9fba3225 100644 --- a/hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch +++ b/hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch @@ -5,9 +5,12 @@ + + + @@ -33,6 +36,8 @@ + + @@ -48,33 +53,21 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - diff --git a/hrpsys_choreonoid_tutorials/launch/jaxon_blue_choreonoid.launch b/hrpsys_choreonoid_tutorials/launch/jaxon_blue_choreonoid.launch index e4741b50..730f9350 100644 --- a/hrpsys_choreonoid_tutorials/launch/jaxon_blue_choreonoid.launch +++ b/hrpsys_choreonoid_tutorials/launch/jaxon_blue_choreonoid.launch @@ -8,12 +8,15 @@ + + + + + @@ -62,39 +67,42 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - + + + + + + + + + + + + + - + + + diff --git a/hrpsys_choreonoid_tutorials/launch/jaxon_red_choreonoid.launch b/hrpsys_choreonoid_tutorials/launch/jaxon_red_choreonoid.launch index da777105..dbe207e5 100644 --- a/hrpsys_choreonoid_tutorials/launch/jaxon_red_choreonoid.launch +++ b/hrpsys_choreonoid_tutorials/launch/jaxon_red_choreonoid.launch @@ -8,11 +8,14 @@ + + + + + @@ -66,39 +71,45 @@ - - - - - - - - - - - - - - - + - - - - + + + + + + + + - + + + + + + + + + + + + + + + + + + - From b0da7198a5269c992689192563e4d1e9013ed33c Mon Sep 17 00:00:00 2001 From: ishiguro Date: Thu, 16 Aug 2018 00:04:56 +0900 Subject: [PATCH 2/2] enable ros_bridge functions --- hrpsys_choreonoid/launch/ros_bridge_choreonoid.launch | 2 ++ hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch | 2 ++ .../launch/jaxon_blue_choreonoid.launch | 4 ++++ .../launch/jaxon_red_choreonoid.launch | 4 ++++ .../launch/jaxon_red_vision_connect.launch | 3 ++- 5 files changed, 14 insertions(+), 1 deletion(-) diff --git a/hrpsys_choreonoid/launch/ros_bridge_choreonoid.launch b/hrpsys_choreonoid/launch/ros_bridge_choreonoid.launch index e04cffda..086f3a75 100644 --- a/hrpsys_choreonoid/launch/ros_bridge_choreonoid.launch +++ b/hrpsys_choreonoid/launch/ros_bridge_choreonoid.launch @@ -6,6 +6,7 @@ + @@ -28,6 +29,7 @@ + diff --git a/hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch b/hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch index 9fba3225..f885c92c 100644 --- a/hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch +++ b/hrpsys_choreonoid_tutorials/launch/chidori_choreonoid.launch @@ -57,6 +57,8 @@ + + diff --git a/hrpsys_choreonoid_tutorials/launch/jaxon_blue_choreonoid.launch b/hrpsys_choreonoid_tutorials/launch/jaxon_blue_choreonoid.launch index 730f9350..3b1f59ac 100644 --- a/hrpsys_choreonoid_tutorials/launch/jaxon_blue_choreonoid.launch +++ b/hrpsys_choreonoid_tutorials/launch/jaxon_blue_choreonoid.launch @@ -72,6 +72,8 @@ + + @@ -91,6 +93,8 @@ + + diff --git a/hrpsys_choreonoid_tutorials/launch/jaxon_red_choreonoid.launch b/hrpsys_choreonoid_tutorials/launch/jaxon_red_choreonoid.launch index dbe207e5..701b758b 100644 --- a/hrpsys_choreonoid_tutorials/launch/jaxon_red_choreonoid.launch +++ b/hrpsys_choreonoid_tutorials/launch/jaxon_red_choreonoid.launch @@ -77,6 +77,8 @@ + + @@ -96,6 +98,8 @@ + + diff --git a/hrpsys_choreonoid_tutorials/launch/jaxon_red_vision_connect.launch b/hrpsys_choreonoid_tutorials/launch/jaxon_red_vision_connect.launch index 86109627..5afb7948 100644 --- a/hrpsys_choreonoid_tutorials/launch/jaxon_red_vision_connect.launch +++ b/hrpsys_choreonoid_tutorials/launch/jaxon_red_vision_connect.launch @@ -3,9 +3,10 @@ + - +