Abstract

We present yarp.js, a JavaScript framework enabling robotics networks to interface and interact with external devices by exploiting modern Web communication protocols. By connecting a YARP server module with a browser client on any external device, yarp.js allows to to access on board sensors using standard Web APIs and stream the acquired data through the yarp.js network without the need for any installation. Communication between YARP modules and yarp.js clients is bi-directional, opening also the possibility for robotics application to exploit the capabilities of modern browsers to process external data, such as speech synthesis, 3D data visualization or video streaming to name a few. Yarp.js requires only a browser installed on the client device, allowing for fast and easy deployment of novel applications. The code and sample applications to get started with the proposed framework are available for the community at the yarp.js GitHub repository.

Highlights

  • Smartphones, tablets, and wearable devices have drastically changed human communication and are nowadays a key component of everyday life, enabling humans to connect with each other and other devices in real time, forming a dense network of complex and frequent interactions

  • In this paper we present yarp.js, a novel framework developed with the goal of connecting the Yet Another Robot Platform (YARP) network with external devices using modern Internet protocols

  • In the rest of this paper, we describe yarp.js and present a number of sample applications highlighting the potential benefits of the proposed framework in robotics

Read more

Summary

INTRODUCTION

Smartphones, tablets, and wearable devices have drastically changed human communication and are nowadays a key component of everyday life, enabling humans to connect with each other and other devices in real time, forming a dense network of complex and frequent interactions. As information technologies advance, we are steadily moving toward an “Internet of Things (IoT)” (Xia et al, 2012), where everyday object will be able to offer an interface for digital communication with humans and other devices In this scenario, robotic agents designed to operate in human environments will undoubtedly need to be well-versed in these new practices to seamlessly integrate within the IoT network. This is useful to connect an external sensor, such as a smartphone microphone, inertial sensors, camera, etc., to the YARP network and allowing other modules to access its measurements In this sense, yarp.js allows to effortlessly extend YARP functionalities to non-YARP devices by serving the required JavaScript library so that there is no need for custom installation, essentially making yarp.js automatically platform-independent on any browser-enabled device. Yarp.js v1.0.04 is available for the community as a GitHub repository. We have provided a number of examples for new users to get started with the proposed framework

BACKGROUND
SYSTEM OVERVIEW
Server Side
First Layer
Second Layer
Client Side
APPLICATIONS
Reading and Transmitting Inertial Data
Speech Recognition and Synthesis
Teleoperation with Face Tracking
CONCLUSION
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call