{"id":347667,"date":"2026-05-27T17:33:13","date_gmt":"2026-05-27T08:33:13","guid":{"rendered":"https:\/\/techshare.co.jp\/faq\/?p=347667"},"modified":"2026-07-16T09:13:18","modified_gmt":"2026-07-16T00:13:18","slug":"pyagxarm-quickstart","status":"publish","type":"post","link":"https:\/\/techshare.co.jp\/faq\/agilex\/pyagxarm-quickstart.html","title":{"rendered":"[PiPER, NERO]pyAgxArm\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5"},"content":{"rendered":"<h4 data-heading=\"\u306f\u3058\u3081\u306b\">1. \u306f\u3058\u3081\u306b<\/h4>\n<p><a href=\"https:\/\/github.com\/agilexrobotics\/pyAgxArm\">pyAgxArm<\/a>\u306f\u3001AgileX\u793e\u306e\u63d0\u4f9b\u3059\u308b\u30ed\u30dc\u30c3\u30c8\u30a2\u30fc\u30e0\u304a\u3088\u3073\u30a8\u30f3\u30c9\u30a8\u30d5\u30a7\u30af\u30bf\u5411\u3051\u306ePython SDK\u3067\u3059\u3002Piper\uff08\u7121\u5370\/X\/H\/L\uff09\u3001NERO\u3001AgxGripper\u3001Revo2\u3092\u5bfe\u8c61\u306b\u3001CAN\u901a\u4fe1\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u8aad\u307f\u53d6\u308a\u3001\u30e2\u30fc\u30b7\u30e7\u30f3\u5236\u5fa1\u3001\u304a\u3088\u3073\u30a8\u30f3\u30c9\u30a8\u30d5\u30a7\u30af\u30bf\u5236\u5fa1\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u3067\u306f\u3001pyAgxArm\u3092\u7528\u3044\u3066\u3001Windows PC\u304b\u3089Piper X\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u624b\u9806\u3092\u8aac\u660e\u3044\u305f\u3057\u307e\u3059\u3002Python\u3067\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u3001\u30ed\u30dc\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u3092\u76ee\u6a19\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><br \/>\n\u672c\u7a3f\u306f\u3001\u516c\u5f0f\u306eGitHub\u30da\u30fc\u30b8\uff08<a href=\"https:\/\/github.com\/agilexrobotics\/pyAgxArm#install\">https:\/\/github.com\/agilexrobotics\/pyAgxArm<\/a>\uff09\u306b\u57fa\u3065\u3044\u3066\u4f5c\u6210\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\nLinux\u74b0\u5883\u306e\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u516c\u5f0fGitHub\u306e<a href=\"https:\/\/github.com\/agilexrobotics\/pyAgxArm#install\">Install<\/a>\u9805\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4 data-heading=\"\u74b0\u5883\">2. \u74b0\u5883<\/h4>\n<p>\u4ee5\u4e0b\u306e\u74b0\u5883\u306b\u3066\u3001\u3053\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u624b\u9806\u304c\u6709\u52b9\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>OS: Windows 11 (64bit)<\/li>\n<li>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\n<ul>\n<li>Python 3.12.7\n<ul>\n<li>pyAgxArm 1.0.0<\/li>\n<li>python-can 4.6.1<\/li>\n<li>python-can-agx-cando 0.0.1<\/li>\n<\/ul>\n<\/li>\n<li>ArmRobotUA v2.0.0<\/li>\n<\/ul>\n<\/li>\n<li>\u4f7f\u7528\u3059\u308b\u30ed\u30dc\u30c3\u30c8: Piper-X<\/li>\n<\/ul>\n<h4 data-heading=\"\u7528\u610f\u3059\u308b\u3082\u306e\">3. \u7528\u610f\u3059\u308b\u3082\u306e<\/h4>\n<ul>\n<li>Windows (10, 11)\u3092\u642d\u8f09\u3057\u305fPC\n<ul>\n<li>Python(3.6-3.14\u5bfe\u5fdc)\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<\/li>\n<li>VSCode\u7b49\u306e\u30a8\u30c7\u30a3\u30bf<\/li>\n<li>Piper, Nero\u7b49\u306e\u30ed\u30dc\u30c3\u30c8\u3001\u30a8\u30f3\u30c9\u30a8\u30d5\u30a7\u30af\u30bf\uff08\u3042\u308c\u3070\uff09\n<ul>\n<li>\u30ed\u30dc\u30c3\u30c8\u306b\u4ed8\u5c5e\u306eCAN-USB\u30a2\u30c0\u30d7\u30bf\u3092\u7528\u3044\u3066PC\u3068\u63a5\u7d9a\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5b9f\u884c\u6642\u306b\u306f\u96fb\u6e90\u30b1\u30fc\u30d6\u30eb\u3092\u63a5\u7d9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4 data-heading=\"\u624b\u9806\">4. \u624b\u9806<\/h4>\n<p>\u307e\u305a\u3001\u524d\u63d0\u3068\u306a\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p><strong>python-can<\/strong><\/p>\n<div class=\"hcb_wrap\">\n<pre><code class=\"language-shell\">pip3 install python-can\r\n<\/code><\/pre>\n<p><code>python-can<\/code>\u00a0\u306f\u00a0<code>3.3.4<\/code>\u3088\u308a\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n<p><strong>python-can-agx-cando<\/strong><\/p>\n<p>Windows\u3067pyAgxArm\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u00a0<code>python-can-agx-cando<\/code>\u00a0\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u00a0<code>agx_cando<\/code>\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u306f GitHub \u304b\u3089 <code data-start=\"36\" data-end=\"47\">git clone<\/code> \u3067\u53d6\u5f97\u3057\u3001\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067 <code data-start=\"63\" data-end=\"76\">pip install<\/code> \u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre><code class=\"&quot;language-shell\">\r\ngit clone https:\/\/github.com\/agilexrobotics\/python-can-agx-cando.git\r\ncd python-can-agx-cando\r\npip3 install .\r\n<\/code><\/pre>\n<\/div>\n<p><strong>pyAgxArm<\/strong><\/p>\n<p>\u540c\u69d8\u306b\u00a0<code data-start=\"36\" data-end=\"47\">git clone<\/code> \u3067\u53d6\u5f97\u3057\u3001\u00a0<code data-start=\"63\" data-end=\"76\">pip install<\/code>\u00a0\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre><code class=\"language-shell\">git clone https:\/\/github.com\/agilexrobotics\/pyAgxArm.git\r\ncd pyAgxArm\r\npip3 install .\r\n<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h4 data-heading=\"\u5b9f\u884c\u7d50\u679c\u4f8b\">5. \u5b9f\u884c\u7d50\u679c\u4f8b<\/h4>\n<p><code>pyAgxArm\/pyAgxArm\/demos<\/code> \u4ee5\u4e0b\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code>pyAgxArm\/pyAgxArm\/demos\/detect_&lt;\u30ed\u30dc\u30c3\u30c8\u540d&gt;_series.py<\/code>\u3067\u306f\u3001CAN\u901a\u4fe1\u3067\u30ed\u30dc\u30c3\u30c8\u3092\u8a8d\u8b58\u3067\u304d\u308b\u304b\u691c\u8a3c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u5b9f\u884c\u5f8c\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u3066\u30a8\u30e9\u30fc\u3068\u306a\u3063\u305f\u5834\u5408\u3001\u6b63\u5e38\u306b\u30ed\u30dc\u30c3\u30c8\u9593\u306e\u901a\u4fe1\u304c\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002<br \/>\n\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u305b\u305a\u3001\u30ed\u30dc\u30c3\u30c8\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3084\u95a2\u7bc0\u3054\u3068\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u51fa\u529b\u3055\u308c\u305f\u5834\u5408\u3001\u6b63\u5e38\u306b\u30ed\u30dc\u30c3\u30c8\u3068\u901a\u4fe1\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code>pyAgxArm\/pyAgxArm\/demos\/&lt;\u30ed\u30dc\u30c3\u30c8\u540d&gt;\/test1.py<\/code> \u306f\u3001\u5404\u30ed\u30dc\u30c3\u30c8\u7528\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u306a\u3063\u3066\u304a\u308a\u3001SDK\u3067\u884c\u3048\u308b\u52d5\u4f5c\u304c\u7db2\u7f85\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u5927\u90e8\u5206\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5b9f\u884c\u3057\u305f\u3044\u95a2\u6570\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u89e3\u9664\u3057\u3066\u304b\u3089\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4 data-heading=\"\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\">5.\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h4>\n<ul>\n<li>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u5f8c\u3001\u30ed\u30dc\u30c3\u30c8\u304c\u7d66\u96fb\u72b6\u614b\uff08Enable\uff09\u306e\u307e\u307e\u3067\u3042\u308b\u3002\n<ul>\n<li>\u30d7\u30ed\u30b0\u30e9\u30e0\u3067Disable\u3059\u308b\u304b\u3001ArmRobotUA\u304b\u3089\u624b\u52d5\u3067Disable\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u203bDisable\u3059\u308b\u3068\u30a2\u30fc\u30e0\u304c\u91cd\u529b\u3067\u843d\u3061\u308b\u306e\u3067\u624b\u3067\u652f\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<\/li>\n<li>CAN\u30e2\u30b8\u30e5\u30fc\u30eb\u3092PC\u5074\u3067\u8a8d\u8b58\u3067\u304d\u306a\u3044\u3002\n<ul>\n<li>WSL\u306bUSB\u3092\u5171\u6709\u3057\u3066\u3044\u305f\u5834\u5408\u3001<code>usbipd bind -b &lt;BUSID&gt;<\/code>\u3067\u5171\u6709\u3092\u89e3\u9664\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li><code>can.exceptions.CanInitializationError: Failed to open CAN bus. AgxCandoBus was not properly shut down<\/code>\n<ul>\n<li>ArmRobotUA\u3067\u63a5\u7d9a\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u305d\u3061\u3089\u304c\u901a\u4fe1\u3092\u5360\u6709\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u5148\u306b\u63a5\u7d9a\u89e3\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>1. \u306f\u3058\u3081\u306b pyAgxArm\u306f\u3001AgileX\u793e\u306e\u63d0\u4f9b\u3059\u308b\u30ed\u30dc\u30c3\u30c8\u30a2\u30fc\u30e0\u304a\u3088\u3073\u30a8\u30f3\u30c9\u30a8\u30d5\u30a7\u30af\u30bf\u5411\u3051\u306ePython SDK\u3067\u3059\u3002Piper\uff08\u7121\u5370\/X\/H\/L\uff09\u3001NERO\u3001AgxGripper\u3001Revo2\u3092\u5bfe\u8c61\u306b\u3001CAN\u901a &hellip;<\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,48,86],"tags":[],"class_list":["post-347667","post","type-post","status-publish","format-standard","hentry","category-agilex","category-agilex-tips","category-piper"],"_links":{"self":[{"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/posts\/347667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/comments?post=347667"}],"version-history":[{"count":11,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/posts\/347667\/revisions"}],"predecessor-version":[{"id":347680,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/posts\/347667\/revisions\/347680"}],"wp:attachment":[{"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/media?parent=347667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/categories?post=347667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/tags?post=347667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}