{"id":221,"date":"2022-07-14T09:29:41","date_gmt":"2022-07-14T01:29:41","guid":{"rendered":"http:\/\/www.gexin.link\/?page_id=221"},"modified":"2023-07-05T15:08:33","modified_gmt":"2023-07-05T07:08:33","slug":"%e6%a8%a1%e5%9d%97%e5%8c%96%e6%97%a0%e4%ba%ba%e8%88%b9%e6%a8%a1%e5%9e%8b","status":"publish","type":"page","link":"https:\/\/www.gexin.link\/index.php\/%e7%8e%a9%e7%89%a9%e5%bf%97\/%e6%a8%a1%e5%9d%97%e5%8c%96%e6%97%a0%e4%ba%ba%e8%88%b9%e6%a8%a1%e5%9e%8b\/","title":{"rendered":"\u6a21\u5757\u5316LEGO\u8239\u8bd5\u9a8c"},"content":{"rendered":"<h3>\u8bbe\u8ba1\u76ee\u6807<\/h3>\n<p>\u6c34\u4e0a\u65e0\u4eba\u8239\u5e73\u53f0\uff0c\u642d\u8f7d\u4e0d\u540c\u529f\u80fd\u6a21\u5757\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u73af\u5883\u76d1\u6d4b\u3001\u6c34\u4e0b\u6444\u50cf\u3001\u6c34\u8d28\u91c7\u6837\u3001\u5371\u673a\u9884\u8b66\u3001\u5fc3\u6d77\u6e56\u5582\u9c7c\u7b49\u3002<\/p>\n<p><strong>\u7b2c\u4e00\u6b65\uff0c\u9065\u63a7\u5668\u64cd\u4f5c<\/strong><br \/>\n<strong>\u7b2c\u4e8c\u6b65\uff0c\u8fdc\u7a0b\u53ef\u89c6\u5316\u9065\u63a7\u64cd\u4f5c<\/strong><br \/>\n<strong>\u7b2c\u4e09\u6b65\uff0c\u81ea\u4e3b\u822a\u884c\u53ca\u5b8c\u6210\u4efb\u52a1<\/strong><br \/>\n<strong>\u7b2c\u56db\u6b65\uff0c\u6c34\u4e0a\u7fa4\u4f53\u667a\u80fd\u534f\u4f5c<\/strong><\/p>\n<p><iframe src=\"\/\/player.bilibili.com\/player.html?aid=215949950&bvid=BV1ja411H7r8&cid=772820692&page=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\" height=400 width=600> <\/iframe><\/p>\n<h3>\u4e3b\u63a7\u5236\u5668<\/h3>\n<p>\u5b9e\u9a8c\u9636\u6bb5\uff0c\u4f7f\u7528LEGO\uff0c\u540e\u7eed\u91c7\u7528\u6811\u8393\u6d3e\u3002<\/p>\n<p>LEGO51515 MINDSTORMS \u5957\u88c5<br \/>\n<a href=\"https:\/\/www.lego.com\/zh-cn\/product\/robot-inventor-51515\">\u4e50\u9ad8\u00ae MINDSTORMS\u00ae \u5934\u8111\u98ce\u66b4\u673a\u5668\u4eba\u53d1\u660e\u5bb6 51515 | MINDSTORMS\u00ae | LEGO.com CN<\/a><\/p>\n<p><strong>LEGO Mindstorms Intelligent Large Hub (88016)<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d224f1f54cd3f9374dafe5.png\" alt=\"\" \/><\/p>\n<p>7.4V\uff0c2100mAh\u9502\u7535\u6c60<br \/>\n100MHZ M4 320KB RAM 1M Flash Processor<br \/>\n32MB of memory for programs, sounds, and content.<br \/>\n6\u4e2a\u7aef\u53e3<br \/>\n\u5185\u7f6e\u516d\u8f74\u9640\u87ba\u4eea\u4f20\u611f\u5668<\/p>\n<p>4\u4e2aM\u7535\u673a<br \/>\n1\u4e2a\u8d85\u58f0\u6ce2\u6d4b\u8ddd\u4f20\u611f\u5668<br \/>\n1\u4e2a\u989c\u8272\u4f20\u611f\u5668<\/p>\n<p>\u4efb\u52a1\u6e05\u5355<\/p>\n<ul>\n<li>[ ] \u9640\u87ba\u4eea\u4f20\u611f\u5668\u6d4b\u8bd5<\/li>\n<li>[ ] PID\u7a0b\u5e8f\u6d4b\u8bd5<\/li>\n<\/ul>\n<h3>\u8239\u4f53\u7ed3\u6784\u642d\u5efa<\/h3>\n<p>\u8bbe\u8ba1\u539f\u5219\uff1a\u7ed3\u6784\u7b80\u5355\uff0c\u6210\u672c\u4f4e\u5ec9\uff0c\u65b9\u4fbf\u5b9e\u73b0\uff0c\u6a21\u5757\u5316\uff0c\u53ef\u5feb\u901f\u62c6\u88c5\u3001\u7ec4\u5408\u6210\u4e0d\u540c\u5f62\u6001\u3002<br \/>\n\u5206\u5c42\uff0c\u5206\u5757\uff0c\u9aa8\u67b6\uff0c\u5feb\u62c6\u3002<br \/>\n\u91cd\u8981\u529f\u80fd\u6a21\u5757\u4f18\u5148\u3002<br \/>\n\u7a33\u5b9a\u6027\u3001\u53ef\u9760\u6027\u3002<\/p>\n<p>\u96f6\u4ef6\uff1aLEGO TECHNIC \u5e38\u7528\u96f6\u4ef6\uff0c\u996e\u6599\u74f6\uff0c\u6a61\u76ae\u7b4b\u3002<\/p>\n<h4>\u8239\u4f53\u529f\u80fd\u5e03\u5c40<\/h4>\n<p>\u4e0d\u540c\u529f\u80fd\u5c3d\u91cf\u9694\u79bb\u3001\u5206\u533a\uff0c\u76f8\u4e92\u4e0d\u5f71\u54cd\uff0c\u964d\u4f4e\u8026\u5408\u3002<\/p>\n<h4>\u6d6e\u529b\u6a21\u5757<\/h4>\n<p>\u8d28\u91cf132g\uff0c\u6d6e\u529b\u74f6\uff1a\u519c\u592b\u5c71\u6cc9\u8336\u03c0 900ml\u3002<br \/>\n<a href=\"https:\/\/pic.imgdb.cn\/item\/62d2254ef54cd3f9374e173c.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d2254ef54cd3f9374e173c.png\" alt=\"\" \/><\/a><\/p>\n<p>\u6d6e\u529b\u6a21\u5757\u7ec4\u5408\u6210\u4e0d\u540c\u5f62\u6001\uff0c\u901a\u8fc7\u589e\u52a0\u6a21\u5757\u6570\u91cf\uff0c\u53ef\u4ece\u6c34\u5e73\u9762\u79ef\u3001\u5782\u76f4\u9ad8\u5ea6\u4e24\u4e2a\u65b9\u5411\u6269\u5c55\u3002<\/p>\n<p><a href=\"https:\/\/pic.imgdb.cn\/item\/62d2257bf54cd3f9374e49e2.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d2257bf54cd3f9374e49e2.png\" alt=\"\" \/><\/a><\/p>\n<h4>\u52a8\u529b\u6a21\u5757<\/h4>\n<p>\u9a71\u52a8\u6a21\u5757\u53ef\u5feb\u901f\u62c6\u88c5\u91cd\u7ec4\u3002\u9664\u63d0\u4f9b\u7535\u673a\u8fde\u63a5\u53e3\u5916\uff0c\u7ed3\u6784\u3001\u5c3a\u5bf8\u4e0e\u6d6e\u529b\u6a21\u5757\u76f8\u540c\u3002<\/p>\n<p>\u4efb\u52a1\u6e05\u5355<\/p>\n<ul>\n<li>[x] \u8239\u4f53\u7ed3\u6784\uff0c\u87ba\u65cb\u6868\u52a0\u652f\u6491\u3002<\/li>\n<li>[ ] \u87ba\u65cb\u6868\u4fdd\u62a4\u7f69\uff0c\u9632\u7f20\u7ed5\u3002<\/li>\n<li>[ ] \u589e\u52a0\u4e3b\u63a7\u9632\u6c34\u7ed3\u6784\u3002<\/li>\n<\/ul>\n<h3>\u52a8\u529b\u53ca\u63a7\u5236<\/h3>\n<h4>\u8f6c\u5411\u7ed3\u6784<\/h4>\n<p>\u51e0\u79cd\u5e38\u89c1\u7684\u8239\u4f53\u8f6c\u5411\u65b9\u6848\uff0c\u6700\u7ec8\u9009\u62e9\u65b9\u68481\uff0c\u53cc\u7535\u673a\u5dee\u901f\u8f6c\u5411\u3002<br \/>\n\u4f18\u70b9\uff1a\u7ed3\u6784\u7b80\u5355\uff0c\u4fbf\u4e8eLEGO\u96f6\u4ef6\u5b9e\u73b0\uff0c\u5bb9\u6613\u5efa\u6a21\u8ba1\u7b97\uff0c\u63a7\u5236\u65b9\u5411\u3002<\/p>\n<p><a href=\"https:\/\/pic.imgdb.cn\/item\/62d225b5f54cd3f9374e92c3.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d225b5f54cd3f9374e92c3.png\" alt=\"\" \/><\/a><\/p>\n<p>\u4efb\u52a1\u6e05\u5355<\/p>\n<ul>\n<li>[x] \u539f\u5730\u8f6c\u5411<\/li>\n<li>[ ] \u5dee\u901f\u8fd0\u52a8\u5efa\u6a21<\/li>\n<\/ul>\n<h4>\u52a8\u529b\u53ca\u7535\u673a<\/h4>\n<p>\u76ee\u524d\u4f7f\u7528\u53cc\u7535\u673a\uff0c\u5982\u679c\u8239\u4f53\u589e\u5927\uff0c\u8003\u8651\u4f7f\u7528\u56db\u7535\u673a\u9a71\u52a8\u3002<\/p>\n<p>LEGO 88013\u7535\u673a<br \/>\n<img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d225e8f54cd3f9374ecb72.png\" alt=\"\" \/><\/p>\n<p>\u52a8\u529b\u6a21\u5757<br \/>\n\u7535\u673a\uff1a88013<br \/>\n\u8f93\u5165\uff1a\u6700\u5927\u8f6c\u901f200\u8f6c\/\u5206\u949f<br \/>\n\u9f7f\u8f6e\u52a0\u901f\u6bd4\uff0c(20:12)*(20:12) = \u7ea6 2.8:1<br \/>\n<a href=\"https:\/\/pic.imgdb.cn\/item\/62d2261ef54cd3f9374f09bb.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d2261ef54cd3f9374f09bb.png\" alt=\"\" \/><\/a><\/p>\n<p>\u529f\u80fd\u7535\u673a<br \/>\nLego Spike M \u7535\u673a<br \/>\n<a href=\"https:\/\/pic.imgdb.cn\/item\/62d26a72f54cd3f937ae0554.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d26a72f54cd3f937ae0554.png\" alt=\"\" \/><\/a><\/p>\n<p>\u4efb\u52a1\u5217\u8868<\/p>\n<ul>\n<li>[ ] \u6d4b\u91cf\u6700\u5927\u822a\u901f<\/li>\n<li>[ ] \u6d4b\u91cf\u63a8\u529b\uff0c\u786e\u5b9a\u6700\u4f73\u9f7f\u8f6e\u6bd4<\/li>\n<\/ul>\n<h4>\u624b\u673aAPP\u9065\u63a7\u64cd\u4f5c<\/h4>\n<p>\u7f3a\u70b9\uff1a\u64cd\u4f5c\u624b\u611f\u4e0d\u53ca\u5b9e\u4f53\u9065\u63a7\u5668\uff1b\u9700\u8981\u624b\u673a\u5e73\u53f0\u5b89\u88c5APP\u3002<br \/>\n\u4f18\u70b9\uff1a\u63a7\u5236\u754c\u9762\u53ca\u529f\u80fd\u53ef\u4ee5\u4fee\u6539\u3001\u5b9a\u5236\uff1b\u663e\u793a\u72b6\u6001\u4fe1\u606f\u4e30\u5bcc\uff1b\u84dd\u7259\u3001wifi\u591a\u79cd\u8fde\u63a5\u65b9\u5f0f\u3002<\/p>\n<h4>\u5b9e\u4f53\u9065\u63a7\u5668\u64cd\u4f5c<\/h4>\n<p>lego 88010<br \/>\n7\u4e2a\u6309\u952e\uff0c\u4e00\u4e2a\u53ef\u7f16\u7a0b\u63a7\u5236\u6307\u793a\u706f\u3002<\/p>\n<p><a href=\"https:\/\/pic.imgdb.cn\/item\/62d2266df54cd3f9374f692a.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d2266df54cd3f9374f692a.png\" alt=\"\" \/><\/a><\/p>\n<p><strong>\u9065\u63a7\u5668\u6309\u952e\u529f\u80fd\u5206\u914d<\/strong><\/p>\n<p>\u9065\u63a7\u63a7\u5236\u5206\u4e3a\u4e24\u79cd\u6a21\u5f0f\uff1a\u9a71\u52a8\u6a21\u5f0f\/\u529f\u80fd\u6a21\u5f0f\u3002<br \/>\n\u9a71\u52a8\u6a21\u5f0f\u63a7\u5236\u8239\u4f53\u8fd0\u52a8\uff0c\u529f\u80fd\u6a21\u5f0f\u63a7\u5236\u529f\u5176\u4ed6\u529f\u80fd\u6a21\u5757\u3002<\/p>\n<p>\u9a71\u52a8\u6a21\u5f0f<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6309\u952e<\/th>\n<th>\u6309\u4e0b<\/th>\n<th>\u53cc\u51fb<\/th>\n<th>\u957f\u6309<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u5de6+<\/td>\n<td>\u524d\u8fdb\uff0c\u6301\u7eed\u52a0\u901f\uff08\u677e\u5f00\u540e\u4fdd\u6301\u5f53\u524d\u901f\u5ea6\uff09<\/td>\n<td>\u5168\u901f\u524d\u8fdb<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5de6-<\/td>\n<td>\u540e\u9000\uff0c\u6301\u7eed\u52a0\u901f\uff08\u9001\u5f00\u4f1a\u4fdd\u6301\u5f53\u524d\u901f\u5ea6\uff09<\/td>\n<td>\u5168\u901f\u540e\u9000<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5de6\u7ea2<\/td>\n<td>\u7535\u673a\u901f\u5ea6\u4e3a0<\/td>\n<td>\u5168\u529b\u505c\u6b62\uff08\u53ef\u80fd\u53cd\u8f6c\uff09<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u53f3+<\/td>\n<td>\u6301\u7eed\u53f3\u8f6c\uff0c\u677e\u5f00\u540e\u4fdd\u6301\u8f6c\u5411\u89d2<\/td>\n<td>\u5168\u901f\u53f3\u8f6c<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u53f3-<\/td>\n<td>\u6301\u7eed\u5de6\u8f6c\uff0c\u677e\u5f00\u540e\u4fdd\u6301\u8f6c\u5411\u89d2<\/td>\n<td>\u5168\u901f\u5de6\u8f6c<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u53f3\u7ea2<\/td>\n<td>\u65b9\u5411\u56de\u6b63\uff08\u8d70\u76f4\u7ebf\uff09<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u4e2d\u95f4\u7eff<\/td>\n<td>\u84dd\u7259\u8fde\u63a5\uff08\u672a\u8fde\u63a5\u65f6)\/\u5207\u6362\u63a7\u5236\u6a21\u5f0f<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5de6\u7ea2\/\u53f3\u7ea2<\/td>\n<td>\u63a7\u5236\u53c2\u6570\u6062\u590d\u9ed8\u8ba4\u8bbe\u5b9a<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5de6+\/  \u5de6-<\/td>\n<td>\u6d4b\u91cf\u7535\u538b\uff08\u9065\u63a7\u5668\u6307\u793a\u706f\u63d0\u793a\uff09<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u529f\u80fd\u6a21\u5f0f<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6309\u952e<\/th>\n<th>\u6309\u4e0b<\/th>\n<th>\u53cc\u51fb<\/th>\n<th>\u957f\u6309<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u53f3+<\/td>\n<td>\u91ca\u653e\u7f06\u7ef3<\/td>\n<td>\u91ca\u653e\u7f06\u7ef3\u5230\u6700\u957f<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u53f3-<\/td>\n<td>\u6536\u8d77\u7f06\u7ef3<\/td>\n<td>\u6536\u8d77\u7f06\u7ef3\u5230\u6700\u77ed<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u53f3\u7ea2<\/td>\n<td>\u505c\u6b62\u7f06\u7ef3\u52a8\u4f5c<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4efb\u52a1\u6e05\u5355<\/p>\n<ul>\n<li>[ ] \u9065\u63a7\u5668\u6539\u9020\uff0c\u589e\u52a0\u64cd\u4f5c\u6027\u3002 <\/li>\n<li>[ ] \u589e\u52a0\u65b0\u624b\u6a21\u5f0f<\/li>\n<li>[ ] \u901a\u8fc7\u9065\u63a7\u5668\u8c03\u6574\u63a7\u5236\u53c2\u6570\u529f\u80fd<\/li>\n<\/ul>\n<h4>\u7535\u6c60\u7ba1\u7406<\/h4>\n<p>515151\u5957\u88c5\u7535\u673a*2\uff0c75mm\u5916\u5f84\u87ba\u65cb\u6868\uff0c\u8bbe\u7f6e\u8f6c\u901f 1000\uff08\u6700\u5927\u503c)\uff0c\u6c34\u4e2d\u8fde\u7eed\u8fd0\u8f6c\uff0c\u76f4\u81f3\u4e3b\u673a\u5173\u673a\u3002<\/p>\n<p>\u7535\u538b\u53ca\u8f6c\u901f\u8870\u51cf\u66f2\u7ebf<br \/>\n<a href=\"https:\/\/pic.imgdb.cn\/item\/62d22688f54cd3f9374f8518.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d22688f54cd3f9374f8518.png\" alt=\"\" \/><\/a><\/p>\n<p>6.8v\uff0c10\u5206\u949f<br \/>\n7v\uff0c30\u5206\u949f<br \/>\n7.5v\uff0c130\u5206\u949f<br \/>\n\u6ee1\u7535\uff0c190\u5206\u949f<\/p>\n<p>\u529f\u80fd\u6e05\u5355<\/p>\n<ul>\n<li>[x] \u7535\u6c60\u7eed\u822a\u6d4b\u8bd5<\/li>\n<li>[ ] \u7535\u6c60\u7ba1\u7406\uff0c\u7535\u538b\u8fc7\u4f4e\u62a5\u8b66\u3001\u7535\u91cf\u63d0\u793a\u7b49\u3002<\/li>\n<li>[x] \u7535\u6c60\u6269\u5bb9\uff0c\u8fde\u63a5\u5145\u7535\u5b9d\u3002<\/li>\n<\/ul>\n<h4>\u63a7\u5236\u7a0b\u5e8f\u4ee3\u7801<\/h4>\n<p>\u5f00\u53d1\u73af\u5883\u53ca\u8bed\u8a00\uff1a\u5d4c\u5165\u5f0fPython<br \/>\n<a href=\"https:\/\/pybricks.com\/\">Pybricks: Python coding with LEGO<\/a><\/p>\n<p>\u4e3b\u673a\u4ee3\u7801<\/p>\n<pre><code class=\"language-Python\">&quot;&quot;&quot;  \n\u4f5c\u8005\uff1aGexin  \n\u7248\u672c\uff1a1.1  \n\u6700\u540e\u4fee\u6539\u65f6\u95f4\uff1a2020\/7  \nLego 88010\u9065\u63a7\u5668\u63a7\u5236\u53cc\u9a6c\u8fbe\u53ca\u5176\u4ed6\u9a6c\u8fbe  \n&quot;&quot;&quot;  \nfrom pybricks.pupdevices import Remote  \nfrom pybricks.parameters import Button  \nfrom pybricks.tools import wait  \nfrom pybricks.pupdevices import Motor  \nfrom pybricks.parameters import Port, Direction  \nfrom pybricks.parameters import Color  \nfrom pybricks.hubs import PrimeHub  \nimport math  \n\nDebug = True  # \u8c03\u8bd5\u6a21\u5f0f\u7528\u4e8e\u8f93\u51fa\u4fe1\u606f  \n\n&#039;&#039;&#039;  \n\u63a7\u5236\u5faa\u73af\u76f8\u5173 \u5e38\u91cf  \n&#039;&#039;&#039;  \n# \u4e00\u4e2a\u63a7\u5236\u5faa\u73af\u5185\uff0c\u53ea\u80fd\u6267\u884c\u4e00\u79cd\u63a7\u5236\u6a21\u5f0f  \nCONTROL_MODEL_DRIVE = &#039;drive_mode&#039;  # \u63a7\u5236\u6a21\u5f0f : \u884c\u9a76\u6a21\u5f0f\uff0c\u63a7\u5236\u4e24\u4e2a\u9a71\u52a8\u9a6c\u8fbe  \nCONTROL_MODEL_FUNCTION = &#039;function_mode&#039;  # \u63a7\u5236\u975e\u9a71\u52a8\u9a6c\u8fbe  \nCONTROL_CYCLE = 10  # \u5faa\u73af\u63a7\u5236\u5468\u671f\u65f6\u95f4\uff08\u6beb\u79d2\uff09  \nBUTTON_PRESS_WAIT = 300  # \u6309\u952e\u6309\u4e0b\u540e\uff0c\u9700\u8981\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\uff0c\u9632\u6b62\u4e0b\u4e00\u4e2a\u63a7\u5236\u5faa\u73af\u8fde\u6309\u3002  \n\n&#039;&#039;&#039;  \n\u884c\u9a76\u76f8\u5173 \u5e38\u91cf  \n&#039;&#039;&#039;  \n# \u901f\u5ea6  \nACCELERATION_SPEED_STEP = 5  # \u6bcf\u4e2a\u63a7\u5236\u5faa\u73af, \u9a6c\u8fbe\u52a0\u901f\u5e45\u5ea6\uff0c\u8d8a\u5927\u52a0\u901f\u8d8a\u5feb  \nDRIVE_SPEED_MAX = 1000 # \u5ea6\/\u79d2  \nDRIVE_SPEED_MIN = -1000  \n# \u8f6c\u5411  \nTURN_ANGLE_STEP = 0.5  # \u6bcf\u4e2a\u63a7\u5236\u5faa\u73af, \u8f6c\u5411\u89d2\u7684\u53d8\u5316\u6b65\u957f  \nTURN_ANGLE_MAX = 90.0  \nTURN_ANGLE_MIN = -90.0  \n\n&#039;&#039;&#039;  \n\u7aef\u53e3\u76f8\u5173 \u5e38\u91cf  \n&#039;&#039;&#039;  \n# \u9a6c\u8fbe\u8fde\u63a5\u7aef\u53e3\u914d\u7f6e  \nDRIVE_LEFT_MOTOR = Port.E  \nDRIVE_RIGHT_MOTOR = Port.F  \nFunction_A_MOTOR = Port.A  \nFUN_B_MOTOR = Port.B # \u6536\u653e\u7f06\u7ef3\u9a6c\u8fbe  \nFUN_C_MOTOR = Port.C  \nFUN_D_MOTOR = Port.D  \n\n&#039;&#039;&#039;  \n \u989c\u8272\u76f8\u5173  \n&#039;&#039;&#039;  \nCOLOR_BT_CONNECTED = &#039;cbc&#039;  \ncolor_dict = {  \n    CONTROL_MODEL_DRIVE: Color.BLUE,  \n    CONTROL_MODEL_FUNCTION: Color.YELLOW,  \n    COLOR_BT_CONNECTED: Color.GREEN  \n}  \n\n&#039;&#039;&#039;  \n\u58f0\u97f3\u76f8\u5173  \n&#039;&#039;&#039;  \n\n&#039;&#039;&#039;  \n================================== Class =============================================  \n&#039;&#039;&#039;  \n\nclass DifferentialDrive:  \n    &quot;&quot;&quot;  \n    \u5dee\u901f\u9a6c\u8fbe\u9a71\u52a8\uff0c\u4e24\u4e2a\u9a6c\u8fbe\u5dee\u901f\u8f6c\u5411\u3002  \n    &quot;&quot;&quot;    def __init__(self):  \n        self.left_motor = Motor(DRIVE_LEFT_MOTOR, Direction.COUNTERCLOCKWISE)  \n        self.right_motor = Motor(DRIVE_RIGHT_MOTOR, Direction.CLOCKWISE)  \n\n    def drive(self, speed, turn_angle):  #  \n        &#039;&#039;&#039;  \n        speed: \u76f4\u884c \u524d\u8fdb\/\u540e\u9000 \u901f\u5ea6  \n        turn_angle:\u8f6c\u5411\u89d2\u5ea6  \n        &#039;&#039;&#039;        left_motor_speed = speed  \n        right_motor_speed = speed  \n\n        print(&quot;trun angle: &quot;, turn_angle)  \n\n        if speed &gt; DRIVE_SPEED_MAX:  # \u4e0d\u80fd\u8d85\u8fc7\u6700\u5927\u503c  \n            speed = DRIVE_SPEED_MAX  \n\n        if turn_angle &gt; TURN_ANGLE_MAX:  #  \n            turn_angle = TURN_ANGLE_MAX  \n        if turn_angle &lt; TURN_ANGLE_MIN:  \n            turn_angle = TURN_ANGLE_MIN  \n\n        # \u8f6c\u5411\u9700\u8981\u7684\u5de6\u53f3\u9a6c\u8fbe\u901f\u5ea6\u5dee \u6709\u6b63\u8d1f\u4e4b\u5206 %        differential_percent = turn_angle \/ TURN_ANGLE_MAX  \n        print(&quot;differential percent: &quot;, differential_percent)  \n\n        # \u524d\u8fdb\u901f\u5ea6\u4e3a0\uff0c\u539f\u5730\u8f6c\u5411; \u6216\u6b63\u5728\u539f\u5730\u8f6c\u5411  \n        if (right_motor_speed == left_motor_speed == 0 or right_motor_speed \/ left_motor_speed == -1):  \n            print(&quot;\u539f\u5730\u8f6c\u5411&quot;)  \n            right_motor_speed = DRIVE_SPEED_MAX * differential_percent  \n            left_motor_speed = -right_motor_speed  \n\n        else:  # \u524d\u8fdb\u901f\u5ea6\u4e0d\u4e3a0\uff0c\u5f27\u7ebf\u8f6c\u5411  \n            if turn_angle &gt; 0:  # \u53f3\u8f6c  \n                print(&quot;turn right &quot;)  \n                right_motor_speed = right_motor_speed * (1 - differential_percent)  \n            if turn_angle &lt; 0:  # \u5de6\u8f6c  \n                print(&quot;turn left&quot;)  \n                left_motor_speed = left_motor_speed * (1 + differential_percent)  \n\n        if turn_angle == 0:  \n            print(&quot;turn straight&quot;)  \n            if right_motor_speed &lt; left_motor_speed:  \n                right_motor_speed = left_motor_speed  \n            else:  \n                left_motor_speed = right_motor_speed  \n\n        # \u63a7\u5236\u9a6c\u8fbe  \n        self.left_motor.run(left_motor_speed)  \n        self.right_motor.run(right_motor_speed)  \n        print(&quot;left - right motor speed: &quot;, left_motor_speed, &quot; - &quot;, right_motor_speed)  \n\n    def stop(self):  \n        self.left_motor.stop()  \n        self.right_motor.stop()  \n\n# end of class Differential_driver  \n\nclass DriveController:  \n    &quot;&quot;&quot;  \n    \u884c\u9a76\u63a7\u5236\u5668\uff0c\u5c06\u9065\u63a7\u5668\u6309\u952e\u4e8b\u4ef6\u8f6c\u6362\u4e3a\u63a7\u5236\u547d\u4ee4\u3002  \n    \u7528\u4e8e CONTROL_MODEL_DRIVE \u6a21\u5f0f\u3002  \n    &quot;&quot;&quot;    def __init__(self, controlled):  \n        self.controlled = controlled  \n        self.drive_speed = 0  \n        self.turn_angle = 0  \n        print(&quot;Driver controller init &quot;)  \n\n    def para_forward(self):  # \u4fee\u6539\u53c2\u6570\uff0c\u524d\u8fdb\uff0c\u52a0\u901f  \n        if self.drive_speed &gt;= DRIVE_SPEED_MAX:  \n            self.drive_speed = DRIVE_SPEED_MAX  \n        else:  \n            self.drive_speed += ACCELERATION_SPEED_STEP  \n        print(&#039;left plus action&#039;)  \n\n    def para_backward(self):  # \u51cf\u901f  \n        if self.drive_speed &lt;= -DRIVE_SPEED_MAX:  \n            self.drive_speed = -DRIVE_SPEED_MAX  \n        else:  \n            self.drive_speed -= ACCELERATION_SPEED_STEP  \n        print(&#039;left_minus_action&#039;)  \n\n    def para_stop(self):  \n        self.drive_speed = 0  \n        self.controlled.stop()  \n        print(&#039;left_action&#039;)  \n\n    def para_turn_right(self):  # \u53f3\u8f6c  \n        self.turn_angle += TURN_ANGLE_STEP  \n        if self.turn_angle &gt; TURN_ANGLE_MAX:  \n            self.turn_angle = TURN_ANGLE_MAX  \n        print(&#039;right_plus_action&#039;)  \n\n    def para_turn_left(self):  # \u5de6\u8f6c  \n        self.turn_angle -= TURN_ANGLE_STEP  \n        if self.turn_angle &lt; TURN_ANGLE_MIN:  \n            self.turn_angle = TURN_ANGLE_MIN  \n        print(&#039;right_minus_action&#039;)  \n\n    def para_turn_straight(self):  # \u65b9\u5411\u56de\u6b63  \n        self.turn_angle = 0  \n        print(&#039;right_action&#039;)  \n\n    def center_action(self):  # \u4fdd\u7559  \n        pass  \n\n    def handle_btn_pressed(self, btn):  # \u6267\u884c\u9065\u63a7\u5668\u7684\u64cd\u4f5c  \n        action = self.button_action.get(btn)  \n        action(self)  \n        self.controlled.drive(self.drive_speed, self.turn_angle)  \n\n    button_action = {  # \u6309\u94ae \u5bf9\u5e94 \u529f\u80fd  \n        Button.LEFT_PLUS: para_forward,  \n        Button.LEFT_MINUS: para_backward,  \n        Button.LEFT: para_stop,  \n        Button.RIGHT_PLUS: para_turn_right,  \n        Button.RIGHT_MINUS: para_turn_left,  \n        Button.RIGHT: para_turn_straight,  \n        Button.CENTER: center_action  \n    }  \n\n# end of class Drive_controller  \n\n# \u529f\u80fd\u63a7\u5236\u5668\uff0c\u7528\u4e8e CONTROL_MODLE_FUNCTIONclass Function_controller:  \n    def __init__(self):  \n        self.crane_motor_speed = 300  \n\n        self.crane_motor = Motor(FUN_B_MOTOR, Direction.COUNTERCLOCKWISE)  \n        print(&quot;Function_controller Driver controller init &quot;)  \n\n    def left_plus_action(self):  \n        pass  \n\n    def left_minus_action(self):  \n        pass  \n\n    def left_action(self):  \n        pass  \n\n    def release_cable(self):  # \u653e\u7f06\u7ef3  \n        self.crane_motor.run(self.crane_motor_speed)  \n\n    def retract_cable(self):  # \u6536\u7f06\u7ef3  \n        self.crane_motor.run(-self.crane_motor_speed)  \n\n    def stop(self):  \n        self.crane_motor.stop()  \n\n    def center_action(self):  \n        pass  \n\n    def handle_btn_pressed(self, btn):  \n        action = self.button_action.get(btn)  \n        action(self)  \n\n    button_action = {  \n        Button.LEFT_PLUS: left_plus_action,  \n        Button.LEFT_MINUS: left_minus_action,  \n        Button.LEFT: left_action,  \n        Button.RIGHT_PLUS: release_cable,  \n        Button.RIGHT_MINUS: retract_cable,  \n        Button.RIGHT: stop,  \n        Button.CENTER: center_action  \n    }  \n\n# end of class Drrive_controller  \n\n# \u7cfb\u7edf\u63a7\u5236\uff0c\u6d3e\u53d1\u9065\u63a7\u5668\u7684\u5404\u79cd\u4e8b\u4ef6  \nclass Sys_controller:  \n    boat = DifferentialDrive()  \n    drive_controller = DriveController(boat)  \n    function_controller = Function_controller()  \n\n    def __init__(self, remote, sound_effect):  \n        print(&#039;init Controller...&#039;)  \n        self.sound_effect = sound_effect  \n        self.remote = remote  \n        self.set_control_mode(CONTROL_MODEL_DRIVE)  \n\n    def set_control_mode(self, mode):  \n        self.control_model = mode  \n        self.remote.light.on(color_dict.get(mode))  \n\n    def left_plus_action(self):  \n        pass  \n\n    def left_minus_action(self):  \n        pass  \n\n    def left_action(self):  \n        pass  \n\n    def right_plus_action(self):  \n        pass  \n\n    def right_minus_action(self):  \n        pass  \n\n    def right_action(self):  \n        pass  \n\n    def center_action(self):  \n        self.switch_control_mode()  \n        print(&#039;center_action&#039;)  \n\n    def switch_control_mode(self):  # \u4e24\u79cd\u63a7\u5236\u6a21\u5f0f\u5207\u6362  \n\n        if self.control_model == CONTROL_MODEL_DRIVE:  \n            self.control_model = CONTROL_MODEL_FUNCTION  \n            self.remote.light.on(color_dict.get(self.control_model))  \n            sound_effect.play_high_beep(2)  \n            print(&quot;switch to function mode&quot;)  \n            wait(BUTTON_PRESS_WAIT)  \n            return  \n\n        if self.control_model == CONTROL_MODEL_FUNCTION:  \n            self.control_model = CONTROL_MODEL_DRIVE  \n            self.remote.light.on(color_dict.get(self.control_model))  \n            sound_effect.play_high_beep(1)  \n\n            print(&quot;switch to drive mode&quot;)  \n            wait(BUTTON_PRESS_WAIT)  \n            return  \n\n    button_action = {  # \u6309\u952e\u4e8b\u4ef6\uff0c\u5bf9\u5e94\u7684\u65b9\u6cd5  \n        Button.LEFT_PLUS: left_plus_action,  \n        Button.LEFT_MINUS: left_minus_action,  \n        Button.LEFT: left_action,  \n        Button.RIGHT_PLUS: right_plus_action,  \n        Button.RIGHT_MINUS: right_minus_action,  \n        Button.RIGHT: right_action,  \n        Button.CENTER: switch_control_mode  \n    }  \n\n    # \u5904\u7406\u6309\u952e\u4e8b\u4ef6  \n    def handle_button_pressed(self):  \n        # print(&quot;handle button pressed...&quot;)  \n        # \u6309\u4e0b\u7684buttons  \n        pressed_btn = my_remote.buttons.pressed()  \n        for btn in pressed_btn:  \n            action = self.button_action.get(btn)  \n            print(&#039;action &#039;, action)  \n            action(self)  \n            if self.control_model == CONTROL_MODEL_DRIVE:  \n                self.drive_controller.handle_btn_pressed(btn)  \n\n            if self.control_model == CONTROL_MODEL_FUNCTION:  \n                self.function_controller.handle_btn_pressed(btn)  \n                print()  \n\n    def start(self):  # \u8fdb\u5165\u63a7\u5236\u5faa\u73af  \n        while True:  \n            self.handle_button_pressed()  \n            wait(CONTROL_CYCLE)  \n\n# end of class Controller  \n\nclass SoundEffect:  # \u97f3\u6548\u7c7b  \n\n    def __init__(self, hub):  \n        self.speaker = hub.speaker  \n\n    def play_falling_notes(self):  \n        for i in range(5, 10):  \n            self.speaker.beep((15 - i) * 80, 100)  \n            wait(10)  \n\n    def play_rising_notes(self):  \n        for i in range(5, 10):  \n            self.speaker.beep((i) * 80, 80)  \n            wait(10)  \n\n    def play_low_beep(self, repeat=1, interval_times=100):  \n        self.play_beep(100, repeat, interval_times)  \n\n    def play_middle_beep(self, repeat=1, interval_times=100):  \n        self.play_beep(500, repeat, interval_times)  \n\n    def play_high_beep(self, repeat=1, interval_times=100):  \n        self.play_beep(1000, repeat, interval_times)  \n\n    def play_beep(self, frequency, repeat=1, interval_times=100):  \n        for k in range(0, repeat):  \n            self.speaker.beep(frequency, 100)  \n            wait(interval_times)  \n\n# end  \n\ndef initialize():  \n    print(&#039;initialize begin...&#039;)  \n\n&#039;&#039;&#039;  \n\u7a0b\u5e8f\u8fd0\u884c\u5165\u53e3  \n&#039;&#039;&#039;  \n# Initialize the hub.  \nhub = PrimeHub()  \n\nsound_effect = SoundEffect(hub)  \nsound_effect.play_middle_beep(3)  \n\n# \u7b49\u5f85\u8fde\u63a5\u9065\u63a7\u5668 \u76f4\u5230\u6210\u529f\uff0c\u540c\u6b65\u51fd\u6570  \nmy_remote = Remote(None, 500000)  \n\nsound_effect.play_rising_notes()  \n\nmy_remote.light.on(Color.GREEN)  \nwait(1000)  \n\nsys_controller = Sys_controller(my_remote, sound_effect)  \n\nprint(&quot;running....&quot;)  \n\nsys_controller.start()<\/code><\/pre>\n<h4>\u6838\u5fc3\u529f\u80fd<\/h4>\n<p>\u4efb\u52a1\u6e05\u5355<\/p>\n<ul>\n<li>\n<p>[ ] \u64cd\u4f5c\u65e5\u5fd7<br \/>\n\u8bb0\u5f55\u884c\u9a76\u53c2\u6570\u3001\u64cd\u4f5c\u7b49\u4fe1\u606f\u3002<\/p>\n<\/li>\n<li>\n<p>[ ] \u8f68\u8ff9\u8bb0\u5f55<\/p>\n<\/li>\n<li>\n<p>[ ] \u81ea\u4e3b\u8fd4\u56de<\/p>\n<\/li>\n<li>\n<p>[ ] \u81ea\u7531\u5de1\u822a\u6a21\u5f0f<\/p>\n<\/li>\n<li>\n<p>[ ] \u9065\u63a7\u5668\u4fe1\u53f7\u4e22\u5931\u9884\u8b66\u3001\u62a5\u8b66<\/p>\n<\/li>\n<\/ul>\n<h3>\u5f02\u5e38\u60c5\u51b5\u5904\u7406<\/h3>\n<p>\u9065\u63a7\u5931\u7075<br \/>\n\u7535\u6c60\u8017\u5c3d<br \/>\n\u8239\u4f53\u88ab\u969c\u788d\u7269\u5361\u4f4f<br \/>\n\u5931\u53bb\u52a8\u529b<\/p>\n<p>\u5e94\u6025\u63aa\u65bd\uff1a<br \/>\n\u5b89\u5168\u7ef3<br \/>\n\u6551\u63f4\u62d6\u8239<br \/>\n\u65e0\u4eba\u673a\u7275\u5f15<\/p>\n<h3>\u6a21\u5757\u5316\u529f\u80fd<\/h3>\n<h4>\u673a\u68b0\u81c2<\/h4>\n<p>\u516d\u81ea\u7531\u5ea6\u673a\u68b0\u81c2<\/p>\n<p><a href=\"https:\/\/pic.imgdb.cn\/item\/62d226b5f54cd3f9374fb54c.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d226b5f54cd3f9374fb54c.png\" alt=\"\" \/><\/a><\/p>\n<p><center>\u56fe \u673a\u68b0\u81c2\u7ed3\u6784\u8bbe\u8ba1<\/center><\/p>\n<p>==\u6ce8\u610f\uff1aC\u8f74\u8f6c\u52a8\u4f1a\u5e26\u52a8B\u8f74\u8f6c\u52a8\uff0c\u8f93\u5165\u8f74\u7535\u673a\u9700\u8981\u6839\u636e\u9f7f\u8f6e\u6bd4\u53cd\u5411\u62b5\u6d88\uff0c\u624d\u80fd\u4fdd\u6301\u53e6\u4e00\u4e2a\u8f74\u9759\u6b62\u3002==<\/p>\n<p><a href=\"https:\/\/pic.imgdb.cn\/item\/62d226c8f54cd3f9374fcab1.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d226c8f54cd3f9374fcab1.png\" alt=\"\" \/><\/a><\/p>\n<p><center>\u56fe \u673a\u68b0\u81c2\u7ed3\u6784LEGO\u5b9e\u73b0\uff0c\u4e09\u4e2a\u7535\u673a\u8f93\u5165<\/center><\/p>\n<p>\u91cd\u91cf\uff08\u542b3\u4e2aSpike M\u7535\u673a\uff09360\u514b\u3002<\/p>\n<p><iframe src=\"\/\/player.bilibili.com\/player.html?aid=385932470&bvid=BV11d4y1D7ve&cid=774745519&page=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\" height=400 width=600> <\/iframe><\/p>\n<h4>\u55b7\u6c34<\/h4>\n<p><a href=\"https:\/\/pic.imgdb.cn\/item\/62d226f4f54cd3f9374ffd11.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d226f4f54cd3f9374ffd11.png\" alt=\"\" \/><\/a><\/p>\n<h4>\u6c34\u4e0b\u6444\u50cf<\/h4>\n<p>\u529f\u80fd\u9700\u6c42\uff1a<\/p>\n<ul>\n<li>\u4e0b\u6f5c\u4e00\u5b9a\u6df1\u5ea6<\/li>\n<li>\u63a7\u5236\u4e0b\u6f5c\u3001\u4e0a\u6d6e\u901f\u5ea6<\/li>\n<li>\u6444\u50cf\u5934\u4fef\u4ef0\u89d2\u5ea6\u8c03\u6574\u3002<br \/>\n<a href=\"https:\/\/pic.imgdb.cn\/item\/62d22715f54cd3f937501d6b.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d22715f54cd3f937501d6b.png\" alt=\"\" \/><\/a><\/li>\n<\/ul>\n<p><iframe src=\"\/\/player.bilibili.com\/player.html?aid=513473371&bvid=BV1A3411F7Yq&cid=773660758&page=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\"   height=400 width=600> <\/iframe><br \/>\n<iframe src=\"\/\/player.bilibili.com\/player.html?aid=258441588&bvid=BV1Za411Q77R&cid=773663124&page=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\"  height=400 width=600> <\/iframe><\/p>\n<h4>\u6295\u5582\u6a21\u5757<\/h4>\n<p>\u529f\u80fd\u9700\u6c42<\/p>\n<ul>\n<li>\u53ef\u6295\u653e\u4e0d\u540c\u5927\u5c0f\u7684\u56fa\u4f53\u9897\u7c92\u98df\u7269\uff0c\u6bd4\u5982\u9c7c\u98df\u3001\u7389\u7c73\u7c92\u3001\u9992\u5934\u5c51\u7b49\u3002<\/li>\n<li>\u6bcf\u6b21\u6295\u653e\u6570\u91cf\u53ef\u8c03\u8282\u3002<\/li>\n<li>\u6295\u653e\u9891\u7387\u53ef\u8c03\u8282\u3002<\/li>\n<li>\u6295\u653e\u8ddd\u79bb\u53ef\u8c03\u8282\u3002<\/li>\n<li>\u53ea\u9700\u8981\u5355\u4e2a\u7535\u673a\u5373\u53ef\u5b8c\u6210\u6295\u653e\u529f\u80fd\u3002<\/li>\n<\/ul>\n<p><a href=\"https:\/\/pic.imgdb.cn\/item\/62d22764f54cd3f9375072e8.png\"><img decoding=\"async\" src=\"https:\/\/pic.imgdb.cn\/item\/62d22764f54cd3f9375072e8.png\" alt=\"\" \/><\/a><\/p>\n<p>\u4e0d\u540c\u6295\u5582\u65b9\u6848\u6784\u60f3\u8349\u56fe\u5982\u4e0a\u56fe\u3002\u82e5\u60f3\u6ee1\u8db3\u529f\u80fd\u9700\u6c42\uff0c\u6709\u4e9b\u65b9\u6848\u5df2\u7ecf\u53ef\u4ee5\u6392\u9664\u6389\uff0c\u6bd4\u5982\u5229\u7528\u91cd\u529b\u6389\u843d\u3001\u65cb\u8f6c\u5bb9\u5668\u3001\u4f20\u9001\u5e26\u7b49\u65b9\u6848\uff0c\u65e0\u6cd5\u63a7\u5236\u6295\u653e\u8ddd\u79bb\uff08\u4e3b\u8981\u662f\u65e0\u6cd5\u5411\u8fdc\u5904\u6295\u653e\uff09\u3002\u56e0\u6b64\uff0c\u5e94\u8be5\u91c7\u7528\u57fa\u4e8e\u629b\u6d12\u7684\u65b9\u6848\uff0c\u8981\u5c06\u9897\u7c92\u629b\u6d12\u51fa\u53bb\uff0c\u6709\u591a\u91cd\u65b9\u6cd5\uff0c\u6bd4\u5982\u501f\u52a9\u79bb\u5fc3\u529b\u3001\u98ce\u529b\uff0c\u4f46\u662f\u4e0d\u597d\u63a7\u5236\u65b9\u5411\u548c\u6570\u91cf\uff1b\u8fd8\u6709\u5229\u7528\u8fd0\u52a8\u60ef\u6027\uff0c\u6bd4\u5982\u629b\u77f3\u673a\uff0c\u8fd9\u79cd\u65b9\u6cd5\u7684\u7f3a\u70b9\u662f\u7ed3\u6784\u5360\u7528\u7a7a\u95f4\u6bd4\u8f83\u5927\uff0c\u9897\u7c92\u88c5\u586b\u590d\u6742\uff0c\u8ddd\u79bb\u4e0d\u597d\u8c03\u6574\uff1b\u6211\u4eec\u62df\u91c7\u7528\u7684\u65b9\u6848\u662f\u5229\u7528\u8fd0\u52a8\u7269\u4f53\u649e\u51fb\u9897\u7c92\uff0c\u7c7b\u4f3c\u4e8e\u67aa\u673a\u3002<br \/>\n\u7535\u673a\u63d0\u4f9b\u52a8\u529b\uff0c\u8ba9\u51fb\u9524\u62c9\u52a8\uff08\u76ae\u7b4b\u53d8\u957f\uff09\uff0c\u540c\u65f6\u8ba9\u9897\u7c92\u8fdb\u5165\u51fb\u9524\u524d\u65b9\uff0c\u51fb\u9524\u62c9\u52a8\u5230\u4e00\u5b9a\u4f4d\u7f6e\u540e\uff0c\u81ea\u7531\u91ca\u653e\uff0c\u4f9d\u9760\u5f39\u529b\u590d\u8fdb\uff0c\u4ece\u800c\u5c06\u9897\u7c92\u7269\u51fb\u51fa\u3002\u7535\u673a\u8fde\u7eed\u8fd0\u8f6c\uff0c\u91cd\u590d\u8fd9\u4e2a\u8fc7\u7a0b\uff0c\u5b8c\u6210\u81ea\u52a8\u6295\u653e\u8fc7\u7a0b\u3002<\/p>\n<p>![[\u6a21\u5757\u5316\u65e0\u4eba\u8239\u5b9e\u9a8c\u5e73\u53f0-\u7f51\u7ad9\u6587\u7ae0\u53d1\u5e03-.png]]<\/p>\n<h4>\u4e8c\u81ea\u7531\u5ea6\u8f6c\u76d8<\/h4>\n<p>\u6c34\u5e73\u65cb\u8f6c\uff0c\u5782\u76f4\u4fef\u4ef0<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.gexin.link\/wp-content\/uploads\/2022\/08\/\u56db\u81ea\u7531\u5ea6\u53d1\u5c04\u5e73\u53f0\u6d4b\u8bd5-1024x576.jpeg\" alt=\"\" \/><br \/>\n<div style=\"width: 1280px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-221-1\" width=\"1280\" height=\"720\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"http:\/\/www.gexin.link\/wp-content\/uploads\/2022\/08\/\u4e8c\u7ef4\u5e73\u53f0\u6d4b\u8bd5.mp4?_=1\" \/><a href=\"http:\/\/www.gexin.link\/wp-content\/uploads\/2022\/08\/\u4e8c\u7ef4\u5e73\u53f0\u6d4b\u8bd5.mp4\">http:\/\/www.gexin.link\/wp-content\/uploads\/2022\/08\/\u4e8c\u7ef4\u5e73\u53f0\u6d4b\u8bd5.mp4<\/a><\/video><\/div><\/p>\n<h4>\u81ea\u52a8\u5145\u7535<\/h4>\n<h4>\u56db\u8f74\u98de\u884c\u5668\u505c\u6cca<\/h4>\n<h4>\u5f39\u5c04\u5668<\/h4>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u8bbe\u8ba1\u76ee\u6807 \u6c34\u4e0a\u65e0\u4eba\u8239\u5e73\u53f0\uff0c\u642d\u8f7d\u4e0d\u540c\u529f\u80fd\u6a21\u5757\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u73af\u5883\u76d1\u6d4b\u3001\u6c34&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":226,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/pages\/221"}],"collection":[{"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":23,"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/pages\/221\/revisions"}],"predecessor-version":[{"id":382,"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/pages\/221\/revisions\/382"}],"up":[{"embeddable":true,"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/pages\/226"}],"wp:attachment":[{"href":"https:\/\/www.gexin.link\/index.php\/wp-json\/wp\/v2\/media?parent=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}