Smart Cloud: Scalable Cloud Robotic Architecture for Web-powered Multi-Robot Applications

Manoj Penmetcha, Shyam Sundar Kannan, Byung-Cheol Min

TL;DR

The "Smart Cloud" architecture is a novel, JavaScript-powered framework designed to offload heavy computational tasks from robots to the cloud. By bridging the gap between ROS-based and non-ROS systems using a Node.js backend, it enables low-power robots to perform complex tasks like SLAM and real-time object detection with a 10x reduction in local CPU usage and minimal latency overhead.

What Problem Does This Paper Address?

Robots are fundamentally constrained by "SWaP" (Size, Weight, and Power). High-performance tasks—such as Simultaneous Localization and Mapping (SLAM) or deep-learning-based object detection—require significant processing power that drains batteries and generates heat. Furthermore, once a robot is deployed, its hardware is static; you cannot easily "download" a faster CPU.

While Cloud Robotics aims to solve this by moving computation to remote servers, existing frameworks are often rigid, geared solely toward specific platforms (like ROS), or difficult to customize. The authors address the need for a flexible, scalable architecture that supports heterogeneous robot teams (different brands/OSs) and leverages the massive ecosystem of web technologies.

Methods

The authors propose Smart Cloud, a dual-mode (SaaS and PaaS) architecture built on Amazon Web Services (AWS). Key technical components include:

  • JavaScript-Based Backend: Unlike many robotics frameworks that rely on C++ or Python, Smart Cloud uses Node.js. This allows it to tap into the massive Node Package Manager (NPM) ecosystem, specifically using libraries like TensorFlow.js for machine learning and roslibjs for communication.
  • The Robot Layer:
    • ROS-based robots connect via Rosbridge, which translates ROS topics into JSON packets.
  • Non-ROS robots interact via a RESTful web service, sending data (like images or GPS) via HTTP requests and receiving XML responses.
  • The Cloud Layer: A JS server manages data conversion. It can spin up ROS instances in the cloud to handle SLAM or use JS libraries to process raw data streams.
  • Hybrid Service Model: It acts as Software as a Service (SaaS) by providing ready-to-use web interfaces for tasks, and Platform as a Service (PaaS) by allowing developers to build and deploy their own JS-based robotic applications.

Datasets

This paper does not introduce a new benchmark dataset. Instead, it validates the architecture using:

  • ImageNet: Used for pre-training the models utilized by the TensorFlow.js library for object detection.
  • Real-world sensor data: Generated during experiments using a Clearpath Jackal UGV (equipped with Velodyne LiDAR) and an iRobot Roomba (equipped with a Microsoft Kinect).

Key Insights and Ideas

  • JavaScript as a Robotics Language: The most striking choice is the heavy reliance on JavaScript. The authors argue that JS's ubiquitous nature and the sheer volume of available open-source libraries (outnumbering other languages) make it ideal for rapid cloud-robotics development.
  • Decoupling the "Brain" from the "Body": By offloading gmapping (a SLAM algorithm), the robot's onboard CPU is freed from 85% utilization to nearly 0%. This suggests that even very cheap, "dumb" hardware can perform high-level autonomous tasks if the connection is stable.
  • Seamless Heterogeneity: The architecture allows a ROS-based robot (Jackal) and a non-ROS robot (Roomba) to collaborate on a single mission (search and rescue) by using the cloud as a common translator and data hub.

Key Results

The authors evaluated the system using AWS servers in North Virginia:

  • CPU Efficiency: When running SLAM (gmapping) onboard, the Jackal UGV saw ~85% CPU load. Offloading this to Smart Cloud reduced the onboard load for that task to 0%. Even the ROS-Master overhead dropped from ~25% to under 10%.
  • Latency: The total round-trip delay was approximately 35 milliseconds. Crucially, 32ms of this was standard network travel time to AWS, meaning the Smart Cloud framework itself only added about 3ms of processing overhead.
  • ML Performance: Real-time object detection (identifying chairs, cabinets, etc.) via TensorFlow.js achieved a feedback latency of 34ms, making it viable for non-time-critical navigation.

Limitations and Future Work

  • Network Dependency: Like all cloud robotics, the system is a "brick" if the internet connection drops. The paper does not deeply explore edge-case behaviors during network jitter or total disconnection.
  • Real-time Constraints: While 35ms is excellent for mapping and detection, it may still be too slow for high-speed, closed-loop control (like drone racing or agile balancing).
  • Future Directions: The authors plan to develop more sophisticated offloading schemas that can dynamically decide which tasks to keep local and which to send to the cloud based on current network conditions and battery levels. They also aim to improve the pipeline for better scalability and security.

Summary updated

BibTeX
@inproceedings{penmetcha2020smart,
  author = {Manoj Penmetcha and Shyam Sundar Kannan and Byung-Cheol Min},
  title = {{Smart Cloud: Scalable Cloud Robotic Architecture for Web-powered Multi-Robot Applications}},
  booktitle = {SMC},
  year = {2020},
  doi = {10.1109/smc42975.2020.9283148},
}
Figure