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

update launch files for multi name server #302

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ishiguroJSK
Copy link
Contributor

fkanehiro/hrpsys-base#1255start-jsk/rtmros_common#1054 がマージされたので作りなおしました.
今度はROS含め多重起動できると思います.
ipythonの引数に各ポート番号をいい感じに渡せないのが残念ですが・・・
↓起動例

ROS_MASTER_URI=http://localhost:21311; rtmlaunch hrpsys_choreonoid_tutorials jaxon_red_choreonoid.launch corbaport:=25005 managerport:=25006
ROS_MASTER_URI=http://localhost:21311; rviz
ipython -i `rospack find hrpsys_choreonoid_tutorials`/scripts/jaxon_red_setup.py "JAXON_RED(Robot)0"
(defaultでは失敗するので)
rtm.nsport = 25005; rtm.mgrport = 25006; hcf = JAXON_RED_HrpsysConfigurator("JAXON_RED"); hcf.init("JAXON_RED(Robot)0", connect_constraint_force_logger_ports=False);
hcf.abc_svc.goPos(0,0,0)

ROS_MASTER_URI=http://localhost:31311; rtmlaunch hrpsys_choreonoid_tutorials jaxon_red_choreonoid.launch corbaport:=35005 managerport:=35006
ROS_MASTER_URI=http://localhost:31311; rviz
ipython -i `rospack find hrpsys_choreonoid_tutorials`/scripts/jaxon_red_setup.py "JAXON_RED(Robot)0"
(defaultでは失敗するので)
rtm.nsport = 35005; rtm.mgrport = 35006; hcf = JAXON_RED_HrpsysConfigurator("JAXON_RED"); hcf.init("JAXON_RED(Robot)0", connect_constraint_force_logger_ports=False);
hcf.abc_svc.goPos(0,0,0)

@ishiguroJSK
Copy link
Contributor Author

ROS_MASTER_URI=http://localhost:21311; rtmlaunch hrpsys_choreonoid_tutorials jaxon_red_choreonoid.launch corbaport:=25005 managerport:=25006
ROS_MASTER_URI=http://localhost:21311; rviz
ipython -i `rospack find hrpsys_choreonoid_tutorials`/scripts/jaxon_red_setup.py "JAXON_RED(Robot)0"
rtm.nsport = 25005; rtm.mgrport = 25006; hcf = JAXON_RED_HrpsysConfigurator("JAXON_RED"); hcf.init("JAXON_RED(Robot)0", connect_constraint_force_logger_ports=False);
hcf.abc_svc.goPos(0,0,0)

ROS_MASTER_URI=http://localhost:31311; rtmlaunch hrpsys_choreonoid_tutorials jaxon_blue_choreonoid.launch corbaport:=35005 managerport:=35006
ROS_MASTER_URI=http://localhost:31311; rviz
ipython -i `rospack find hrpsys_choreonoid_tutorials`/scripts/jaxon_blue_rh_setup.py "JAXON_BLUE(Robot)0"
rtm.nsport = 35005; rtm.mgrport = 35006; hcf = JAXON_BLUE_HrpsysConfigurator("JAXON_BLUE"); hcf.init("JAXON_BLUE(Robot)0", connect_constraint_force_logger_ports=False);
hcf.abc_svc.goPos(0,0,0)

ROS_MASTER_URI=http://localhost:41311; rtmlaunch hrpsys_choreonoid_tutorials chidori_choreonoid.launch corbaport:=45005 managerport:=45006
ROS_MASTER_URI=http://localhost:41311; rviz
ipython -i `rospack find hrpsys_choreonoid_tutorials`/scripts/chidori_rh_setup.py "CHIDORI(Robot)0"
rtm.nsport = 45005; rtm.mgrport = 45006; hcf = CHIDORI_HrpsysConfigurator("CHIDORI"); hcf.init("CHIDORI(Robot)0", connect_constraint_force_logger_ports=False);
hcf.abc_svc.goPos(0,0,0)

@kyawawa
Copy link
Member

kyawawa commented Mar 12, 2019

現状restartを繰り返しても通らないと思います.
僕のアカウントだとなぜか50分超えてビルドが出来たのですが,以前見た感じだと1時間10分くらいかかるので,何回繰り返しても今のままでは無理な気がします.

@ishiguroJSK
Copy link
Contributor Author

他のビルドとの兼ね合いガチャとかでもないんだっけ?

@kyawawa
Copy link
Member

kyawawa commented Mar 12, 2019

100%の確証ではありませんが,そんなレベルでは無さそうです
以前だいぶ頑張りましたが,50分を切ることは出来ませんでした

@kyawawa
Copy link
Member

kyawawa commented Mar 13, 2019

ちなみに,travisでチェックしているのはビルドだけなので,.shとlaunchの変更だけならtravis通す必要はないです.
travisとしてそれで良いのかは置いておいて…

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

Successfully merging this pull request may close these issues.

2 participants