The tutorial will teach you how to deploy a basic non-ROS package that will change the trigger of the on-board LED (ACT/LED0) on Raspberry PI 2 or 3.
The goal is to learn how to deploy a basic non-ROS package on a Raspberry PI 2 or 3 with docker compose runtime.
Learn how to prepare your Raspberry PI.
To onboard the device on to rapyuta.io, add the device to rapyuta.io, and ensure that you select the Use docker compose as default runtime checkbox while adding the device.
To create led_trigger package, follow the steps:
The name of a component must consist of alphabets [A-Z, a-z], digits [0-9], hyphen - and an underscore _ character, and must not start with a digit.
The name of an executable must consist of alphabets [A-Z, a-z], digits [0-9], hyphen - and an underscore _ character, and must not start with a digit.
led_trigger led0 heartbeat
A flickering yellow dot next to the package name indicates that the Build Status is New, while a green dot indicates that the Build Status is Complete.
Additionally, you may verify if the package is built successfully and is ready to be deployed by clicking to see if the Deploy package button is enabled.
To deploy a package from the rapyuta.io, follow the steps:
LED Trigger Deployment
You will be redirected to the newly created deployment’s Details page. The LED Trigger Deployment is successfully running only when the green colored bar moves to Succeeded and Status:Running point indicating that the DEPLOYMENT PHASE is Succeeded, and the STATUS is Running.
You may also analyze the corresponding deployment logs to check if everything is working good.
To verify that everything is working correctly, you should observe the trigger of the on-board LED(ACT/LED0) on Raspberry PI 2 or 3 switches to a heartbeat.