To develop applications for the YNX1000 Autonomous Control Unit (ACU), you must first configure a Linux-based development environment. This environment includes the necessary build tools, containerization software, and the YASKAWA-specific SDK.
The following environment is recommended for optimal development performance:
You must install standard build utilities and CMake to compile C++ applications for the platform.
Open your terminal and run the following command to install the necessary compilers and libraries:
sudo apt install build-essential
Install the recommended version of CMake for managing your project build process:
sudo apt install cmake
Note: You can verify your installation by running
cmake --version.
Docker is required to package your applications into images that can run on the ACU. The following instructions describe how to setup your environment for the docker build process.
For compatibility reasons, when using older versions Ubuntu (like 20.04), a more specific versions of Docker must also be installed. This requires the registration of the official Docker repository. If using a more recent version of Ubuntu, the registration steps may not be necessary and standard installation procedures may be followed. Additional instructions for how to setup and install Docker can be found here.
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg]
https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Check that Docker is active:
sudo docker --version
docker group (if it doesn't exist):docker group automatically when Docker is installed,sudo groupadd docker
sudo usermod -aG docker $USER
Replace
$USERwith a specific username if you wish to add a different user to thedockergroup
newgrp docker
hello-world test image:docker run hello-world
Important Security Note: Adding a user to the group grants that user root-level privileges over the host system. Be aware of the security implications before adding users to this group.
| ⬅️ Previous | Next ➡️ | |
|---|---|---|
| Introduction | Installation of the SDK |