OpenRTM-aist for C ++ is provided with deb packages for Raspbianl for Raspberry Pi. Please note that support for Raspbian and its versions are subject to change or suspension without notice.
Supported version
The version of Raspbian for which packages are currently available is
Buster
SD card preparation
Download OS Image
Download the Rasbian image (the image ”Raspbian Buster with desktop and recommended software” is recommended but you can select another image if necessary) from the link below, unzip and write to SD card. The capacity of the SD card should be more than 4GB.
Using Windows is relatively easier than using Linux or Mac OS. Then if you are a beginner, using Windows is recommended.
For Linux and Mac OS
Write using the dd command as follows.
$ sudo dd of=/dev/<device file of SD card> if=<image file downloaded and decompressed> bs=4M status=progress
$ sudo sync
Writing to an SD card with the above command requires a fairly long time. (Several minutes to ten several minutes). To find the device file name of the SD card, type in:
$ df -h
And find out which device is the SD card from the displayed device size. For example, if you are using a 16GB SD card that currently has Rasbian installed, one device will appear as a 14GB device and that device will appear as /dev/sdf7. Other devices that differ only in the last number, such as /dev/sdf5 and /dev/sdf6, are displayed too. These are the device names used for the SD card. Umount all of these devices as follows:
After that, execute the above dd command. The device file name in the case is /dev/sdf.
Install OpenRTM-aist (C++)
There are two installation methods.
Use the bulk installation script provided by openrtm.org
Use apt-get or synaptic package manager
How to use the bulk installation script
Download the installation script "pkg_install_raspbian.sh" provided by openrtm.org from the download page and execute it with root privileges. This script installs necessary packages sequentially with apt-get.
It is very convenient because it installs all the packages required to develop and execute OpenRTM-aist. Recommended for those who install OpenRTM-aist for the first time.
After downloading the bulk installation script, with root privilege go to the downloaded directory and type in:
$ sudo sh pkg_install_raspbian.sh -l c ++ --yes
For details on how to download the batch installation script, detailed installation methods, and the types of options that can be specified, refer to the Bulk installation script page.
How to use apt-get
Edit source.list
openrtm.org provides a package repository that can be used from apt-get. However, it is not included in the default package repository, so you need to change the settings of apt-get. To do so, edit /etc/apt/sources.list and add the following line:
deb http://www.openrtm.org/pub/Linux/raspbian/ buster main
Installation with apt-get
Follow the steps below to install. On the way, you will be asked for some responses, so please complete while typing y.
If you want to keep the installed version of OpenRTM-aist as a specific version, edit /etc/apt/preferences and add the following line. (In this example, the version is fixed to 1.1 series.)
Since rtshell is a set of python programs, then you need to install OpenRTM-ais-Python to use rtshell. Then please follow the instruction Install on Raspbian page under "Install OpenRTM-aist (Python Version) 1.2".
Confirm installation
To check the installation:
$ dpkg -l 'openrt *'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=========================-=================-=================-=========================================
ii openrtm-aist:amd64 1.2.1-0 amd64 OpenRTM-aist, RT-Middleware distributed by AIST
ii openrtm-aist-dev:amd64 1.2.1-0 amd64 OpenRTM-aist headers for development
ii openrtm-aist-doc 1.2.1-0 all Documentation for openrtm-aist
ii openrtm-aist-example:amd6 1.2.1-0 amd64 OpenRTM-aist examples
ii openrtm-aist-idl:amd64 1.2.1-0 amd64 OpenRTM-aist idls for development
ii openrtp:amd64 1.2.1-0 amd64 OpenRTP, Open RT Platform distributed by AIST
The package details
Each package contains the following.
openrtm-aist
openrtm-aist includes commands and run-time libraries.
OpenRTM-aist for C ++ is provided with deb packages for Raspbianl for Raspberry Pi. Please note that support for Raspbian and its versions are subject to change or suspension without notice.
Supported version
The version of Raspbian for which packages are currently available isSD card preparation
Download OS Image
Download the Rasbian image (the image ”Raspbian Buster with desktop and recommended software” is recommended but you can select another image if necessary) from the link below, unzip and write to SD card. The capacity of the SD card should be more than 4GB.Write to SD card
Please refer to RPi Easy SD Card Setup for how to write to SD card. The link shows several options. Here's an overview of some of them:
For Windows
Using Windows is relatively easier than using Linux or Mac OS. Then if you are a beginner, using Windows is recommended.
For Linux and Mac OS
Writing to an SD card with the above command requires a fairly long time. (Several minutes to ten several minutes). To find the device file name of the SD card, type in:
And find out which device is the SD card from the displayed device size. For example, if you are using a 16GB SD card that currently has Rasbian installed, one device will appear as a 14GB device and that device will appear as /dev/sdf7. Other devices that differ only in the last number, such as /dev/sdf5 and /dev/sdf6, are displayed too. These are the device names used for the SD card. Umount all of these devices as follows:
After that, execute the above dd command. The device file name in the case is /dev/sdf.
Install OpenRTM-aist (C++)
There are two installation methods.How to use the bulk installation script
Download the installation script "pkg_install_raspbian.sh" provided by openrtm.org from the download page and execute it with root privileges. This script installs necessary packages sequentially with apt-get.
It is very convenient because it installs all the packages required to develop and execute OpenRTM-aist. Recommended for those who install OpenRTM-aist for the first time.
After downloading the bulk installation script, with root privilege go to the downloaded directory and type in:
For details on how to download the batch installation script, detailed installation methods, and the types of options that can be specified, refer to the Bulk installation script page.
How to use apt-get
Edit source.list
openrtm.org provides a package repository that can be used from apt-get. However, it is not included in the default package repository, so you need to change the settings of apt-get. To do so, edit /etc/apt/sources.list and add the following line:
Installation with apt-get
Follow the steps below to install. On the way, you will be asked for some responses, so please complete while typing y.
$ apt-get update $ apt-get install gcc g ++ make uuid-dev $ apt-get install libomniorb4-1 libomniorb4-dev omniidl omniorb-nameserver $ apt-get install openrtm-aist openrtm-aist-doc openrtm-aist-dev openrtm-aist-example
If you want to keep the installed version of OpenRTM-aist as a specific version, edit /etc/apt/preferences and add the following line. (In this example, the version is fixed to 1.1 series.)
Package: OpenRTM-aist Pin: version 1.1. *
For more information http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.ja.html#s-pin Please refer to.
Install rtshell
Since rtshell is a set of python programs, then you need to install OpenRTM-ais-Python to use rtshell. Then please follow the instruction Install on Raspbian page under "Install OpenRTM-aist (Python Version) 1.2".
Confirm installation
To check the installation:
The package details
Each package contains the following.
openrtm-aist
openrtm-aist includes commands and run-time libraries.
openrtm-aist-dev
openrtm-aist-dev includes commands and header files that are required for RT system development.
openrtm-aist-idl
openrtm-aist-example
openrtm-aist-example includes sample stand-alone RTCs, sample loadable RTCs, and the source code.
openrtm-aist-idl
openrtm-aist-doc
openrtm-aist-doc include the Japanese/English class reference and IDL interface definition reference.