Skip to main content

Goals

This guide walks you through connecting a physical camera (external webcam or laptop webcam) to its digital twin on Cyberwave. By the end, you will have:
  • Created a Cyberwave environment with a camera digital twin
  • Installed the Cyberwave edge stack on your device
  • Paired the physical camera with the digital twin and streaming video in real time

Prerequisites

  • A USB webcam or a laptop with a built-in camera
  • The camera should be connected and recognised by your operating system
  • Verify your camera is detected:
ls /dev/video*
You should see at least one device (e.g., /dev/video0).

Phase 1: Configure Cyberwave Environment

Set up your environment and add a camera digital twin on Cyberwave.

Step 1: Create an Environment

An environment is a 3D virtual space that mirrors your real-world setup.
  1. Go to the Cyberwave dashboard and click on New Environment.
  2. Give your environment a name and description.
For more details, see Step 1 of the Quick Start guide.

Step 2: Add the Camera Digital Twin

  1. Inside your environment, click Add from Catalog in the left panel.
  2. Search for Camera in the catalog.
  3. Add the camera digital twin to your environment.

Browse Catalog

Explore our robot catalog

Phase 2: Install the Cyberwave Edge

Install the Cyberwave edge stack on the device your camera is connected to.

Step 3: SSH into Your Edge Device

ssh user@<edge-device-ip>

Step 4: Install the Cyberwave CLI

curl -fsSL https://cyberwave.com/install.sh | bash

Step 5: Install the Edge Core

sudo cyberwave edge install
The CLI will prompt you to log in with your Cyberwave credentials and then install the cyberwave-edge-core on your device.
For more details on CLI and Edge Core installation, see Steps 3–4 of the Quick Start guide.

Phase 3: Pair the Camera

Step 6: Pair the Camera with its Digital Twin

Follow the prompts in your terminal:
  1. Select the environment you created earlier.
  2. Select the camera digital twin you added to that environment.
  3. The camera driver will be automatically installed and configured.
Your camera is now paired with its digital twin and streaming video to Cyberwave in real time.