{"id":2390,"date":"2020-08-19T12:40:42","date_gmt":"2020-08-19T03:40:42","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=2390"},"modified":"2021-06-01T10:38:25","modified_gmt":"2021-06-01T01:38:25","slug":"refbox%e3%81%aeros%e5%af%be%e5%bf%9c","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=2390","title":{"rendered":"RefBox\u306eROS\u5bfe\u5fdc"},"content":{"rendered":"<p>\u3068\u308a\u3042\u3048\u305aRobotino\u5468\u308a\u3092ROS\u306b\u5bfe\u5fdc\u3055\u305b\u305f\u3044\u306a\u3041\u3068\u3044\u3046\u91ce\u671b\u306e\u7b2c\u4e00\u5f3e\uff0e<br \/>\n\u3068\u601d\u3063\u305f\u3051\u3069\uff0c\u3059\u3067\u306bTim\u304c\u4f5c\u696d\u3057\u3066\u3044\u305f\u2026\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd git\r\ngit clone https:\/\/github.com\/timn\/ros-rcll_ros_msgs\r\ngit clone https:\/\/github.com\/timn\/ros-rcll_refbox_peer\r\n<\/pre>\n<p>ros-rcll_refbox_peer \u304c\uff0c\u3069\u3046\u3084\u3089Fawkes \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u308b\u3063\u307d\u3044\u3067\u3059\uff0e<br \/>\nprotobuff_comm\/peer.h \u304c\u898b\u3064\u304b\u3089\u306a\u3044\u30a8\u30e9\u30fc\u306b\u95a2\u3057\u3066\u306f\uff0cCMakeLists.txt \u306brcll-refbox \u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u60c5\u5831\u3092\u8ffd\u52a0\uff0e<br \/>\nFawkes_INCLUDE_DIRS \u306b\u52a0\u3048\u3068\u304d\u307e\u3057\u305f\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nelseif (RCLLRefbox_FOUND)\r\n  list(APPEND _LIBRARIES &quot;llsf_msgs&quot;)\r\n  list(APPEND Fawkes_INCLUDE_DIRS &quot;~\/rcll-refbox\/src\/libs\/&quot;)\r\n\r\n\t# Use Fawkes' protobuf_comm\r\n  set_target_properties(rcll_refbox_peer PROPERTIES\r\n    INCLUDE_DIRECTORIES &quot;${Fawkes_INCLUDE_DIRS};${catkin_INCLUDE_DIRS}&quot;\r\n<\/pre>\n<p>\u4e00\u756a\u9762\u5012\u304f\u3055\u305d\u3046\u306a\u306e\u304c\uff0cllsf_msgs \u3092\u5fc5\u8981\u3068\u3057\u3066\u3044\u308b\u90e8\u5206\u3067\uff0crcll-refbox\/src\/msgs \u306b\u7f6e\u304d\u63db\u3048\u308b\u306e\u304c\u56de\u907f\u7b56\u306a\u306e\u304b\u306a\u3041\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nryukoku@NUC8i7BEH:~\/git\/ros-rcll_refbox_peer$ grep fawkes-robotino * -R\r\ncmake\/FindFawkes_llsf_msgs.cmake:# - Fawkes: check for llsf_msgs (fawkes-robotino only)\r\ncmake\/FindRCLLRefbox_llsf_msgs.cmake:# - RCLLRefbox: check for llsf_msgs (fawkes-robotino only)\r\ncmake\/FindFawkes.cmake:      PATHS $ENV{HOME}\/fawkes $ENV{HOME}\/fawkes-robotino $ENV{HOME}\/fawkes-athome\r\ncmake\/FindFawkes.cmake:            $ENV{HOME}\/robotics\/fawkes $ENV{HOME}\/robotics\/fawkes-robotino\r\ncmake\/FindFawkes.cmake:            $ENV{HOME}\/robotics\/fawkes-athome \/opt\/fawkes-robotino\r\n<\/pre>\n<p>\u3053\u3044\u3064\u3089\u3092\u3064\u3076\u3057\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nln -s ~\/rcll-refbox\/src\/msgs ~\/rcll-refbox\/src\/libs\/llsf_msgs\r\n<\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\u306f\uff0c\u3053\u308c\u3067\u3048\u3048\u304b\uff0e<br \/>\n\u6b21\u306f\uff0c\u3053\u306eros\u7248\u306f2017\u5e74\u3067\u66f4\u65b0\u304c\u6b62\u307e\u3063\u3066\u3044\u308b\u306e\u3067\uff0c2020\u5e74\u7248\u306b\u5bfe\u5fdc\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e<br \/>\n\u4e00\u65e6\uff0c\u4f11\u61a9(\u00b4-\u03c9-`)<\/p>\n<hr>\n<p>&#8212; 2021\/05\/21 \u518d\u958b &#8212;<\/p>\n<hr>\n<p>\u30a8\u30e9\u30fc\u3092\u9806\u306b\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u304b\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B; 98%] Building CXX object ros-rcll_refbox_peer\/CMakeFiles\/rcll_refbox_peer.dir\/src\/rcll_refbox_peer_node.cpp.o\r\n\/home\/robotino\/catkin_ws\/src\/ros-rcll_refbox_peer\/src\/rcll_refbox_peer_node.cpp  In function \u2018bool srv_cb_send_machine_report(rcll_ros_msgs::SendMachineReport::Request&amp;, rcll_ros_msgs::SendMachineReport::Response&amp;)\u2019:\r\n\/home\/robotino\/catkin_ws\/src\/ros-rcll_refbox_peer\/src\/rcll_refbox_peer_node.cpp:439:8: error: \u2018class llsf_msgs::MachineReportEntry\u2019 has no member named \u2018set_type\u2019; did you mean \u2018set_name\u2019?\r\n   mre-&gt;set_type(rmre.type);\r\n        ^~~~~~~~\r\n        set_name\r\n<\/pre>\n<p>~\/rcll-refbox\/src\/libs\/llsf_msgs\/MachineReport.proto \u3092\u898b\u308b\u3068\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmessage MachineReportEntry {\r\n  enum CompType {\r\n    COMP_ID  = 2000;\r\n    MSG_TYPE = 60;\r\n  }\r\n\r\n  \/\/ Machine name and recognized type\r\n  \/\/ and zone the machine is in\r\n  required string name = 1;\r\n  optional Zone   zone = 3;\r\n  optional uint32 rotation = 4; \/\/ &#x5B;0-360] in deg\r\n}\r\n<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3044\u3066\uff0ctype\u304c\u6d88\u3048\u3066\u3044\u307e\u3059\u306d\uff0e<br \/>\n~\/rcll-refbox\/src\/llsf-report-machine.cpp \u3092\u898b\u308b\u3068\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n                       entry-&gt;set_name(machine_name_);\r\n<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3044\u3066\uff0cname\u3060\u3051\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\uff0e<br \/>\n\u3067\u306f\uff0cmachine_name_ \u306f\u4f55\u304b\u3068\u3044\u3046\u3068\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n        ArgumentParser argp(argc, argv, &quot;T:r:z:&quot;);\r\n...\r\n        team_name_    = argp.items()&#x5B;0];\r\n        machine_name_ = argp.items()&#x5B;1];\r\n<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3044\u3066\uff0c\u5f15\u6570\u300cr\u300d\u306e\u6587\u5b57\u5217\u304c\u5165\u3063\u3066\u3044\u308b\u3063\u307d\u3044\u3067\u3059\uff0e<br \/>\nr\uff1frotation\uff1f\u89d2\u5ea6\uff1f<br \/>\n\u3042\u3068\u3067\uff0c\u624b\u52d5\u3067\u8a66\u3057\u3066\u307f\u308b\u5fc5\u8981\u304c\u3042\u308a\u305d\u3046\u3067\u3059\uff0e<br \/>\n\u4eca\u306e\u3068\u3053\u308d\uff0cmre->set_type(rmre.type);\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u307f\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\/\/ mre-&gt;set_type(rmre.type);\r\n<\/pre>\n<p>\u6b21\u306e\u30a8\u30e9\u30fc\u306f\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B; 98%] Building CXX object ros-rcll_refbox_peer\/CMakeFiles\/rcll_refbox_peer.dir\/src\/rcll_refbox_peer_node.cpp.o\r\n\/home\/robotino\/catkin_ws\/src\/ros-rcll_refbox_peer\/src\/rcll_refbox_peer_node.cpp  In function \u2018bool srv_cb_send_prepare_machine(rcll_ros_msgs::SendPrepareMachine::Request&amp;, rcll_ros_msgs::SendPrepareMachine::Response&amp;)\u2019:\r\n\/home\/robotino\/catkin_ws\/src\/ros-rcll_refbox_peer\/src\/rcll_refbox_peer_node.cpp:526:8: error: \u2018class llsf_msgs::PrepareInstructionDS\u2019 has no member named \u2018set_gate\u2019\r\n   dsi-&gt;set_gate(req.ds_gate);\r\n<\/pre>\n<p>set_gate \u304c\u5b58\u5728\u3057\u306a\u3044\u3088\u3063\u3066\u3068\u3053\u308d\u3067\u3059\u306d\uff0e<br \/>\nPrepareInstructionDS \u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u3059\uff0e<br \/>\n~\/rcll-refbox\/src\/libs\/llsf_msgs\/MachineInstructions.proto \u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmessage PrepareInstructionDS {\r\n  reserved &quot;gate&quot;;\r\n  reserved 1;\r\n  required uint32 order_id = 2;\r\n}\r\n<\/pre>\n<p>reserved \u306f\uff0c\u904e\u53bb\u3068\u306e\u6574\u5408\u6027\u306e\u305f\u3081\u306b\u6b8b\u3057\u3066\u3044\u308b\u3051\u3069\uff0c\u4eca\u306f\u4f7f\u3063\u3066\u3044\u306a\u3044\u3088\u7684\u306a\u72b6\u614b\u3060\u3063\u305f\u3068\u601d\u3044\u307e\u3059\uff0e<br \/>\n~\/rcll-refbox\/src\/tools\/rcll-prepare-machine.cpp \u3092\u898b\u3066\u307f\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n                        } else if (machine_type_ == &quot;DS&quot;) {\r\n                                llsf_msgs::PrepareInstructionDS *prep_ds = prep.mutable_instruction_ds();\r\n                                prep_ds-&gt;set_order_id(ds_order_id_);\r\n<\/pre>\n<p>DS\u3078\u306e\u30b3\u30de\u30f3\u30c9\u306f\uff0corser_id \u3092\u9001\u308b\u3060\u3051\u3067\u3059\u306d\uff0e<br \/>\n\u3053\u308c\u306f\uff0c\u30aa\u30fc\u30c0\u30fc\u60c5\u5831\u306bgate\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3089\uff0c\u4e0d\u8981\u306b\u306a\u3063\u305f\u3068\u3044\u3046\u6d41\u308c\u3067\u3059\u306d\uff0e<br \/>\n\u3053\u308c\u3089\u306e\u5b9a\u7fa9\u306f\uff0csrc\/ros-rcll_ros_msgs\/srv\/SendPrepareMachine.srv \u306b\u3042\u308b\u306e\u3067\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# DS: gate\/slide to deliver onto\r\n# uint32 ds_gate\r\nuint32 ds_order_id\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n  \/\/ dsi-&gt;set_gate(req.ds_gate);\r\n  dsi-&gt;set_order_id(req.ds_order_id);\r\n<\/pre>\n<p>\u3068\u3057\u3066\u307f\u307e\u3059\u304b\uff0e<br \/>\n\u203b\u3053\u308c\u3082\uff0c\u4e2d\u8eab\u304c\u5408\u3063\u3066\u3044\u308b\u306e\u304b\u3069\u3046\u304b\uff0c\u3042\u3068\u3067\u78ba\u8a8d\u304c\u5fc5\u8981\uff0e<br \/>\n\u6b21\u306f\u306a\u3093\u3060\u308d\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B; 98%] Building CXX object ros-rcll_refbox_peer\/CMakeFiles\/rcll_refbox_peer.dir\/src\/rcll_refbox_peer_node.cpp.o\r\n\/home\/robotino\/catkin_ws\/src\/ros-rcll_refbox_peer\/src\/rcll_refbox_peer_node.cpp  In function \u2018bool srv_cb_send_prepare_machine(rcll_ros_msgs::SendPrepareMachine::Request&amp;, rcll_ros_msgs::SendPrepareMachine::Response&amp;)\u2019:\r\n\/home\/robotino\/catkin_ws\/src\/ros-rcll_refbox_peer\/src\/rcll_refbox_peer_node.cpp:529:20: error: \u2018CsOp_IsValid\u2019 is not a member of \u2018llsf_msgs\u2019\r\n   if (! llsf_msgs::CsOp_IsValid(req.cs_operation)) {\r\n                    ^~~~~~~~~~~~\r\n\/home\/robotino\/catkin_ws\/src\/ros-rcll_refbox_peer\/src\/rcll_refbox_peer_node.cpp:529:20: note: suggested alternative: \u2018CSOp_IsValid\u2019\r\n   if (! llsf_msgs::CsOp_IsValid(req.cs_operation)) {\r\n                    ^~~~~~~~~~~~\r\n                    CSOp_IsValid\r\n<\/pre>\n<p>~\/rcll-refbox\/src\/libs\/llsf_msgs\/MachineInstructions.proto \u306b\u306f\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmessage PrepareInstructionCS {\r\n  required CSOp operation = 1;\r\n}\r\n<\/pre>\n<p>\u3068\u3042\u308a\u307e\u3059\u306d\uff0e<br \/>\n\u3093\uff0e<br \/>\nCsOp \u3067\u306f\u306a\u304f\uff0cCSOp\uff1f<br \/>\n\u305d\u306e\u6b21\u306e\u30a8\u30e9\u30fc\u3082\u540c\u69d8\u3067\u3059\u306d\uff0e<br \/>\n\u6700\u5f8c\u306f\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;100%] Linking CXX executable \/home\/robotino\/catkin_ws\/devel\/lib\/rcll_refbox_peer\/rcll_refbox_peer\r\nCMakeFiles\/rcll_refbox_peer.dir\/src\/rcll_refbox_peer_node.cpp.o: In function `setup_private_peer(llsf_msgs::Team)':\r\nrcll_refbox_peer_node.cpp:(.text+0x1b4c): undefined reference to `protobuf_comm::ProtobufBroadcastPeer::~ProtobufBroadcastPeer()'\r\n<\/pre>\n<p>protobuf_comm\u3078\u306e\u30ea\u30f3\u30af\u306e\u30a8\u30e9\u30fc\uff1f<br \/>\n\u95a2\u4fc2\u3057\u305d\u3046\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\uff0e<br \/>\n\u6700\u5f8c\u306eAPPEND \u306f\uff0cUbuntu 18.04\u306e\u5834\u5408\u3067\u3059\uff0e<br \/>\nFedora 33\u306e\u5834\u5408\u306f\u300clist(APPEND Fawkes_LIBRARIES &#8220;\/usr\/lib64\/libprotobuf.so&#8221;)\u300d\u3067OK\u3067\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nelseif (RCLLRefbox_FOUND)\r\n  list(APPEND _LIBRARIES &quot;llsf_msgs&quot;)\r\n  list(APPEND Fawkes_INCLUDE_DIRS &quot;~\/rcll-refbox\/src\/libs\/&quot;)\r\n  list(APPEND Fawkes_LIBRARIES &quot;~\/rcll-refbox\/lib\/libllsf_protobuf_comm.so&quot;)\r\n  list(APPEND Fawkes_LIBRARIES &quot;~\/rcll-refbox\/lib\/protobuf\/libllsf_msgs.so&quot;)\r\n  list(APPEND Fawkes_LIBRARIES &quot;~\/rcll-refbox\/lib\/protobuf\/libllsf_log_msgs.so&quot;)\r\n  list(APPEND Fawkes_LIBRARIES &quot;~\/rcll-refbox\/lib\/libmps_comm.so&quot;)\r\n  list(APPEND Fawkes_LIBRARIES &quot;\/usr\/lib\/x86_64-linux-gnu\/libprotobuf.so&quot;)\r\n\r\n        # Use Fawkes' protobuf_comm\r\n  set_target_properties(rcll_refbox_peer PROPERTIES\r\n    INCLUDE_DIRECTORIES &quot;${Fawkes_INCLUDE_DIRS};${catkin_INCLUDE_DIRS}&quot;\r\n    COMPILE_FLAGS &quot;${Fawkes_CFLAGS} ${catkin_CFLAGS}&quot;\r\n    LINK_FLAGS &quot;${Fawkes_LFLAGS}&quot;\r\n    LINK_LIBRARIES &quot;${Fawkes_LIBRARIES};${catkin_LIBRARIES}&quot;\r\n    INSTALL_RPATH &quot;${Fawkes_LIBRARY_DIRS}&quot;\r\n    INSTALL_RPATH_USE_LINK_PATH TRUE\r\n    BUILD_WITH_INSTALL_RPATH TRUE)\r\n  message(STATUS &quot;Using Fawkes protobuf_comm by RCLLRefBox&quot;)\r\nelse()\r\n<\/pre>\n<p>\u3053\u308c\u3067\uff0c\u3068\u308a\u3042\u3048\u305a\uff0ccatkin_make \u304c\u901a\u308a\u307e\u3057\u305f\uff0e<br \/>\ncatkin_ws \u3067\u52d5\u4f5c\u3055\u305b\u308b\u306e\u3067\uff0csource ~\/catkin_ws\/devel\/setup.bash \u306e\u5b9f\u884c\u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\uff01<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroslaunch rcll_refbox_peer.launch num_robots:=1 team_name:=BabyTigers robot_name:=kotora robot_number:=1 crypto_key:=randomkey\r\n<\/pre>\n<p>\uff082021\/06\/01\u8ffd\u8a18\uff09<br \/>\n\u203blaunch\u3067\u306e\u8d77\u52d5\u306f\uff0c\u4e0a\u8a18\u306e\u3088\u3046\u306b\u5f15\u6570\u3068\u3057\u3066\u4e0e\u3048\u308b\u65b9\u304c\u7d20\u76f4\u3067\u3059\u306d\uff0e<br \/>\n\u2193 \u4ee5\u4e0b\u3067\u306f\uff0c\u8a66\u884c\u932f\u8aa4\u7684\u306b\u3084\u3063\u3066\u3044\u305f\u306e\u3067\uff0claunch\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u3066\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\uff0e<br \/>\n\u4e0a\u8a18\u306e\u5f15\u6570\u65b9\u5f0f\u306b\u8aad\u307f\u66ff\u3048\u3066\u8aad\u3093\u3067\u4e0b\u3055\u3044\u307e\u305b\u307e\u305b\uff0e<\/p>\n<p>~\/catkin_ws\/src\/ros-rcll_refbox_peer\/launch\/rcll_refbox_peer.launch \u306b\uff0c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3084\u30ed\u30dc\u30c3\u30c8\u306e\u8a2d\u5b9a\u3092\u66f8\u304d\u307e\u3059\uff0e<br \/>\n\u3068\u308a\u3042\u3048\u305a\uff0cbabyTigers-R \u306e\u30c6\u30b9\u30c8\u6a5f\u306e\u8a2d\u5b9a\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nrobotino@robotino:~\/catkin_ws\/src\/ros-rcll_refbox_peer\/launch$ cat rcll_refbox_peer.launch |head -n 17\r\n&lt;launch&gt;\r\n        &lt;arg name=&quot;num_robots&quot; default=&quot;1&quot;\/&gt;\r\n\r\n        &lt;arg name=&quot;team_name&quot; default=&quot;BabyTigers&quot;\/&gt;\r\n        &lt;arg name=&quot;team_color&quot; default=&quot;CYAN&quot; \/&gt;\r\n        &lt;arg name=&quot;robot_name&quot; default=&quot;kotora&quot;\/&gt;\r\n        &lt;arg name=&quot;robot_number&quot; default=&quot;1&quot;\/&gt;\r\n        &lt;arg name=&quot;crypto_key&quot; default=&quot;randomkey&quot;\/&gt;\r\n        &lt;arg name=&quot;crypto_cipher&quot; default=&quot;aes-128-cbc&quot;\/&gt;\r\n        &lt;arg name=&quot;peer_address&quot; default=&quot;192.168.17.250&quot; \/&gt;\r\n        &lt;arg name=&quot;peer_public_recv_port&quot; default=&quot;4444&quot; \/&gt;\r\n        &lt;arg name=&quot;peer_public_send_port&quot; default=&quot;4444&quot; \/&gt;\r\n        &lt;arg name=&quot;peer_cyan_recv_port&quot; default=&quot;4446&quot; \/&gt;\r\n        &lt;arg name=&quot;peer_cyan_send_port&quot; default=&quot;4441&quot; \/&gt;\r\n        &lt;arg name=&quot;peer_magenta_recv_port&quot; default=&quot;4447&quot; \/&gt;\r\n        &lt;arg name=&quot;peer_magenta_send_port&quot; default=&quot;4442&quot; \/&gt;\r\n<\/pre>\n<p>\u3053\u308c\u3067\uff0croslaunch \u3067\u5b9f\u884c\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroslaunch rcll_refbox_peer.launch\r\n<\/pre>\n<p>roscore\u304c\u52d5\u304d\u51fa\u3057\uff0c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nprocess&#x5B;rcll_refbox_peer_1-1]: started with pid &#x5B;21106]\r\n&#x5B; INFO] &#x5B;1621587212.611988118]: \/rcll_refbox_peer_1 starting up\r\n&#x5B; WARN] &#x5B;1621587212.634310732]: Creating public peer: addr: 192.168.17.250  send: 4444  recv: 4444\r\n&#x5B; INFO] &#x5B;1621587212.886042140]: Creating private peer for CYAN\r\n&#x5B; INFO] &#x5B;1621587277.446321287]: Referee Box 2019 detected\r\n<\/pre>\n<p>\u3064\u306a\u304c\u308a\u307e\u3057\u305f\uff01<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nrobotino@robotino:~\/catkin_ws\/src\/ros-rcll_refbox_peer\/launch$ rostopic list\r\n\/rcll\/beacon\r\n\/rcll\/exploration_info\r\n\/rcll\/game_state\r\n\/rcll\/machine_info\r\n\/rcll\/machine_report_info\r\n\/rcll\/order_info\r\n\/rcll\/ring_info\r\n\/rosout\r\n\/rosout_agg\r\n\/statistics\r\n<\/pre>\n<p>ROS\u3067\u306e\u3084\u308a\u3068\u308a\u306f\uff0c\u4e0a\u8a18\u306e\u901a\u308a\u3067\u3059\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nrostopic echo \/rcll\/game_state\r\n<\/pre>\n<p>\u3053\u308c\u3067\uff0c\u8a66\u5408\u6642\u9593\uff08game_time\uff09\u3084\u72b6\u6cc1\uff08state\u3068phase\uff09\uff0c\u5f97\u70b9\uff08points_cyan\uff09\u306a\u3069\u304c\u308f\u304b\u308a\u307e\u3059\uff0e<\/p>\n<p><s><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nrostopic pub -1 \/rcll\/beacon rcll_ros_msgs\/BeaconSignal -- &quot;&#x5B;1,1,1]&quot; 1 &quot;BabyTigers&quot; Robot1&quot; &quot;CYAN&quot; &quot;&#x5B;&#x5B;2,2,2],&#x5B;&#x5B;10,10,0],&#x5B;0,0,0,0]]]&quot;\r\n<\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\uff0cpublish \u306f\u3057\u3066\u304f\u308c\u308b\u3063\u307d\u3044\uff0e<br \/>\n\u305f\u3060\uff0crefbox \u306b\u306f\u8868\u793a\u3055\u308c\u306a\u3044\u2026\uff0e\u3068\u307b\u307b\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nrobotino@robotino:~\/rcll-refbox\/bin$ rosnode info rcll_refbox_peer_1\r\n--------------------------------------------------------------------------------\r\nNode &#x5B;\/rcll_refbox_peer_1]\r\nPublications:\r\n * \/rcll\/beacon &#x5B;rcll_ros_msgs\/BeaconSignal]\r\n * \/rcll\/exploration_info &#x5B;rcll_ros_msgs\/ExplorationInfo]\r\n * \/rcll\/game_state &#x5B;rcll_ros_msgs\/GameState]\r\n * \/rcll\/machine_info &#x5B;rcll_ros_msgs\/MachineInfo]\r\n * \/rcll\/machine_report_info &#x5B;rcll_ros_msgs\/MachineReportInfo]\r\n * \/rcll\/order_info &#x5B;rcll_ros_msgs\/OrderInfo]\r\n * \/rcll\/ring_info &#x5B;rcll_ros_msgs\/RingInfo]\r\n * \/rosout &#x5B;rosgraph_msgs\/Log]\r\n\r\nSubscriptions: None\r\n\r\nServices:\r\n * \/rcll\/send_beacon\r\n * \/rcll\/send_machine_report\r\n * \/rcll\/send_prepare_machine\r\n * \/rcll_refbox_peer_1\/get_loggers\r\n * \/rcll_refbox_peer_1\/set_logger_level\r\n<\/pre>\n<p>\u3042\uff0crcll\/beacon\u3067\u306f\u306a\u304f\uff0crcll\/send_beacon\u306b\u6e21\u3055\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u304b\u306a\uff0e<br \/>\n\u3042\u3068\uff0c\u8a2d\u5b9a\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u3082\uff0c\u5fae\u5999\u306b\u9593\u9055\u3048\u3066\u3044\u308b\u6c17\u304c\u3059\u308b\uff0e<br \/>\n\u3068\u308a\u3042\u3048\u305a\uff0c\u4eca\u65e5\u306f\u3053\u3053\u307e\u3067\u306b\u3057\u307e\u3059\uff0e<\/s><br \/>\nrosservice \u3092\u4f7f\u3046\u3053\u3068\u304c\u5224\u660e\uff01<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nrobotino@robotino:~\/rcll-refbox\/bin$ rosservice call \/rcll\/send_beacon &quot;&#x5B;1,1,&quot;btr&quot;]&quot; &quot;&#x5B;&#x5B;2,2,&quot;btr&quot;],&#x5B;&#x5B;10,10,0],&#x5B;0,0,0,0]]]&quot;\r\n<\/pre>\n<p>\u3053\u308c\u3067\uff0cRefBox \u306bRobot\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\uff01\u3084\u3063\u305f\u306d\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3068\u308a\u3042\u3048\u305aRobotino\u5468\u308a\u3092ROS\u306b\u5bfe\u5fdc\u3055\u305b\u305f\u3044\u306a\u3041\u3068\u3044\u3046\u91ce\u671b\u306e\u7b2c\u4e00\u5f3e\uff0e \u3068 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=2390\"> <span class=\"screen-reader-text\">RefBox\u306eROS\u5bfe\u5fdc<\/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":[10,3,2,9,17],"tags":[],"class_list":["post-2390","post","type-post","status-publish","format-standard","hentry","category-fawkes","category-logistics-league","category-robocup","category-robotino-3","category-robview3"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2390","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=2390"}],"version-history":[{"count":16,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2390\/revisions"}],"predecessor-version":[{"id":2773,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2390\/revisions\/2773"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}