{"id":615,"date":"2017-11-17T03:33:19","date_gmt":"2017-11-17T03:33:19","guid":{"rendered":"http:\/\/sar-lab.net\/?page_id=615"},"modified":"2017-11-17T03:33:19","modified_gmt":"2017-11-17T03:33:19","slug":"ros-images-for-raspberry-pi","status":"publish","type":"page","link":"https:\/\/sar-lab.net\/?page_id=615","title":{"rendered":"ROS Images for Raspberry Pi"},"content":{"rendered":"<h2>ROS Melodic on Raspberry Pi OS (Aug 2020) for Raspberry PI 4, for work on iRobot Create 2<\/h2>\n<p>This <a href=\"https:\/\/drive.google.com\/file\/d\/1jU0OnGTEJvSd4AKKglRegeQLWM9KmzEV\/\">image is of Raspberry PI OS (ver Aug 2020) with ROS Melodic<\/a> installed for Raspberry PI 4.&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Initially created in Aug 2020:<\/span><\/p>\n<ul>\n<li>From the&nbsp;<a href=\"https:\/\/www.raspberrypi.org\/downloads\/raspbian\/\">Raspberry PI website<\/a>, started with pre-made image &#8220;Raspberry Pi OS (32-bit) with desktop and recommended software&#8221; (Version: August 2020<br \/>\nRelease date:2020-08-20,&nbsp;Kernel version:5.4).<\/li>\n<li>Followed Steps 1-3 from these instructions to&nbsp;<a href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/08\/01\/installing-ros-melodic-on-raspberry-pi-4-and-rplidar-a1m8\/\">Install ROS Melodic on Raspberry PI 4<\/a>. Worked out issues as they came up.&nbsp;&nbsp;<\/li>\n<li>Manually created file named &#8220;ssh&#8221; in boot partition of stock image to enable SSH by default.<\/li>\n<li>Created a ROS workspace for the iRobot Create 2 platform, with the <a href=\"https:\/\/github.com\/AutonomyLab\/create_autonomy\"><em>create_autonomy<\/em> ROS package<\/a>&nbsp;successfully compiling. I worked out dependencies and issues as they came up.&nbsp;<\/li>\n<li>Must first log in via SSH and then enable desktop environment if desired.&nbsp;<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>ROS Kinetic on Raspbian Stretch for Raspberry PI 3<\/h2>\n<p>This&nbsp;<a href=\"https:\/\/drive.google.com\/file\/d\/1HzA3cZ4ywS2JLQJBDtqoytYDPkm9H0wT\/view?usp=sharing\">image is of Raspbian Stretch with ROS Kinetic<\/a> installed, for a Raspberry PI 3B or 3B+.<\/p>\n<p><span style=\"text-decoration: underline;\">Updated, October 2018:<\/span><\/p>\n<ul>\n<li>Same image initially created as described below in 2017, with some updates<\/li>\n<li>Have done a general package update (apt-get update and upgrade).&nbsp;<\/li>\n<li>Installed a package and software needed for the RasPi to be a Simulink Target (See MATLAB\/Simulink code generation tools)<\/li>\n<li>Updated Kernel for Raspberry Pi 3B+.&nbsp;&nbsp;<\/li>\n<li>Must first log in via SSH and then enable desktop environment if desired.&nbsp;<\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\">Initially created in Nov 2017:<\/span><\/p>\n<ul>\n<li>From the <a href=\"https:\/\/www.raspberrypi.org\/downloads\/raspbian\/\">Raspberry PI website<\/a>, started with pre-made image &#8220;Raspbian Stretch with desktop&#8221; (Image with desktop based on Debian Stretch, Version: September 2017, Release date: 2017-09-07, Kernel version: 4.9).<\/li>\n<li>Followed these instructions to<a href=\"http:\/\/wiki.ros.org\/ROSberryPi\/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi\"> Install ROS Kinetic on Raspberry PI.<\/a> Some exceptions and notes:<\/li>\n<li>Manually created file named &#8220;ssh&#8221; in boot partition of stock image to enable SSH by default.<\/li>\n<li>Had an error for missing package, &#8220;sudo apt install dirmngr&#8221; fixed it.<\/li>\n<li>Selected option:&nbsp; Desktop: ROS, rqt, rviz, and robot-generic libraries<\/li>\n<li>Instructions are for Raspbian Jessie, and we are working with Stretch. Modified the following command:\n<ul>\n<li>$ rosdep install -y &#8211;from-paths src &#8211;ignore-src &#8211;rosdistro kinetic -r &#8211;os=debian:<em><strong>stretch<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<li>As the article points out, building the catkin workspace did fail a number of times. As the article recommends, I increased the swap space to 1GB, and used the -j2 tag instead of -j4.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>ROS Melodic on Raspberry Pi OS (Aug 2020) for Raspberry PI 4, for work on iRobot Create 2 This image is of Raspberry PI OS (ver Aug 2020) with ROS Melodic installed for Raspberry PI 4.&nbsp; Initially created in Aug 2020: From the&nbsp;Raspberry PI website, started with pre-made image &#8220;Raspberry Pi OS (32-bit) with desktop [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":55,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-615","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sar-lab.net\/index.php?rest_route=\/wp\/v2\/pages\/615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sar-lab.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sar-lab.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sar-lab.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sar-lab.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=615"}],"version-history":[{"count":0,"href":"https:\/\/sar-lab.net\/index.php?rest_route=\/wp\/v2\/pages\/615\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/sar-lab.net\/index.php?rest_route=\/wp\/v2\/pages\/55"}],"wp:attachment":[{"href":"https:\/\/sar-lab.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}