SRRC Wiki

Service Robotics Research Center
at Ulm University of Applied Sciences

User Tools

Site Tools


tutorials:pi:installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorials:pi:installation [2019/01/22 13:54]
oshlapak [Basic Information]
tutorials:pi:installation [2019/11/28 14:02]
Dennis Stampfer [Acknowledgements]
Line 1: Line 1:
-====== Working with the Raspberry Pi: Installation ​(coming soon) ======+====== Working with the Raspberry Pi: Installation ======
  
 This tutorial provides Raspberry Pi specific installation instructions and general remarks to work with the SmartMDSD Toolchain and the Raspberry Pi. This tutorial provides Raspberry Pi specific installation instructions and general remarks to work with the SmartMDSD Toolchain and the Raspberry Pi.
 +
 +
 ===== Basic Information ===== ===== Basic Information =====
  
-^ Level                | Experienced ​                                                                                 +^ Level                | Experienced ​                                                                                                                                                            ​
-^ Role                 | System Builder ​                                                                              ​+^ Role                 | System Builder ​                                                                                                                                                         
-^ Assumptions ​         | Basic understanding of Raspberry Pi Operating System is beneficial, but not required ​        ​+^ Assumptions ​         | Basic understanding of Raspberry Pi Operating System is beneficial, but not required ​                                                                                   
-^ System Requirements ​ | Having a configured Raspberry Pi with an internet connection. In this tutorial the "Raspbian GNU/Linux 9" Operationg ​System was installed on Raspberry Pi 2 Model B v1.1 | +^ System Requirements ​ | Having a configured Raspberry Pi with an internet connection. In this tutorialthe Raspbian GNU/Linux 9 Operating ​System was installed on Raspberry Pi 2 Model B v1.1  
-^ You will learn       | How to install the SmartSoft MDSD Toolchain on a Raspberry Pi                                |+^ You will learn       | How to install the SmartMDSD ​Toolchain on a Raspberry Pi                                                                                                                |
  
  
 ===== Introduction ===== ===== Introduction =====
  
-This tutorial will install SmartSoft on the Raspberry PiIt is based on [[https://​www.raspberrypi.org/​downloads/​raspbian/​|Raspbian Stretch with desktop]].+This tutorial will install SmartSoft on the RaspberryPiThe installation ​is based on [[https://​www.raspberrypi.org/​downloads/​raspbian/​|Raspbian Stretch ​Operating System ​with desktop]] ​for the RaspberryPi.
  
-This tutorial uses the official [[installer:​start|SmartSoft ACE installer]] but adapts some steps specifically for the Raspberry Pi. In summary, it differs as follows:+This tutorial uses the official [[installer:​start|installer]] but adapts some steps specifically for the RaspberryPi. In summary, it differs as follows:
  
   * Use compiler GCC 5 instead of RaspberryPi'​s default compiler   * Use compiler GCC 5 instead of RaspberryPi'​s default compiler
-  * Do not install the SmartMDSD Toolchain on the PI: the PI is only used to execute components. ​Development of software components on the PI will not work with the binary release of the SmartMDSD Toolchain which is made for i86 architectures. +  * Do not install the SmartMDSD Toolchain on the PI: the PI is only used to execute components. ​
-===== Prior to Installation:​ Install GCC 5 =====+
  
-Open a terminal and execute the following commands in order to install ​compatable ​C++ compiler and Xterm on your Raspberry Pi:+Note: Development of software components on the PI will not work with the binary release of the SmartMDSD Toolchain as they are compiled for i86 architectures,​ not for ARM. 
 + 
 +===== Install Compiler ===== 
 + 
 +Before we install SmartSoft, open a terminal and execute the following commands in order to install ​a compatible ​C++ compiler and Xterm on your Raspberry Pi:
  
 <code bash [enable_line_numbers="​true"​]>​ <code bash [enable_line_numbers="​true"​]>​
Line 33: Line 38:
 Verify that your compiler is g++ version 5 by writing in terminal "**g++ -v**" Verify that your compiler is g++ version 5 by writing in terminal "**g++ -v**"
  
-{{:​tutorials:​pi:​compilerversioncheck.png?​700|}}+{{ :​tutorials:​pi:​compilerversioncheck.png?​700 |}}
  
 If you see the gcc version 5.* you are ready to proceed If you see the gcc version 5.* you are ready to proceed
Line 40: Line 45:
 ===== Installation of SmartSoft on Raspberry Pi ===== ===== Installation of SmartSoft on Raspberry Pi =====
  
-Create a folder in your home directory on Raspberry Pi and start the installation by writing in terminal: ​ \\ \\  +Create a folder in your home directory on Raspberry Pi and start the installation by writing in terminal: ​ 
-<​code ​bash [enable_line_numbers="​true"​]>+ 
 +<​code>​
 mkdir ~/​SOFTWARE/ ​ mkdir ~/​SOFTWARE/ ​
 cd ~/​SOFTWARE/ ​ cd ~/​SOFTWARE/ ​
Line 50: Line 56:
 In the installer menu, uncheck option 2 "​**Update/​Install SmartMDSD ​ In the installer menu, uncheck option 2 "​**Update/​Install SmartMDSD ​
 Toolchain to latest version**",​ since the precompiled binary will not work  Toolchain to latest version**",​ since the precompiled binary will not work 
-on ARM. \\  +on ARM. Press '​OK'​.
-{{:​tutorials:​pi:​uncheckopt2.png?​550|}} ​+
  
-Press OK. +{{ :​tutorials:​pi:​uncheckopt2.png?550 |}} 
-Installation may take some time. Don`t worry, it`s fine.+
  
-few times a window ​may pop-up with asking you if you want to abort the session. Answer NO. +similarly looking ​window ​will pop up. In the **Install ACE/​SmartSoft and dependencies on a clean system** window, uncheck option **1.4)Install additional generic packages (optional)** and press 'OK'.
-To all other windows ​press OK, or enter Y in terminal.+
  
-Once Installation is done you should see:+{{ :tutorials:​pi:​install2_06.png?​650 |}}
  
 +The installation will take some time.
  
-{{:​tutorials:​pi:​installationdone.png?​900|}} +The support for Raspberry Pi is experimentalSome software components are not going to compile ​on the RaspberryPi. If this is the case, do not abort the script, but choose to proceed in any error message:
-===== Testing SmartSoft ​on a Raspberry Pi =====+
  
 +{{ :​tutorials:​pi:​install2_error.png?​550 |}}
 +
 +If you see the following selected line, your installation is complete:
 +
 +{{ :​tutorials:​pi:​install2_end.png?​600 |}}
 +
 +
 +
 +===== Testing SmartSoft on a Raspberry Pi =====
  
 Go to  **~/​SOFTWARE/​smartsoft** directory Go to  **~/​SOFTWARE/​smartsoft** directory
Line 70: Line 82:
 Start the naming service using the following command: Start the naming service using the following command:
  
-> ./startSmartSoftNaming service+<code> 
 +./startSmartSoftNamingService 
 +</​code>​
  
 Once the naming service is running, start exampleComponent101 by writing in terminal: Once the naming service is running, start exampleComponent101 by writing in terminal:
  
-> bin/​exampleComponent101+<code> 
 + bin/​exampleComponent101 
 +</​code>​
  
 +{{ :​tutorials:​pi:​installtestsuccess.png?​700 |}}
  
-{{:​tutorials:​pi:​installtestsuccess.png?​700|}} +If you see thisyou have successfully installed SmartSoft on your Raspberry Pi!
- +
-If you see this you have successfully installed SmartSoft on your Raspberry Pi!+
  
 ===== What do do next? ===== ===== What do do next? =====
Line 85: Line 100:
 Now you can proceed with tutorial [[tutorials:​pi:​components-gpio]] Now you can proceed with tutorial [[tutorials:​pi:​components-gpio]]
 ===== Acknowledgements ===== ===== Acknowledgements =====
 +
 +This tutorial was written by Oleksandr Shlapak.
  
 {{ :​acknowledgements-seronet.png |}} {{ :​acknowledgements-seronet.png |}}
 {{ :​acknowledgements-robmosys.png |}} {{ :​acknowledgements-robmosys.png |}}
tutorials/pi/installation.txt · Last modified: 2020/09/03 22:19 by Matthias Lutz