{"id":239,"date":"2019-08-23T09:50:17","date_gmt":"2019-08-23T15:50:17","guid":{"rendered":"https:\/\/twopotatoe.net\/?page_id=239"},"modified":"2019-08-23T17:15:35","modified_gmt":"2019-08-23T23:15:35","slug":"up-board-configuration","status":"publish","type":"page","link":"https:\/\/twopotatoe.net\/?page_id=239","title":{"rendered":"Up Board Configuration"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>Got to <a href=\"https:\/\/wiki.up-community.org\/Ubuntu\">Setup<\/a>.  Follow the instructions for <strong><em>Ubuntu 18.04 installation and configuration<\/em><\/strong>, creating the usb device and installing the  kernel: <strong><em>Install Ubuntu kernel 4.15.0 for UP from PPA on Ubuntu 18.04<\/em><\/strong> .  Then enable the Hat functionality: <strong><em>Enable the HAT functionality from userspace<\/em><\/strong> .  Use the Ubunto TwoPotatoe username and password.<\/li><li>Install <a href=\"https:\/\/linuxconfig.org\/install-xfce-desktop-on-ubuntu-18-04-bionic-beaver-linux\">xfce desktop<\/a> environment.<\/li><li>Install <a href=\"https:\/\/realvnc.com\/\">realvnc<\/a> with same TwoPotatoe login name and password. <\/li><li>Install <a href=\"https:\/\/www.hiroom2.com\/2018\/05\/14\/ubuntu-1804-eclipse-cdt-en\/\">Eclipse C++ development environment<\/a>.  You can also get it from <a href=\"https:\/\/www.eclipse.org\/downloads\/download.php?file=\/technology\/epp\/downloads\/release\/2019-06\/R\/eclipse-cpp-2019-06-R-linux-gtk-x86_64.tar.gz\">Eclipse.org<\/a>, extract it and move it to some other directory and create a desktop launcher. <\/li><li>Install <a href=\"https:\/\/www.howtogeek.com\/176471\/how-to-share-files-between-windows-and-linux\/\">Samba<\/a>.  Use the same name and password as for Ubuntu.  You must sudo this command.  Add the ~\/eclipse-workspace\/ environment.<\/li><li>Copy the TwoPotatoe source into the Eclipse environment.<\/li><li>Install the <a href=\"https:\/\/www.intelrealsense.com\/developers\/?cid=sem&amp;source=sa360&amp;campid=2019_q2_egi_us_ntgrs_nach_revs_text-link_brand_bmm_cd_realsense-realsense_o-1lngr_google&amp;ad_group=realsense%5Eus%5Erealsense%5Eexact&amp;intel_term=%2Brealsense&amp;sa360id=43700043668081492&amp;gclid=CjwKCAjwnf7qBRAtEiwAseBO_AZJiWJumE0oX5I9KpBJNs3AZW2UekutslLe4Qj03sFgj4yc6n3VEBoCq7AQAvD_BwE&amp;gclsrc=aw.ds\">Realsense libraies<\/a>.<\/li><li>Import the TwoPotatoe project with <strong><em>Import Projects from File System<\/em><\/strong><\/li><li>In Eclipse set to compile with the c11 environment: Properties->C\/C++ Build->Settings->GCC C++ Compiler->Dialect->ISO C++11<\/li><li>Add the Realsense libraries: Properties->C\/C++ Build->Settings->GCC C++ Linker->Libraries->realsense2 may need to be added.<\/li><li>Add <strong><em>runtp killtp<\/em><\/strong> &#8220;killall TwoPotatoe&#8221; and <strong><em>findtp<\/em><\/strong> &#8220;pgrep -a TwoPotatoe&#8221; scripts.<\/li><li>Add runtp&amp; to .profile.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Got to Setup. Follow the instructions for Ubuntu 18.04 installation and configuration, creating the usb device and installing the kernel: Install Ubuntu kernel 4.15.0 for UP from PPA on Ubuntu 18.04 . Then enable the Hat functionality: Enable the HAT functionality from userspace . Use the Ubunto TwoPotatoe username and password. Install xfce desktop environment. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-239","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/twopotatoe.net\/index.php?rest_route=\/wp\/v2\/pages\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twopotatoe.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/twopotatoe.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/twopotatoe.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/twopotatoe.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=239"}],"version-history":[{"count":11,"href":"https:\/\/twopotatoe.net\/index.php?rest_route=\/wp\/v2\/pages\/239\/revisions"}],"predecessor-version":[{"id":259,"href":"https:\/\/twopotatoe.net\/index.php?rest_route=\/wp\/v2\/pages\/239\/revisions\/259"}],"wp:attachment":[{"href":"https:\/\/twopotatoe.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}