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
tutorials:pi:installation [2019/02/14 16:00]
Dennis Stampfer
tutorials:pi:installation [2020/09/03 22:19] (current)
Matthias Lutz
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.
Line 9: Line 9:
 ^ 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 Operating System ​was installed ​on Raspberry Pi 2 Model B v1.1  |+^ System Requirements ​ | Having a configured Raspberry Pi with an internet connection. ​This tutorial ​has been tested with Raspbian GNU/Linux 9 and 10 Operating System, running ​on Raspberry Pi 2 Model B v1.1 and Pi 4  |
 ^ You will learn       | How to install the SmartMDSD Toolchain on a Raspberry Pi                                                                                                                | ^ You will learn       | How to install the SmartMDSD Toolchain on a Raspberry Pi                                                                                                                |
  
Line 19: Line 19:
 This tutorial uses the official [[installer:​start|installer]] but adapts some steps specifically for the RaspberryPi. 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+ 
 +  * **[Only for Raspbian v9]** 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. ​   * Do not install the SmartMDSD Toolchain on the PI: the PI is only used to execute components. ​
  
 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. 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 =====+===== Install Compiler ​ - Only for Raspbian 9!===== 
 +//Skipp this section for newer Raspbian versions, default compiler is working fine!//
  
 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: 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:
Line 66: Line 68:
 The installation will take some time. The installation will take some time.
  
-The support for Raspberry Pi is experimental. Some software components are not going to compile on the RaspberryPi. If this is the case, do not abort the script, but click proceed ​("​yes"​) ​in any error message:+The support for Raspberry Pi is experimental. Some 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:
  
 {{ :​tutorials:​pi:​install2_error.png?​550 |}} {{ :​tutorials:​pi:​install2_error.png?​550 |}}
  
-If the following ​window pops upchoose '​Yes'​.+If you see the following ​selected lineyour installation is complete:
  
-{{ :​tutorials:​pi:​install2_05.png?700 |}}+{{ :​tutorials:​pi:​install2_end.png?600 |}}
  
-Once Installation is done, if you see the selected line, the installation process is finished: 
  
-{{ :​tutorials:​pi:​install2_end.png?​600 |}} 
  
 ===== Testing SmartSoft on a Raspberry Pi ===== ===== Testing SmartSoft on a Raspberry Pi =====
- 
  
 Go to  **~/​SOFTWARE/​smartsoft** directory Go to  **~/​SOFTWARE/​smartsoft** directory
Line 85: Line 84:
 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 this you have successfully installed SmartSoft on your Raspberry Pi!+If you see thisyou have successfully installed SmartSoft on your Raspberry Pi!
  
 ===== What do do next? ===== ===== What do do next? =====
Line 100: Line 102:
 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.1550156427.txt.gz · Last modified: 2019/02/14 16:00 by Dennis Stampfer