Development Guide for Android

Last Updated on : 2024-04-28 03:22:07download

The Sweeper SDK provides APIs to enable live maps, cleaning routes, multiple maps management, and cleaning history. This SDK depends on the Smart Life App SDK. For more information, see Tuya Smart Home SDK Integration.

Overview

Term Description
Gyroscope robot vacuum A robot vacuum equipped with a gyroscope can sense and determine the orientation and thus automatically navigate its way around a home. It steers with an indoor navigation system and accurately calculates the coordinates along the cleaning routes in light of the running status of its walking motor. When walking around obstacles, the robot vacuum records detour directions to avoid repeated cleaning and improve cleaning efficiency. The software-defined walking routes can also be recorded for the cleaning route coverage algorithm to generate and save cleaning route plans.
Vision robot vacuum A vision robot vacuum is equipped with a camera to capture surrounding objects. Sophisticated algorithms enable the robot vacuum to distinguish between cleaned and uncleaned areas by analyzing optical images.
Laser robot vacuum LiDAR emits a laser light that is reflected back when it encounters surrounding objects. The robot vacuum determines the range to the target by measuring the time for the reflected light to return to the receiver. This enables positioning and mapping by outlining a house. As LiDAR technology becomes more affordable, laser solutions are becoming increasingly popular.

Feature overview

The Sweeper SDK supports gyroscope, vision, and laser robot vacuums. The following features are provided:

  • Sweeper SDK: Provide capabilities to get real-time data and full data.

  • Gyroscope and vision robot vacuums: Get the incremental cleaning task data the robot vacuum sends in real time over MQTT.

  • Laser robot vacuums: Get the full map and route data in binary format that the robot vacuum sends over a P2P connection. MQTT is not used because it is not suitable for sending large volumes of data.