Difference between revisions of "Advantech Robotic Suite/DeviceOn"

From ESS-WIKI
Jump to: navigation, search
Line 25: Line 25:
  
 
== Remote Management ==
 
== Remote Management ==
 
 
 
 
  
 
=== Device Management ===
 
=== Device Management ===
Line 38: Line 34:
 
Click on device name or device details to get device information.
 
Click on device name or device details to get device information.
  
[[File:ROS2 Suite DeviceOn iBm1HCe.png|900x240px|RTENOTITLE]]
+
[[File:ROS2 Suite DeviceOn iBm1HCe.png|border|900x240px|RTENOTITLE]]
  
 
You could get the general information such as, device IP, version, MAC, Memory, BIOS, operation system and so on.
 
You could get the general information such as, device IP, version, MAC, Memory, BIOS, operation system and so on.
Line 60: Line 56:
 
 
 
 
  
 
+
==== <span style="font-size:larger;">Deploy a new ROS 2 Node Container to edge</span> ====
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
==== Deploy a new ROS 2 Node Container to edge ====
 
  
 
&nbsp;
 
&nbsp;
Line 75: Line 62:
 
<span style="font-size:larger;">Container of helloworld ROS Node is available in the Azure Container Registry which is named "Demo Registry"</span><span style="font-size:larger;">&nbsp;in the DeviceOn Portal.</span>
 
<span style="font-size:larger;">Container of helloworld ROS Node is available in the Azure Container Registry which is named "Demo Registry"</span><span style="font-size:larger;">&nbsp;in the DeviceOn Portal.</span>
  
<span style="font-size:larger;">[[File:ROS2 Suite RegistriesList.png|900x240px|RTENOTITLE]]</span>
+
<span style="font-size:larger;">[[File:ROS2 Suite RegistriesList.png|border|900x240px|RTENOTITLE]]</span>
  
 
&nbsp;
 
&nbsp;
Line 89: Line 76:
 
<span style="font-size:larger;">Step1. Go to Container -> My Devices page ,&nbsp;choose&nbsp;device for deploy helloworld ros node . Then click Containers icon.</span>
 
<span style="font-size:larger;">Step1. Go to Container -> My Devices page ,&nbsp;choose&nbsp;device for deploy helloworld ros node . Then click Containers icon.</span>
  
<span style="font-size:larger;">[[File:ROS2 ContainerManage 2.png|800px|ROS2 ContainerManage 2.png]]</span>
+
<span style="font-size:larger;">[[File:ROS2 ContainerManage 2.png|border|800px|ROS2 ContainerManage 2.png]]</span>
  
 
&nbsp;
 
&nbsp;
Line 95: Line 82:
 
<span style="font-size:larger;">Step2. Click on "Add" icon.</span>
 
<span style="font-size:larger;">Step2. Click on "Add" icon.</span>
  
[[File:ROS2 ContainerManage 3.png|800px|ROS2 ContainerManage 3.png]]
+
[[File:ROS2 ContainerManage 3.png|border|800px|ROS2 ContainerManage 3.png]]
  
 
&nbsp;
 
&nbsp;
Line 113: Line 100:
 
&nbsp;
 
&nbsp;
  
[[File:ROS2 ContainerManage choose image.png|RTENOTITLE]]
+
[[File:ROS2 ContainerManage choose image.png|border|800x400px|RTENOTITLE]]
  
 
&nbsp;
 
&nbsp;
Line 119: Line 106:
 
<span style="font-size:larger;">After&nbsp;several seconds, you can see the&nbsp;container is deployed into your device and status of helloworld-ros2-node is running.</span>
 
<span style="font-size:larger;">After&nbsp;several seconds, you can see the&nbsp;container is deployed into your device and status of helloworld-ros2-node is running.</span>
  
[[File:ROS2 ContainerManage 6.png|800px|ROS2 ContainerManage 6.png]]
+
[[File:ROS2 ContainerManage 6.png|border|960x480px|ROS2 ContainerManage 6.png]]
  
 
&nbsp;
 
&nbsp;

Revision as of 02:25, 30 May 2023

DeviceOn

 

A surge in market demand for Industrial IoT products has rapidly increased the number of connected devices that are currently deployed and managed across different locations. It is essential to effectively manage, monitor, and control thousands of connected devices while ensuring uninterrupted service. Devices must work properly and securely after they have been deployed - without requiring frequent visits from service technicians. Customers require secure access to their devices in order to detect, troubleshoot, and undertake time-critical actions.

More information please refer to DeviceOn

 

How To

Setup WISE-Agent

 

For EPC-R3720, execute below command to install prerequisites before install WISE-Agent.

apt-get -y install libmosquittopp1 libmosquitto-dev

 

Then, follow Edge Installation & Onboarding documentation to install WISE-Agent and setup WISE-Agent for connecting to DeviceOn.

Remote Management

Device Management

After your device onboarding, you could view, edit device basic information, remote control, and retrieve sensor data on your devices. Nine sub items under Device, Device List contain device name, upgrade status, power management and etc. Device Monitoring to give device loading at present. To remote diagnostic and debug through Remote Control. Next, all of plugin sensor data from Device Data. To grouping your device through the Device Group. For batch real-time or schedule control through Task defined. Rule Engine to set a threshold rule for your devices data in real-time.

Device List

Click on device name or device details to get device information.

RTENOTITLE

You could get the general information such as, device IP, version, MAC, Memory, BIOS, operation system and so on.

RTENOTITLE

 

 

 

Container Management

 You can easily set up, deploy, monitor, and manage each container on different devices. For device managers, it can create, manage and set the health of containers within minutes, and provide a variety of container restart strategies. Through the dashboard, you can quickly understand the running status of the container in the managed device. In addition, for container developers, the Azure Container Repository is supported as a public cloud solution, and private cloud uses Harbor as a container repository.

Detailed documentation about Container Management, please refer to DeviceOn Manual - Container Management Section .

 

 

Deploy a new ROS 2 Node Container to edge

 

Container of helloworld ROS Node is available in the Azure Container Registry which is named "Demo Registry" in the DeviceOn Portal.

RTENOTITLE

 

Click on the registry name "Demo Registry", you can see how many containers in the container registry are available for you to deploy.

ROS2 Suite RegistryDetail.png

 

Follow below steps to start deploy container: 

Step1. Go to Container -> My Devices page , choose device for deploy helloworld ros node . Then click Containers icon.

ROS2 ContainerManage 2.png

 

Step2. Click on "Add" icon.

ROS2 ContainerManage 3.png

 

Step3. Select parameters as below:

  • Mode: Device Mode
  • Container Name: Give a container name by yourdelf.
  • Auto Start: On
  • Source Image: Registries
  • Image: helloworld-ros2-node-<platform-architecture>

      If your platform is x86, choose helloworld-ros2-node-x86_64. If your platform is arm, choose helloworld-ros2-node-aarch64. 

      Click Confirm to start deploy helloworld-ros2-node to the device you choose.

 

RTENOTITLE

 

After several seconds, you can see the container is deployed into your device and status of helloworld-ros2-node is running.

ROS2 ContainerManage 6.png

 

Step5. Now, helloworld-ros2-node is running and publishing "Hello World: <count>" message continuously, To subscribe the data that helloworld-ros2-node published, open a terminal from your device and execute below command:

 

Helloworld-ros2-node-message.png

 

1. Setup ROS2 environmant variables:

$ source /opt/ros/${ROS_DISTRO}/setup.bash

 

2. Subscribe the topic of helloworld node:

$ ros2 topic echo /topic

Result:

data: 'Hello World: 2663'
---
data: 'Hello World: 2664'
---
data: 'Hello World: 2665'
---
data: 'Hello World: 2666'
---
data: 'Hello World: 2667'
---
data: 'Hello World: 2668'
---
data: 'Hello World: 2669'
---

 

 

Reference