{"id":3582,"date":"2024-06-24T14:37:47","date_gmt":"2024-06-24T05:37:47","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=3582"},"modified":"2024-06-29T13:07:24","modified_gmt":"2024-06-29T04:07:24","slug":"docker%e4%b8%8a%e3%81%a7%e3%81%ae%e3%83%81%e3%83%bc%e3%83%a0%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%a0%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%ef%bc%88gazebo%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=3582","title":{"rendered":"Docker\u4e0a\u3067\u306e\u30c1\u30fc\u30e0\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4f7f\u3044\u65b9\uff08gazebo\uff09"},"content":{"rendered":"<p>\u30c1\u30fc\u30e0\u306e\u30d7\u30ed\u30b0\u30e9\u30e0https:\/\/github.com\/babyigers-r\/rcll \u306b\u3042\u308a\u307e\u3059\uff0e<br \/>\nDocker \u3067\u30d3\u30eb\u30c9\u3057\u3066\uff0c\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\uff0e<br \/>\n\u4e2d\u306e\uff0cgit\/rcll\/scripts \u306erosRcllRefBoxNetwork.sh \u306eIP\u30a2\u30c9\u30ec\u30b9\u3092172.15.255.255\u306b\u66f8\u304d\u63db\u3048\u307e\u3057\u3087\u3046\uff08ifconfig \u3067\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\uff09\uff0e<br \/>\nrefbox \u306f\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u95a2\u4fc2\u304c\u3042\u308b\u306e\u3067\uff0c\u81ea\u5206\u3067build\u3057\u305f\u65b9\u304c\u826f\u3055\u305d\u3046\uff0e<br \/>\n\u305f\u3060\uff0c\u305d\u306e\u5834\u5408\uff0c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u63db\u3048\u308b\u305f\u3073\u306bbuild \u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\uff0c\u3061\u3087\u3063\u3068\u4e0d\u4fbf\u304b\u3082\uff0e<br \/>\nrefbox-frontend \u306f\uff0c\u4f55\u3082\u8003\u3048\u306a\u304f\u3066\u826f\u3055\u305d\u3046\u306a\u306e\u3067Docker\u304b\u3089\u53d6\u3063\u3066\u304d\u307e\u3057\u3087\u3046\u304b\uff0e<\/p>\n<p>\u25a0 btr2024\u306eDocker<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd git\r\ngit clone https:\/\/github.com\/wadaru\/docker-config\r\ncd docker-config\/rcll-btr\r\ndocker build . -t btr2024\r\ndocker run -p 10022:22 -p 6080:80 -t btr2024\r\n<\/pre>\n<p>\u25a0 btr2024\u306e\u30bf\u30fc\u30df\u30ca\u30eb<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# \u30e6\u30fc\u30b6\u540drobotino\u306b\u5bfe\u3059\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\uff0crobotino \u3067\u3059\uff0e\r\nssh localhost -l robotino -p 10022\r\ncd git\/rcll\/scripts\/\r\n# IP\u3092Docker\u5185\u306e\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8IP\u306b\u5909\u66f4\u3057\u3066\u4e0b\u3055\u3044\uff0e\r\ncat rosRcllRefBoxNetwork.sh \r\n#!\/bin\/bash\r\n# ...\r\nIP=172.17.255.255\r\n#...\r\n<\/pre>\n<p>\u25a0RefBox \u306e\u6e96\u5099<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd rcll-refbox\r\ncat cfg\/comm\/default_comm.yaml|grep 172 -a3\r\n    public-peer:\r\n      # host: !ipv4 192.168.122.255\r\n      # host: !ipv4 127.0.0.1\r\n      host: !ipv4 172.17.255.255\r\n      # port: !udp-port 4444\r\n      send-port: !udp-port 4444\r\n      recv-port: !udp-port 4445\r\n--\r\n    cyan-peer:\r\n      # host: !ipv4 192.168.122.255\r\n      # host: !ipv4 127.0.0.1\r\n      host: !ipv4 172.17.255.255\r\n      # port: !udp-port 4441\r\n      send-port: !udp-port 4441\r\n      recv-port: !udp-port 4446\r\n--\r\n    magenta-peer:\r\n      # host: !ipv4 192.168.122.255\r\n      # host: !ipv4 127.0.0.1\r\n      host: !ipv4 172.17.255.255\r\n      # port: !udp-port 4442\r\n      send-port: !udp-port 4442\r\n      recv-port: !udp-port 4447\r\ndocker build . -t ercll-refbox\r\n<\/pre>\n<p>\u25a0RefBox \u306e\u8d77\u52d5<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd rcll-refbox\r\ndocker run -p 1234:1234 -t rcll-refbox\r\n<\/pre>\n<p>\u25a0RefBox-FrontEnd \u306e\u6e96\u5099<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# cd rcll-refbox-frontend\r\n# docker build . -t rcll-refbox-frontend\r\ndocker pull quay.io\/robocup-logistics\/rcll-refbox-frontend\r\n<\/pre>\n<p>\u25a0RefBox-FrontEnd \u306e\u8d77\u52d5<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# cd rcll-refbox-frontend\r\n# docker run -p -t 4137:80 rcll-refbox-frontend\r\ndocker run -it -p 4173:80 quay.io\/robocup-logistics\/rcll-refbox-frontend\r\n<\/pre>\n<p>\u3053\u308c\u3067\u30d6\u30e9\u30a6\u30b6\u304b\u3089localhost:4173 \u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089frontend\u306b\u63a5\u7d9a\u3067\u304d\u307e\u3059\uff0e<br \/>\nMac \u3060\u3068\uff0cControl + Command + O \u3067\u7ba1\u7406\u8005\u753b\u9762\u304c\u51fa\u307e\u3059\uff0e<br \/>\n\u305f\u3060\u3057\uff0cChrome \u3060\u3068\u53cd\u5fdc\u3057\u306a\u3044\u306e\u3067\uff0cSafari \u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e<\/p>\n<p>\u25a0gazebo \u306e\u6e96\u5099<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd git\/gazebo-rcll\r\ncmake .\r\nmake\r\n<\/pre>\n<p>\u25a0\u30c1\u30fc\u30e0\u306e\u30d7\u30ed\u30b0\u30e9\u30e0<br \/>\n\u30d6\u30e9\u30a6\u30b6\u304b\u3089localhost:6080\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30bf\u30fc\u30df\u30ca\u30eb\uff08MATE Terminal\uff09\u3092\u7acb\u3061\u4e0a\u3052\u3066\uff0c<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd git\/rcll\/scripts\r\n.\/startRCLL.sh gazebo\r\n<\/pre>\n<p>\u25a0\u7af6\u6280\u958b\u59cb<br \/>\n\u30d6\u30e9\u30a6\u30b6\u304b\u3089localhost:6080\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30bf\u30fc\u30df\u30ca\u30eb\uff08MATE Terminal\uff09\u3092\u7acb\u3061\u4e0a\u3052\u3066\uff0c<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd git\/rcll\/python\r\npython3 game2024.py gazebo\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30c1\u30fc\u30e0\u306e\u30d7\u30ed\u30b0\u30e9\u30e0https:\/\/github.com\/babyigers-r\/ &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=3582\"> <span class=\"screen-reader-text\">Docker\u4e0a\u3067\u306e\u30c1\u30fc\u30e0\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4f7f\u3044\u65b9\uff08gazebo\uff09<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[3,2,26,9,24,27,6,8,14],"tags":[],"class_list":["post-3582","post","type-post","status-publish","format-standard","hentry","category-logistics-league","category-robocup","category-robotino-2","category-robotino-3","category-robotino-4","category-ros","category-setting","category-ubuntu","category-14"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3582"}],"version-history":[{"count":8,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3582\/revisions"}],"predecessor-version":[{"id":3593,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3582\/revisions\/3593"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}