This section explains how to set up LGDXRobot Cloud, configure the map and workflow, and then start the first automation job. This tutorial is suitable for both physical and simulated robots, and it uses the LGDXRobot2 Docker image.
Create a folder to store the certificates, and if using simulation, create an additional folder to share the Webots files.
For the desktop image, access the web interface at http://localhost:3000/ or at https://<ip>:3001 for a remote computer. If the terminal is closed, right-click on the desktop and relaunch it from the menu.
docker run -d \
--name lgdxrobot2 \
-v <path to keys>:/config/keys \
-v /dev:/dev \
--device-cgroup-rule='c 81:* rwm' \
--device-cgroup-rule='c 189:* rwm' \
--device-cgroup-rule='c 188:* rwm' \
--device-cgroup-rule='c 166:* rwm' \
--device-cgroup-rule='c 13:* rwm' \
--privileged \
-e PUID=1000 \
-e PGID=1000 \
-p 3000:3000 \
-p 3001:3001 \
yukaitung/lgdxrobot2-desktop:latest
Assume that the Webots had been installed on the host computer.
python3 <path>/local_simulation_server.py
docker run --rm -it \
-e PUID=1000 \
-e PGID=1000 \
-v <path to keys>:/config/keys \
-v <path to Webots files>:/config/share \
-p 3000:3000 \
-p 3001:3001 yukaitung/lgdxrobot2.desktop:latest
export WEBOTS_SHARED_FOLDER=~/webots_share:/config/webots_share
Click the blue button in the middle-left to expand the settings. Paste the command into the Clipboard section, then paste it directly into the terminal.
When running the simulation, the Webots GUI opens automatically on the host machine.