{"id":747,"date":"2017-06-07T12:24:32","date_gmt":"2017-06-07T03:24:32","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=747"},"modified":"2017-07-25T21:58:18","modified_gmt":"2017-07-25T12:58:18","slug":"production-clp-2015version","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=747","title":{"rendered":"Production.clp (2015version)"},"content":{"rendered":"<p>\u81ea\u5206\u305f\u3061\u306eProduction\u52d5\u4f5c\u3092\u4f5c\u308b\u524d\u306b\uff0c\u307e\u305a\u306fCarologistics \u306eProduction\u306e\u52d5\u4f5c\u3092\u89e3\u6790\u3057\u307e\u3059\uff0e<br \/>\n\u3053\u306e\u30da\u30fc\u30b8\u306f\uff0c\u305d\u306e\u30e1\u30e2\u3067\u3059\u306e\u3067\uff0c\u79c1\u304c\u7406\u89e3\u3067\u304d\u308c\u3070\u305d\u308c\u3067\u5341\u5206\u3067\u3059(\u00b4-\u03c9-`)<br \/>\n# CLIPS \u95a2\u4fc2\u306e\u7528\u8a9e\u304c\u9593\u9055\u3063\u3066\u3044\u305f\u3089\u3054\u3081\u3093\u306a\u3055\u3044\uff0e<\/p>\n<p>\u307e\u305a\uff0c\u4f55\u304c\u3069\u3046\u3044\u3046\u9806\u756a\u3067\u547c\u3070\u308c\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\uff0cgame.clp \u3067\u306eProduction \u306e\u6271\u3044\u3092\u898b\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">(defrule game-remove-exploration-states\r\n  &quot;When entering PRODUCTION phase, remove all states that are only needed in EXPLORATION.&quot;\r\n  (phase PRODUCTION)\r\n  ?s &lt;- (state ?exp-state&amp;:(eq &quot;EXP_&quot; (sub-string 1 4 (str-cat ?exp-state))))\r\n  =&gt;\r\n  (printout warn &quot;removing exp-state because we are in production&quot; crlf)\r\n  (retract ?s)\r\n)\r\n<\/pre>\n<p>\u3068\u306e\u3053\u3068\u3067\u3059\u306e\u3067\uff0cExploration\u30d5\u30a7\u30fc\u30ba\u304b\u3089Production\u30d5\u30a7\u30fc\u30ba\u306b\u5207\u308a\u66ff\u308f\u3063\u305f\u3068\u304d\u306b\uff0c\u3053\u306efact\u304c\u547c\u3073\u51fa\u3055\u308c\uff0c&#8221;EXP_&#8221;\u3067\u59cb\u307e\u308b\u72b6\u614b\u540d\uff08exp-state\uff09\u304c\u5b58\u5728\u3057\u305f\u3068\u304d\uff0c\u305d\u308c\u3089\u3092\u5168\u90e8\u524a\u9664\u3059\u308b\u3063\u307d\u3044\u3067\u3059\uff0e<\/p>\n<p>\u3067\uff0cProduction.clp \u306e\u65b9\u3067\u3059\u304c\uff0c\uff08\u305f\u3076\u3093\u307b\u307c\uff09\u5168\u3066\u306e\u30eb\u30fc\u30eb\u306b(phase PRODUCTION)\u306e\u6761\u4ef6\u304c\u66f8\u304b\u308c\u3066\u3044\u308b\u306e\u3067\uff0c\u8aad\u307f\u9032\u3081\u308b\u3068\u304d\u306b\u306f\u7121\u8996\u3057\u3066\u3082\u3088\u3055\u3052\u3067\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n13:02:09.378357 CLIPS (agent): Using default position of C-RS2\r\n13:02:09.378501 CLIPS (agent): Using default position of C-RS1\r\n13:02:09.378638 CLIPS (agent): Using default position of C-CS2\r\n13:02:09.378765 CLIPS (agent): Using default position of C-DS\r\n13:02:09.378919 CLIPS (agent): Using default position of C-BS\r\n13:02:09.379055 CLIPS (agent): Using default position of C-CS1\r\n...\r\n13:02:09.392129 CLIPS (agent): Send UpdateStationByTagMessage: id C-RS2 side INPUT frame \/map trans (4.7 3.7 0) rot (0.0 0.0 0.926499071042854 0.376297052017058)\r\n...\r\n13:02:09.393011 CLIPS (agent): Send UpdateStationByTagMessage: id C-RS1 side INPUT frame \/map trans (1.1 2.4 0) rot (0.0 0.0 -0.741296511727503 0.671177682659842)\r\n...\r\n13:02:09.393784 CLIPS (agent): Send UpdateStationByTagMessage: id C-CS2 side OUTPUT frame \/map trans (-3.1 2.6 0) rot (0.0 0.0 0.0 1.0)\r\n...\r\n13:02:09.394505 CLIPS (agent): Send UpdateStationByTagMessage: id C-DS side OUTPUT frame \/map trans (-0.8 5.0 0) rot (0.0 0.0 -0.084897682802416 0.99638967450229)\r\n...\r\n13:02:09.395146 CLIPS (agent): Send UpdateStationByTagMessage: id C-BS side INPUT frame \/map trans (4.5 1.2 0) rot (0.0 0.0 0.916803108771767 0.399339529406273)\r\n...\r\n13:02:09.395811 CLIPS (agent): Send UpdateStationByTagMessage: id C-CS1 side INPUT frame \/map trans (-4.3 5.11 0) rot (0.0 0.0 -0.0149994375063281 0.999887502109359)\r\n...\r\n13:02:09.714231 CLIPS (agent): navgraph-generation should be finished now\r\n13:02:09.722535 CLIPS (agent): Stop using initial ids\r\n13:02:09.722718 CLIPS (agent): Could not explore the machines of the other team, adding them as they would be perfectly mirrowed\r\n13:02:09.727769 CLIPS (agent): Could not explore the machines of the other team, adding them as they would be perfectly mirrowed\r\n13:02:09.728810 CLIPS (agent): Could not explore the machines of the other team, adding them as they would be perfectly mirrowed\r\n13:02:09.729535 CLIPS (agent): Could not explore the machines of the other team, adding them as they would be perfectly mirrowed\r\n13:02:09.730588 CLIPS (agent): Could not explore the machines of the other team, adding them as they would be perfectly mirrowed\r\n13:02:09.731872 CLIPS (agent): Could not explore the machines of the other team, adding them as they would be perfectly mirrowed\r\n13:02:09.732940 CLIPS (agent): Add Tag Nr.97 (M-CS1 INPUT) we got from another bot to Navgraph-generation\r\n13:02:09.733084 CLIPS (agent): TODO: check which zone contains the machine, so we don't try to find a tag there again\r\n...\r\n13:02:09.736966 CLIPS (agent): Send UpdateStationByTagMessage: id M-RS2 side INPUT frame \/map trans (-4.7 3.7 0) rot (0.0 0.0 0.376297027191611 0.926499081125694)\r\n...\r\n13:02:09.738441 CLIPS (agent): Send UpdateStationByTagMessage: id M-RS1 side INPUT frame \/map trans (-1.1 2.4 0) rot (0.0 0.0 -0.671177699861705 0.741296496152755)\r\n...\r\n13:02:09.739926 CLIPS (agent): Send UpdateStationByTagMessage: id M-CS2 side OUTPUT frame \/map trans (3.1 2.6 0) rot (0.0 0.0 1.0 2.67948965850286e-08)\r\n...\r\n13:02:09.741002 CLIPS (agent): Send UpdateStationByTagMessage: id M-DS side OUTPUT frame \/map trans (0.8 5.0 0) rot (0.0 0.0 -0.99638967647235 0.0848976596810904)\r\n...\r\n13:02:09.742098 CLIPS (agent): Send UpdateStationByTagMessage: id M-BS side INPUT frame \/map trans (-4.5 1.2 0) rot (0.0 0.0 0.399339504840629 0.916803119472028)\r\n...\r\n13:02:09.744612 CLIPS (agent): Send UpdateStationByTagMessage: id M-CS1 side INPUT frame \/map trans (4.3 5.11 0) rot (0.0 0.0 -0.999887502457422 0.0149994143038352)\r\n...\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n13:03:35.255905 CLIPS (agent): \r\n13:03:35.331013 CLIPS (agent): \r\n...\r\n13:03:36.164284 CLIPS (agent): ***** Enabling motor *****\r\n13:03:36.164398 CLIPS (agent): R-1\r\n13:03:36.164444 CLIPS (agent): Calling skill drive_into_field{team=&quot;CYAN&quot;, wait=0}\r\n13:03:36.164488 ClipsAgentThread: Calling skill drive_into_field{team=&quot;CYAN&quot;, wait=0}\r\n13:03:36.165317 SkillerLua: Drive into field WAIT: 0.000000\r\n13:03:36.200789 SkillerLua: Drive into field goto C-ins-in\r\n13:03:36.200925 SkillerLua: goto INIT:init 1\r\n13:03:36.200945 SkillerLua: goto INIT:init\r\n13:03:36.222743 SkillerLua:  place C-ins-in\r\n13:03:36.222828 SkillerLua: goto (4.300000, 1.000000) delta is (0.757732, -0.170742)\r\n13:03:36.223211 SkillerLua: relgoto target_reached to (0.757732, -0.170742)\r\n13:03:36.223273 SkillerLua: relgoto target_reached to (0.757732, -0.170742)\r\n13:03:36.243108 FawkesMainThread: Loop time exceeded, desired: 0.066333 sec (66333 usec),  actual: 0.088247 sec\r\n13:03:36.250677 CLIPS (agent): Skill drive_into_field is RUNNING, was: IDLE\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n13:04:41.852230 CLIPS (agent): PROD: FILL C-RS1 with base from BS\r\n13:04:41.854572 CLIPS (agent): Timelog: Task fill-rs started.\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5206\u305f\u3061\u306eProduction\u52d5\u4f5c\u3092\u4f5c\u308b\u524d\u306b\uff0c\u307e\u305a\u306fCarologistics  &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=747\"> <span class=\"screen-reader-text\">Production.clp (2015version)<\/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,15,3,2],"tags":[],"class_list":["post-747","post","type-post","status-publish","format-standard","hentry","category-fawkes","category-icaps2017","category-logistics-league","category-robocup"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/747","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=747"}],"version-history":[{"count":7,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/747\/revisions"}],"predecessor-version":[{"id":848,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/747\/revisions\/848"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}