{"id":3300,"date":"2023-12-12T11:55:56","date_gmt":"2023-12-12T02:55:56","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=3300"},"modified":"2023-12-13T10:45:41","modified_gmt":"2023-12-13T01:45:41","slug":"robotino2%e3%82%92%e5%86%8d%e5%88%a9%e7%94%a8%ef%bc%88%e3%81%9d%e3%81%ae2%ef%bc%9arealsense%e9%96%a2%e4%bf%82%e3%81%a8%e3%81%8b%e3%81%8b%e3%81%aa%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=3300","title":{"rendered":"Robotino2\u3092\u518d\u5229\u7528\uff08\u305d\u306e2\uff1aRealSense\u95a2\u4fc2\u3068\u304b\u304b\u306a\uff09"},"content":{"rendered":"<p><mark><a href=\"https:\/\/wiki.openrobotino.org\/index.php?title=Robotino_Raspberry#Cross_compile_for_Raspberry_Pi_32bit\">Cross compile for Raspberry Pi 32bit<\/a><\/mark>\u306e\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt-get install qemu-user-static debootstrap\r\nsudo debootstrap --no-check-gpg --foreign --arch=armhf buster \/home\/verbeek\/raspbian \r\nsudo cp \/usr\/bin\/qemu-arm-static \/home\/verbeek\/raspbian\/usr\/bin\r\nsudo chroot \/home\/verbeek\/raspbian \/debootstrap\/debootstrap --second-stage\r\n# \u2191\u7d50\u69cb\u6642\u9593\u304b\u304b\u308a\u307e\u3059\uff0e\r\n##vim \/home\/verbeek\/raspbian\/etc\/apt\/sources.list\r\n# \u2191vim\u304c\u306a\u3044\u3063\u3066\u6012\u3089\u308c\u307e\u3059\uff0e\u307e\u305f\uff0cvi\u306b\u3057\u3066\u3082\uff0c\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u3063\u3066\u8a00\u308f\u308c\u307e\u3059\uff0e\r\n# \u2193\u3068\u3044\u3046\u308f\u3051\u3067\uff0c\u3053\u3061\u3089\r\nsudo vi \/home\/verbeek\/raspbian\/etc\/apt\/sources.list\r\nsudo chroot \/home\/verbeek\/raspbian\r\n# \u3053\u3053\u304b\u3089root\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\r\napt-get install wget\r\nwget https:\/\/archive.raspbian.org\/raspbian.public.key -O - | apt-key add -\r\nwget https:\/\/archive.raspberrypi.org\/debian\/raspberrypi.gpg.key -O - | apt-key add -\r\napt-get install lsb-release\r\napt-get install cmake-data=3.13.4-1\r\napt-get install cmake=3.13.4-1\r\n# ...\r\napt-get install libtbb-dev libprotoc-dev python3-protobuf libtool libusb-1.0-0-dev libx11-dev xorg-dev libglu1-mesa-de\r\n# \u2191\u3088\u304f\u3088\u304f\u898b\u305f\u3089\u6700\u5f8c\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\uff0c\u30c9\u30a4\u30c4\u8a9e\u7248\u306e\u3088\u3046\u306a\u2026\r\n# \u219364\u30d3\u30c3\u30c8\u7248\u7528\u306b\u3057\u304b\u306a\u3044\u8a18\u8ff0\u3060\u3051\u3069\uff0c\u5165\u308c\u307f\u3088\u3046\u2026\uff0e\r\napt-get install build-essential libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev\r\ncd\r\n##git clone https:\/\/github.com\/IntelRealSense\/librealsense.git\r\n# \u2191git\u304c\u306a\u3044\u3063\u3066\u8a00\u308f\u308c\u307e\u3059\u2026\r\napt-get install git\r\ngit clone https:\/\/github.com\/IntelRealSense\/librealsense.gitroot@robotino:~# cat \/boot\/config.txt |grep hdmi_force\r\n#hdmi_force_hotplug=1\r\nhdmi_force_hotplug=1\r\n# \u2193OpenSSL\u304c\u306a\u3044\u3063\u3066\u6012\u3089\u308c\u307e\u3059\uff0e\r\napt-get install libssl-dev\r\n# \u5165\u308c\u307e\u3057\u3087\u3046\uff0e\r\ncd ~\/librealsense\r\nmkdir  build  &amp;&amp; cd build\r\ncmake .. -DBUILD_EXAMPLES=true -DCMAKE_BUILD_TYPE=Release -DFORCE_LIBUVC=true -DCMAKE_INSTALL_PREFIX=install\r\nmake -j3\r\n# \u2191-j4 \u306f\u3061\u3087\u3063\u3068\u6016\u304b\u3063\u305f\u306e\u3067\uff0c\u5c11\u3057\u63a7\u3048\u3081\u306bj3\u3092\u6307\u5b9a\u3057\u3066\u307f\u307e\u3057\u305f\uff0e\r\n<\/pre>\n<p>\u3042\u3068\uff0craspberry pi\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30ec\u30b9\u904b\u7528\u306f\uff0c\/boot\/config.txt \u306ehdmi_force_hotplug \u306e\u9805\u76ee\u306e\u66f8\u304d\u63db\u3048\u3067\u5bfe\u5fdc\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroot@robotino:~# cat \/boot\/config.txt |grep hdmi_force\r\n#hdmi_force_hotplug=1\r\nhdmi_force_hotplug=1\r\n<\/pre>\n<p>apt\u3067update\u304b\u3051\u305f\u3089vnc\u5468\u308a\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u5d29\u308c\u3066\u3044\u305f\u306e\u3067\u4fee\u5fa9\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\napt-get install libvlc-bin vlc-data vlc-plugin-qt\r\n<\/pre>\n<p>\/etc\/robotino\/controld2.conf \u3068controld3.conf \u306eIP\u30a2\u30c9\u30ec\u30b9\u304c\u602a\u3057\u3044\u306e\u3067\u4fee\u6b63\uff0e<br \/>\n127.0.0.1 \u2192 127.0.1.1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cross compile for Raspberry Pi 32bit\u306e\u4f5c\u696d\u3092 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=3300\"> <span class=\"screen-reader-text\">Robotino2\u3092\u518d\u5229\u7528\uff08\u305d\u306e2\uff1aRealSense\u95a2\u4fc2\u3068\u304b\u304b\u306a\uff09<\/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":[3,12,2,26,6],"tags":[],"class_list":["post-3300","post","type-post","status-publish","format-standard","hentry","category-logistics-league","category-raspberry-pi","category-robocup","category-robotino-2","category-setting"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3300","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=3300"}],"version-history":[{"count":12,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3300\/revisions"}],"predecessor-version":[{"id":3312,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3300\/revisions\/3312"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}