Control Machines

Once you have configured components and services for your machine, you can test, monitor, and remotely operate them from the CONTROL tab in the Viam app or the Viam mobile app.

Control interface in the Viam app

The CONTROL tab in the Viam app gives you the ability to test, monitor, and operate the machines in your fleet. The CONTROL tab provides a control interface for each component and service that you have configured for you machine.

For example, if you have configured a base with wheels, you can move your machine’s with an arrow pad and control the base’s speed by setting its power with a slider. If you have configured a camera component, a window in the CONTROL tab displays the camera output.

If you use remote control in the Viam app UI, all communication to the machine uses WebRTC. For local communication between parts Viam uses gRPC or WebRTC.

You can also switch between different machine parts and control the selected machine part directly from the CONTROL tab.

The expanded Machine part dropdown menu with the main part selected on the Control tab.

For more information on configuring and controlling machine parts, see Machine Architecture.

Components

For more detailed information on how to operate and test your resources, expand the relevant resource below:

Arm
Base
Board
Camera
Encoder
Gantry
Generic component
Gripper
Input controller
Motor
Movement sensor (GPS)
Movement sensor (IMU)
Power sensor
Sensor
Servo

Services

The following services also provide control interfaces:

  • SLAM: for creating a new SLAM map and for using the motion service to move a machine on a SLAM map
  • Navigation: for moving a machine to waypoints on a map

Control interface in the Viam mobile app

The Viam mobile app gives you the ability to test, monitor and remotely operate machines in your fleet. The mobile app provides a control interface for each component and service that you have configured for you machine.

For example, you can view live camera feeds, adjust components’ runtime parameters, and switch between controllable components.

Additionally, the machine control interface provides a menu for:

Have questions, or want to meet other people working on robots? Join our Community Discord.

If you notice any issues with the documentation, feel free to file an issue or edit this file.