{"id":2778,"date":"2015-08-04T20:48:21","date_gmt":"2015-08-04T11:48:21","guid":{"rendered":"http:\/\/oohito.com\/nqthm\/?p=2778"},"modified":"2015-08-04T20:48:21","modified_gmt":"2015-08-04T11:48:21","slug":"raspberry-pi%e3%81%abrosindigo%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/oohito.com\/nqthm\/archives\/2778","title":{"rendered":"Raspberry pi model B(Raspbian wheezy\u7248)\u306bROS indigo\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<blockquote><p>\n\u3053\u306e\u8a18\u4e8b\u306fRaspbian wheezy\u7528\u306eROS indigo\u30d3\u30eb\u30c9\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3044\u308b\u3002jessie\u7528\u306b\u3064\u3044\u3066\u306f<a href=\"http:\/\/oohito.com\/nqthm\/archives\/2877\">\u5225\u8a18\u4e8b<\/a>\u3092\u53c2\u7167\u306e\u3053\u3068\u3002\n<\/p><\/blockquote>\n<p>Raspberry pi\u306bROS\/indigo\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002\u73fe\u6642\u70b9\u3067Raspberry pi\u7528\u306eROS\u306e\u30d0\u30a4\u30ca\u30ea\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u63d0\u4f9b\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u306e\u3067\u3001\u76f4\u63a5\u30d3\u30eb\u30c9\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u306a\u308b\u3002\u624b\u9806\u306e\u6982\u8981\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<ol>\n<li>Raspbian\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/li>\n<li>ROS\u30d3\u30eb\u30c9\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/li>\n<li>ROS\u672c\u4f53\u3092\u30d3\u30eb\u30c9\u3059\u308b\u3002<\/li>\n<\/ol>\n<h2>Raspbian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u307e\u305a\u3001<a href=\"https:\/\/www.raspberrypi.org\/downloads\/\">Raspberry pi\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8<\/a>\u304b\u3089NOOBS\u306eZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3057\u305fZIP\u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u306b\u5c55\u958b\u3057\u3001FAT\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3055\u308c\u305fSD\u30ab\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3002<br \/>\nRaspberry pi\u3092\u9069\u5207\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b1\u30fc\u30d6\u30eb\u3092\u63a5\u7d9a\u3057\u305f\u3042\u3068\u3001NOOBS\u3092\u30b3\u30d4\u30fc\u3057\u305fSD\u30ab\u30fc\u30c9\u3092\u633f\u5165\u3057\u3066\u8d77\u52d5\u3059\u308b\u3002<br \/>\n\u8d77\u52d5\u5f8c\u306e\u753b\u9762\u3067\u65e5\u672c\u8a9e\u3092\u9078\u3073\u3001Raspbian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u9078\u3093\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u59cb\u3081\u308b\u3002<br \/>\n\u3053\u306e\u3042\u305f\u308a\u306e\u624b\u9806\u306f\u3001<a href=\"https:\/\/www.raspberrypi.org\/help\/noobs-setup\/\">Raspberry pi\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30da\u30fc\u30b8<\/a>\u3092\u53c2\u7167\u3059\u308b\u3002<br \/>\n\u4e00\u822c\u7684\u306a\u30b5\u30a4\u30c8\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308b\u8a2d\u5b9a\u3092\u6e08\u307e\u305b\u3066\u304a\u304f\u3068\u826f\u3044\u3060\u308d\u3046\u3002<\/p>\n<h2>ROS\u30d3\u30eb\u30c9\u306e\u8a2d\u5b9a<\/h2>\n<p>\u3053\u306e\u624b\u9806\u306f<a href=\"http:\/\/wiki.ros.org\/ROSberryPi\/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi\">ROS\u306e\u30da\u30fc\u30b8<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u308b\u3002\u8981\u306f\u5fe0\u5b9f\u306b\u4e00\u3064\u305a\u3064\u3053\u306a\u3057\u3066\u3044\u304f\u3053\u3068\u3060\u3002<br \/>\n<ins datetime=\"2016-06-13T02:09:00+00:00\">2016\/06\/13\u8ffd\u8a18<\/ins><br \/>\n\u3053\u306e\u8a18\u4e8b\u306fRaspberry pi\u306eOS\u3067\u3042\u308bRaspbian\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304cwheezy\u306e\u9803\u306e\u5185\u5bb9\u3067\u3042\u308b\u3002\u73fe\u6642\u70b9\u3067\u306eRaspbian\u306fjessie\u306b\u306a\u308b\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u7570\u306a\u308b\u3002\u3053\u306e\u5834\u5408\u306f<a href=\"http:\/\/oohito.com\/nqthm\/archives\/2877\">\u5225\u8a18\u4e8b<\/a>\u3092\u53c2\u7167\u3057\u3066\u307b\u3057\u3044\u3002<br \/>\n\u306a\u304a\u3001\u81ea\u5206\u306eRasperry pi\u304c\u3069\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eRaspbian\u3067\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n<pre>$ lsb_release -a\nNo LSB modules are available.\nDistributor ID:\tRaspbian\nDescription:\tRaspbian GNU\/Linux 8.0 (jessie)\nRelease:\t8.0\nCodename:\tjessie\n$ <\/pre>\n<p>Codename\u306e\u884c\u306b\u52d5\u4f5c\u4e2d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u3002<br \/>\n<ins datetime=\"2016-06-13T02:09:00+00:00\">2016\/06\/13\u8ffd\u8a18\u7d42\u4e86<\/ins><\/p>\n<h3>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u3068\u66f4\u65b0<\/h3>\n<p>ROS\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8a2d\u5b9a\u3057\u3001\u8a8d\u8a3c\u30ad\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre>sudo sh -c 'echo \"deb http:\/\/packages.ros.org\/ros\/ubuntu wheezy main\" > \/etc\/apt\/sources.list.d\/ros-latest.list'\nwget https:\/\/raw.githubusercontent.com\/ros\/rosdistro\/master\/ros.key -O - | sudo apt-key add -<\/pre>\n<p>apt\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u66f4\u65b0\u3059\u308b\u3002<\/p>\n<pre>sudo apt-get update\nsudo apt-get upgrade<\/pre>\n<h3>\u30d3\u30eb\u30c9\u7528\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u30d3\u30eb\u30c9\u306b\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre>sudo apt-get install python-setuptools python-pip python-yaml python-argparse python-distribute python-docutils python-dateutil python-setuptools python-six\nsudo pip install rosdep rosinstall_generator wstool rosinstall<\/pre>\n<p>rosdep\u3092\u521d\u671f\u5316\u3059\u308b\u3002<\/p>\n<pre>sudo rosdep init\nrosdep update<\/pre>\n<p>catkin\u306e\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<pre>mkdir ~\/ros_catkin_ws\ncd ~\/ros_catkin_ws<\/pre>\n<h3>Variant\u306e\u9078\u629e<\/h3>\n<p>\u3053\u3053\u3067\u3001ROS\u306e\u3069\u3093\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30d3\u30eb\u30c9\u3059\u308b\u304b\u3092\u9078\u3076\u3053\u3068\u306b\u306a\u308b\u3002\u63a8\u5968\u3055\u308c\u3066\u3044\u308bvariant\u306e\u306fros_comm\u3060\u304c\u3001\u4ed6\u306bdesktop\u3084robot\u306a\u3069\u304c\u3042\u308b\u3002\u76ee\u7684\u306b\u5fdc\u3058\u3066\u597d\u304d\u306a\u3082\u306e\u3092\u9078\u3079\u3070\u3088\u3044\u3002variant\u306f<a href=\"http:\/\/www.ros.org\/reps\/rep-0131.html#variants\">REP 131\u306e\u30da\u30fc\u30b8<\/a>\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n\u9069\u5f53\u306avariant\u3092\u9078\u3093\u3060\u3089\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3002\u306a\u304a\u3001\u4e0b\u306fros_comm\u7528\u306e\u30b3\u30de\u30f3\u30c9\u306a\u306e\u3067\u3001\u9078\u3093\u3060variant\u306b\u5fdc\u3058\u3066ros_comm\u306e\u90e8\u5206(\uff13\u30ab\u6240\u3042\u308b)\u3092variant\u306e\u540d\u524d\u3067\u7f6e\u304d\u63db\u3048\u3066\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<pre>rosinstall_generator ros_comm --rosdistro indigo --deps --wet-only --exclude roslisp --tar > indigo-ros_comm-wet.rosinstall\nwstool init src indigo-ros_comm-wet.rosinstall<\/pre>\n<p>\u306a\u304a\u3001Collada DOM\u304c\u4e0d\u8981\u306a\u3089\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b &#8211;exclude\u306e\u5f8c\u308d\u306b collada_parser \u3068 collada_urdf \u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre>rosinstall_generator ros_comm --rosdistro indigo --deps --wet-only --exclude roslisp collada_parser collada_urdf --tar > indigo-ros_comm-wet.rosinstall\nwstool init src indigo-ros_comm-wet.rosinstall<\/pre>\n<p>\u3053\u306e\u6642\u70b9\u3067\u9078\u3093\u3060variant\u3092\u9593\u9055\u3048\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306f\u3001src\u30d5\u30a9\u30eb\u30c0\u3092\u524a\u9664\u3057\u3066\u4e0a\u306e\u30b3\u30de\u30f3\u30c9\u3092\u3084\u308a\u306a\u304a\u305b\u3070\u826f\u3044\u3002<\/p>\n<h3>\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>ROS\u306e\u30d3\u30eb\u30c9\u306b\u5fc5\u8981\u3060\u304c\u3001Raspbian\u3067\u306fstable\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u305d\u308c\u305e\u308c\u30d3\u30eb\u30c9\u3057\u3066\u304a\u304f\u3002\u307e\u305a\u306f\u3001\u305d\u306e\u6e96\u5099\u3092\u884c\u3046\u3002<\/p>\n<pre>sudo apt-get install checkinstall cmake\nsudo sh -c 'echo \"deb-src http:\/\/mirrordirector.raspbian.org\/raspbian\/ testing main contrib non-free rpi\" >> \/etc\/apt\/sources.list'\nsudo apt-get update<\/pre>\n<p>libconsole-bridge-dev,liblz4-dev,liburdfdom-headers-dev\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre>mkdir ~\/ros_catkin_ws\/external_src\ncd ~\/ros_catkin_ws\/external_src\nsudo apt-get build-dep console-bridge\napt-get source -b console-bridge\nsudo dpkg -i libconsole-bridge0.2_*.deb libconsole-bridge-dev_*.deb\napt-get source -b lz4\nsudo dpkg -i liblz4-*.deb\ngit clone https:\/\/github.com\/ros\/urdfdom_headers.git\ncd urdfdom_headers\ncmake .\nsudo checkinstall make install<\/pre>\n<p>\u6700\u5f8c\u306echeckinstall\u3092\u884c\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u304c\u73fe\u308c\u308b\u3002<\/p>\n<pre>0 -  Maintainer: [ root@raspberrypi ]\n1 -  Summary: [ Package created with checkinstall 1.6.2 ]\n2 -  Name:    [ urdfdom-headers ]\n3 -  Version: [ 20150804 ]\n4 -  Release: [ 1 ]\n5 -  License: [ GPL ]\n6 -  Group:   [ checkinstall ]\n7 -  Architecture: [ armhf ]\n8 -  Source location: [ urdfdom_headers ]\n9 -  Alternate source location: [  ]\n10 - Requires: [  ]\n11 - Provides: [ urdfdom-headers ]\n12 - Conflicts: [  ]\n13 - Replaces: [  ]\nEnter a number to change any of them or press ENTER to continue:<\/pre>\n<p>2\u756a\u306eName\u3092urdfdom_headers\u304b\u3089liburdfdom-headers-dev\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u30012 \u3092\u5165\u529b\u3057\u3066Enter\u3092\u62bc\u3057\u3001\u6b21\u306b liburdfdom-headers-dev \u3068\u5165\u529b\u3059\u308b\u3002\u518d\u5ea6\u78ba\u8a8d\u306e\u8a2d\u5b9a\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u305d\u306e\u307e\u307e Enter \u3092\u62bc\u3057\u3066\u7d9a\u3051\u308b\u3002<\/p>\n<pre>cd ..\nsudo apt-get install libboost-test-dev libtinyxml-dev\ngit clone https:\/\/github.com\/ros\/urdfdom.git\ncd urdfdom\ncmake .\nsudo checkinstall make install<\/pre>\n<p>\u6700\u5f8c\u306echeckinstall\u3092\u884c\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u304c\u73fe\u308c\u308b\u3002<\/p>\n<pre>0 -  Maintainer: [ root@raspberrypi ]\n1 -  Summary: [ Package created with checkinstall 1.6.2 ]\n2 -  Name:    [ urdfdom ]\n3 -  Version: [ 20150804 ]\n4 -  Release: [ 1 ]\n5 -  License: [ GPL ]\n6 -  Group:   [ checkinstall ]\n7 -  Architecture: [ armhf ]\n8 -  Source location: [ urdfdom ]\n9 -  Alternate source location: [  ]\n10 - Requires: [  ]\n11 - Provides: [ urdfdom ]\n12 - Conflicts: [  ]\n13 - Replaces: [  ]\nEnter a number to change any of them or press ENTER to continue:<\/pre>\n<p>2\u756a\u306eName\u3092urdfdom\u304b\u3089liburdfdom-dev\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u30012 \u3092\u5165\u529b\u3057\u3066Enter\u3092\u62bc\u3057\u3001\u6b21\u306b liburdfdom-dev \u3068\u5165\u529b\u3059\u308b\u3002\u518d\u5ea6\u78ba\u8a8d\u306e\u8a2d\u5b9a\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u305d\u306e\u307e\u307e Enter \u3092\u62bc\u3057\u3066\u7d9a\u3051\u308b\u3002<\/p>\n<h3>Collada DOM\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>variants\u306e\u9078\u629e\u6642\u306b Collada DOM \u3092\u9664\u5916\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u4ee5\u4e0b\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<pre>cd ~\/ros_catkin_ws\/external_src\nsudo apt-get install libboost-filesystem-dev libxml2-dev\nwget http:\/\/downloads.sourceforge.net\/project\/collada-dom\/Collada%20DOM\/Collada%20DOM%202.4\/collada-dom-2.4.0.tgz\ntar -xzf collada-dom-2.4.0.tgz\ncd collada-dom-2.4.0\ncmake .\nsudo checkinstall make install<\/pre>\n<p>checkinstall\u3092\u884c\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u304c\u73fe\u308c\u308b\u3002<\/p>\n<pre>0 -  Maintainer: [ root@raspberrypi ]\n1 -  Summary: [ Package created with checkinstall 1.6.2 ]\n2 -  Name:    [ collada-dom ]\n3 -  Version: [ 2.4.0 ]\n4 -  Release: [ 1 ]\n5 -  License: [ GPL ]\n6 -  Group:   [ checkinstall ]\n7 -  Architecture: [ armhf ]\n8 -  Source location: [ collada-dom-2.4.0 ]\n9 -  Alternate source location: [  ]\n10 - Requires: [  ]\n11 - Provides: [ collada-dom ]\n12 - Conflicts: [  ]\n13 - Replaces: [  ]\nEnter a number to change any of them or press ENTER to continue:<\/pre>\n<p>2\u756a\u306eName\u3092collada-dom\u304b\u3089collada-dom-dev\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u30012 \u3092\u5165\u529b\u3057\u3066Enter\u3092\u62bc\u3057\u3001\u6b21\u306b collada-dom-dev \u3068\u5165\u529b\u3059\u308b\u3002\u518d\u5ea6\u78ba\u8a8d\u306e\u8a2d\u5b9a\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u305d\u306e\u307e\u307e Enter \u3092\u62bc\u3057\u3066\u7d9a\u3051\u308b\u3002<\/p>\n<h3>collada_urdf\u3078\u306e\u30d1\u30c3\u30c1<\/h3>\n<p>Collada DOM\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bcollada_urdf\u3078\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\n<a href=\"https:\/\/groups.google.com\/forum\/#!msg\/ros-sig-embedded\/26XlDtZhyNs\/OexZAx6BCBcJ\">Google Group\u306e\u30a8\u30f3\u30c8\u30ea<\/a>\u306b\u6dfb\u4ed8\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\uff080001-fixed-arm-build.patch\uff09\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304f\u3002<br \/>\n\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3066\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u308b\u3002<\/p>\n<pre>cd ~\/ros_catkin_ws\/src\/robot_model\/collada_urdf\/\npatch -p1 < ~\/0001-fixed-arm-build.patch<\/pre>\n<h3>\u4f9d\u5b58\u95a2\u4fc2\u306e\u89e3\u6c7a<\/h3>\n<p>rosdep\u3092\u5b9f\u884c\u3057\u3066\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3059\u308b\u3002<\/p>\n<pre>cd ~\/ros_catkin_ws\nrosdep install --from-paths src --ignore-src --rosdistro indigo -y -r --os=debian:wheezy<\/pre>\n<p>\u4e0a\u8a18\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001python-rosdep, python-catkin-pkg, python-rospkg, python-rosdistro, sbcl\u304c\u306a\u3044\u65e8\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u304c\u3001\u3053\u308c\u3089\u306fpip\u7d4c\u7531\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u306e\u3067\u7121\u8996\u3057\u3066\u3088\u3044\u3002<\/p>\n<h3>ROS\u672c\u4f53\u306e\u30d3\u30eb\u30c9<\/h3>\n<p>\u5f8c\u306f\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3066\u672c\u4f53\u3092\u30d3\u30eb\u30c9\u3059\u308b\u3002<\/p>\n<pre>cd ~\/ros_catkin_ws\nsudo .\/src\/catkin\/bin\/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space \/opt\/ros\/indigo<\/pre>\n<p>\u7d42\u308f\u308b\u307e\u3067\u3072\u305f\u3059\u3089\u5f85\u3064\u3057\u304b\u306a\u3044\u3002SSH\u7d4c\u7531\u3060\u3068\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u304b\u30b3\u30f3\u30bd\u30fc\u30eb\u7d4c\u7531\u3067\u30d3\u30eb\u30c9\u3059\u308b\u3002<\/p>\n<h2>\u52d5\u4f5c\u78ba\u8a8d<\/h2>\n<p>.bashrc\u3067\u521d\u671f\u5316\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre>echo \"source \/opt\/ros\/indigo\/setup.bash\" >> ~\/.bashrc\nsource ~\/.bashrc<\/pre>\n<p>roscore\u3092\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre>roscore<\/pre>\n<pre>... logging to \/home\/pi\/.ros\/log\/9781754e-3a9d-11e5-8b98-b827ebe98f3c\/roslaunch-raspberrypi-11718.log\nChecking log directory for disk usage. This may take awhile.\nPress Ctrl-C to interrupt\nDone checking log file disk usage. Usage is &lt;1GB.\nstarted roslaunch server http:\/\/raspberrypi:42226\/\nros_comm version 1.11.13\nSUMMARY\n========\nPARAMETERS\n * \/rosdistro: indigo\n * \/rosversion: 1.11.13\nNODES\nauto-starting new master\nprocess[master]: started with pid [11735]\nROS_MASTER_URI=http:\/\/raspberrypi:11311\/\nsetting \/run_id to 9781754e-3a9d-11e5-8b98-b827ebe98f3c\nprocess[rosout-1]: started with pid [11748]\nstarted core service [\/rosout]<\/pre>\n<p>Ctrl-Z\u3092\u62bc\u3057\u3066\u30d7\u30ed\u30bb\u30b9\u3092\u6b62\u3081\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u3067bg\u3092\u5165\u529b\u3057\u3066\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u52d5\u4f5c\u3055\u305b\u308b\u3002<\/p>\n<pre>bg<\/pre>\n<p>\u30c8\u30d4\u30c3\u30af\u306e\u4e00\u89a7\u3092\u8868\u793a\u3055\u305b\u308b\u3002<\/p>\n<pre>rostopic list<\/pre>\n<pre>\/rosout\n\/rosout_agg<\/pre>\n<p>\u304a\u305d\u3089\u304f\u6b63\u5e38\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3060\u308d\u3046\u3002fg\u3092\u5165\u529b\u3057\u305f\u5f8c\u3001Ctrl-C\u3067roscore\u306e\u52d5\u4f5c\u3092\u6b62\u3081\u308b\u3002<\/p>\n<pre>fg<\/pre>\n<pre>roscore\n^C[rosout-1] killing on exit\n[master] killing on exit\nshutting down processing monitor...\n... shutting down processing monitor complete\ndone<\/pre>\n<p>\u3053\u3053\u307e\u3067\u304f\u308b\u306e\u306b\u304b\u306a\u308a\u306e\u65e5\u6570\u3092\u8981\u3057\u3066\u3057\u307e\u3063\u305f&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306fRaspbian wheezy\u7528\u306eROS indigo\u30d3\u30eb\u30c9\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3044\u308b\u3002jessie\u7528\u306b\u3064\u3044\u3066\u306f\u5225\u8a18\u4e8b\u3092\u53c2\u7167\u306e\u3053\u3068\u3002 Raspberry pi\u306bROS\/indigo\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002\u73fe\u6642\u70b9\u3067Raspb&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,11],"tags":[],"class_list":["post-2778","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-ros"],"_links":{"self":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts\/2778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/comments?post=2778"}],"version-history":[{"count":0,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts\/2778\/revisions"}],"wp:attachment":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/media?parent=2778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/categories?post=2778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/tags?post=2778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}