openrtm-aist use cases on raspberry pi

✏️ Edit this page on GitHub

Introduction

Raspberry Pi is a single-board computer developed by the Raspberry Pi Foundation in the United Kingdom and is based on ARM processors.

Despite its compact embedded-board form factor, Raspberry Pi can run standard ARM versions of Linux distributions (Debian, Fedora, Arch Linux) as well as FreeBSD. Since it supports native compilation directly on the board, it is very easy to use.

Storage is provided via inexpensive, high-capacity SD cards, and the board itself is also very affordable, costing around 3,000 yen.

In addition, Raspberry Pi provides a variety of basic I/O interfaces and can connect to numerous external devices, making it suitable for applications such as robot control, sensor measurement, and many other embedded and robotics projects.

Specifications

The appearance of a Raspberry Pi is shown below.

Raspberry Pi

Raspberry Pi is available in three primary categories (Model A, Model B, and Model Zero), with multiple variations within each category. For details, refer to the Wikipedia page below.

  • Wikipedia: http://ja.wikipedia.org/wiki/Raspberry_Pi

Representative model specifications are shown below.

Specifications
3 Model B 3 Model B+ 4 Model B (4 GB)
Target Price $35 $35 $55
SoC Broadcom BCM2837 Broadcom BCM2837B0 Broadcom BCM2711
CPU ARM Cortex-A53 1.2 GHz ARM Cortex-A53 1.4 GHz ARM Cortex-A72 1.5 GHz
GPU Broadcom VideoCore IV Broadcom VideoCore VI
Memory (SDRAM) 1 GB (shared with GPU) 4 GB (shared with GPU)
USB 2.0 Ports 4 (integrated USB hub) 4 2
USB 3.0 Ports - 2
Video Output Composite RCA (PAL & NTSC), HDMI (rev 1.3 & 1.4), MIPI DSI Composite RCA (PAL/NTSC), dual micro-HDMI 2.0 (up to 4Kp60), MIPI DSI
Audio Output 3.5 mm jack, I2S, HDMI 3.5 mm jack, I2S, micro HDMI
Storage SD Memory Card / MMC / SDIO card slot
Networking 10/100 Mbps Ethernet (RJ45) Gigabit Ethernet over USB 2.0 (maximum throughput 300 Mbps) (RJ45) Gigabit Ethernet (RJ45)
Low-Level Peripherals 8 × GPIO, UART, I2C, SPI with two chip selects, +3.3V, +5V, Ground
Power 2.5 A (12.5 W) 3 A (15 W)
Power Source 5 V via microUSB or GPIO 5 V via USB Type-C or GPIO
Dimensions 85.0 mm × 56.5 mm 85.0 mm × 56.0 mm

For more detailed specifications, please refer to the Wiki page and other related resources.

Overview of This Book

Using the PiRT-Unit I/O expansion board developed by AIST, I/O devices can be utilized relatively easily.

PiRT-Unit

OpenRTM-aist (C++, Python, and Java editions) can be compiled and executed directly on Raspberry Pi. As a result, despite being an embedded platform, it can be used in much the same way as a standard Linux PC development environment.

This guide explains:

  • How to build a development environment for OpenRTM-aist
  • Useful tips and operational know-how
  • Methods for controlling mobile robots
  • Techniques for utilizing I/O devices
  • Development and execution of RT Components
Applications Using Raspberry Pi and PiRT-Unit