{"id":146793,"date":"2022-08-17T15:06:49","date_gmt":"2022-08-17T06:06:49","guid":{"rendered":"https:\/\/techshare.co.jp\/faq\/?p=146793"},"modified":"2022-11-17T10:00:01","modified_gmt":"2022-11-17T01:00:01","slug":"go1_example_py","status":"publish","type":"post","link":"https:\/\/techshare.co.jp\/faq\/unitree\/go1_example_py.html","title":{"rendered":"\u3010Unitree Go1\u3011example_py\u306e\u5b9f\u884c\u65b9\u6cd5\u306b\u3064\u3044\u3066"},"content":{"rendered":"<div style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/techshare.co.jp\/faq\/wp-content\/uploads\/2022\/07\/GO1.jpg\" alt=\"\" width=\"60%\" \/><\/div>\n<h3>\u521d\u3081\u306b<\/h3>\n<hr \/>\n<p>Unitree Go1\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308bunitree_legged_sdk\u306b\u3064\u3044\u3066\u3001<strong>v3.8.0\u3067python\u306b\u5bfe\u5fdc<\/strong>\u3044\u305f\u3057\u307e\u3057\u305f\u3002<br \/>\n\u672c\u7a3f\u3067\u306f\u3001unitree_legged_sdk\u306ev3.8.0\u306b\u304a\u3051\u308bexample_py\u306e\u5b9f\u884c\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3054\u6848\u5185\u3057\u307e\u3059\u3002<\/p>\n<p>\u7d50\u8ad6\u304b\u3089\u7533\u3057\u4e0a\u3052\u307e\u3059\u3068\u3001example_py\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u306f\u4ee5\u4e0b\u306e\u74b0\u5883\u304c\u5fc5\u8981\u3067\u3059\uff1a<\/p>\n<ol>\n<li>python3.8<\/li>\n<li>python3.8\u4e0a\u306ecython<\/li>\n<\/ol>\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u3001GO1\u5185\u90e8\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u74b0\u5883\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u5916\u90e8PC\u4e0a\u3067\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u3046\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>\u74b0\u5883<\/h3>\n<hr \/>\n<p>\u74b0\u5883\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u6a5f\u7a2e: <strong>R&amp;D(Edu), R&amp;D+(Edu+)<\/strong>\uff08Pro\u3067\u306f\u306a\u3044\u3082\u306e\uff09<\/li>\n<li>unitree_legged_sdk:<strong> v3.8.0<\/strong><\/li>\n<li>\u5916\u90e8PC: <strong>Linux<\/strong>(amd64)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>\uff11\uff0e\u5916\u90e8PC\u304b\u3089\u6709\u7dda\u63a5\u7d9a<\/h3>\n<hr \/>\n<p>\u307e\u305a\u306f\u6709\u7dda\u63a5\u7d9a\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\u56f3\u306e\u3088\u3046\u306b\u6709\u7dda\u30b1\u30fc\u30d6\u30eb\u3067\u5916\u90e8PC\u3068\u63a5\u7d9a\u3057\u307e\u3059\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/techshare.co.jp\/faq\/wp-content\/uploads\/2022\/08\/6e6a8692fb40901081e68a03c5510897.png\" alt=\"\" width=\"100%\" \/><br \/>\n\u305d\u306e\u5f8c\u3001\u5916\u90e8PC\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/techshare.co.jp\/faq\/wp-content\/uploads\/2022\/08\/0817_lan_conf.png\" alt=\"\" width=\"100%\" \/><br \/>\n\u203b\u672b\u5c3e\uff13\u6841\u306f\u65e2\u306b\u4f7f\u308f\u3066\u3044\u308b\u3082\u306e (161, 13, 14, 15, 10) \u4ee5\u5916\u306a\u3089\u4f55\u3067\u3082\u5927\u4e08\u592b\u3067\u3059\u3002<br \/>\n\u203b\u7b46\u8005\u306e\u3088\u3046\u306bVirtual Box\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001windows\u5074\u3067\u3082\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306eping\u304c\u901a\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<p style=\"padding: 10px;margin-bottom: 10px;border: 1px solid #606060;background-color: #fafafa;color: #000000\">$ ping 192.168.123.161<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/techshare.co.jp\/faq\/wp-content\/uploads\/2022\/08\/0817_ping_raspi.png\" alt=\"\" width=\"100%\" \/><\/p>\n<h3>\uff12\uff0eunitree_legged_sdk\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<hr \/>\n<p>unitree_legged_sdk\u3092github\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u5916\u90e8PC\u306e\u9069\u5f53\u306a\u5834\u6240\u306b\u7f6e\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>\uff13\uff0e\u5916\u90e8PC\u4e0a\u306b\u304a\u3051\u308b\u74b0\u5883\u69cb\u7bc9<\/h3>\n<hr \/>\n<p>example_py\u3092\u52d5\u304b\u3059\u305f\u3081\u306b\u306f\u3001unitree_legged_sdk\/lib\/python\/amd64\/\u5185\u306b\u3042\u308b<\/p>\n<p style=\"padding: 10px;margin-bottom: 10px;border: 1px solid #606060;background-color: #fafafa;color: #000000\">robot_interface.cpython-38-x86_64-linux-gnu.so<\/p>\n<p>\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u306b\u3001python3.8\u4e0a\u306ecpython\u304c\u5fc5\u8981\u306b\u306a\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u3088\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001python3.8\u74b0\u5883\u4e0b\u3067cython\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/techshare.co.jp\/faq\/wp-content\/uploads\/2022\/08\/0817_install_cython.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>\u203bpython3.8\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u305d\u308c\u3092\u307e\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u203b\u7b46\u8005\u306e\u3088\u3046\u306bubuntu18.04\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306epython(3.6)\u3092\u76f4\u63a53.8\u306b\u3059\u308b\u3068terminal\u304c\u8d77\u52d5\u3057\u306a\u304f\u306a\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\u203b\u306a\u306e\u3067\u7b46\u8005\u306fpipenv\u3092\u7528\u3044\u305f\u4eee\u60f3\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>\uff14\uff0e\u5b9f\u884c<\/h3>\n<hr \/>\n<p>\u74b0\u5883\u69cb\u7bc9\u304c\u5b8c\u4e86\u3059\u308c\u3070\u3042\u3068\u306f\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067go1\u304c\u52d5\u304b\u305b\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<p style=\"padding: 10px;margin-bottom: 10px;border: 1px solid #606060;background-color: #fafafa;color: #000000\">$ python example_walk.py<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/techshare.co.jp\/faq\/wp-content\/uploads\/2022\/08\/0817_python3_example_walk.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>\u5b9f\u884c\u4e2d\u306e\u753b\u9762\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/techshare.co.jp\/faq\/wp-content\/uploads\/2022\/08\/0817_running_example_walk.png\" alt=\"\" width=\"100%\" \/><br \/>\n\u203bgo1\u306f\u52d5\u3044\u3066\u304f\u308c\u308b\u304c\u5024\u304c\u305a\u3063\u30680\u3068\u3044\u3046\u5834\u5408\u306f\u3001\u6709\u7dda\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u304c\u3046\u307e\u304f\u3044\u3063\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3067\u3059\u3002<\/p>\n<h3>\u304a\u308f\u308a\u306b<\/h3>\n<p>example_py\u306e\u5b9f\u884c\u65b9\u6cd5\u3092\u898b\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u8a18\u4e8b\u304c\u5c11\u3057\u3067\u3082\u5f79\u306b\u7acb\u3066\u305f\u306e\u306a\u3089\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u521d\u3081\u306b Unitree Go1\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308bunitree_legged_sdk\u306b\u3064\u3044\u3066\u3001v3.8.0\u3067python\u306b\u5bfe\u5fdc\u3044\u305f\u3057\u307e\u3057\u305f\u3002 \u672c\u7a3f\u3067\u306f\u3001unitree_legged_sdk\u306ev3.8.0\u306b\u304a\u3051\u308bexampl &hellip;<\/p>\n","protected":false},"author":15,"featured_media":146879,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,26,51],"tags":[],"class_list":["post-146793","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-go1","category-unitree","category-unitree-tips"],"_links":{"self":[{"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/posts\/146793","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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/comments?post=146793"}],"version-history":[{"count":21,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/posts\/146793\/revisions"}],"predecessor-version":[{"id":151116,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/posts\/146793\/revisions\/151116"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/media\/146879"}],"wp:attachment":[{"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/media?parent=146793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/categories?post=146793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techshare.co.jp\/faq\/wp-json\/wp\/v2\/tags?post=146793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}