Core Module
![]() |
![]() |
Introduction
The Core module is a combination of an RTC with a camera, attached to a rigid frame that, in turn, attaches to a robot body. The Core module is meant to be a easily replaceable part of a robot.
The design of the Core module is openly available on GitHub.
Software
The Core software is an abstraction layer on top of which robot-specific task control routines will be running. The Core software will hide implementation details related to evaluating sensor data and communicating with the RSA. Sensor data includes input from the camera. The Core software will therefore provide high-level functions for computer vision as well as high-level functions for making sense of various measurement data.
Raspberry Pi
On Raspberry Pi (version 3), Core uses the userland libraries libmmal_core.so, libmmal_util.so, libmmal_vc_client.so, libvcos.so, libbcm_host.so to access the camera. Download the userland source code and build the libraries as follows:
sudo apt install git cmake git clone https://github.com/raspberrypi/userland.git cd userland ./buildme
This will automatically install the userland framework and code examples to /opt/vc.
Core uses wiringPi to access the SPI pins on the Raspberry Pi in order to communicate with the RSA. To install wiringPi, type
sudo apt install wiringpi
The Core software layer will also be providing the functions that are used in multiple robot models. For example, an interface for running a previously-trained, predictive neural network, like FishNet.
Hardware
The Core hardware consists of an RTC, a frame that the RTC is attached to, a camera bridge that attaches to the RTC frame, a camera enclosure that attaches to the camera bridge, and a camera inside the enclosure and electrically connected to the RTC. All parts are designed for 3D printing.
The RTC frame features lateral extrusions with 16 mm spacing so that it can be clipped to a robot body with matching 16 mm grabbers.
Electrical RTC Connections
Data
- The RTC communicates with the RSA in the robot body via the SPI standard.
- The RTC connects to the camera over a separate data channel.
Power
Power is supplied to the RTC by the robot body. Typically, the RSA controls the power line, and the camera is powered by the RTC.