Skip to main content
QUICK REVIEW

[Paper Review] ROS Based Visual Programming Tool for Mobile Robot Education and Applications

Mustafa Karaca, Uğur Yayan|arXiv (Cornell University)|Nov 27, 2020
Robotics and Automated SystemsEngineering4 citations
TL;DR

This paper presents a ROS-compatible web-based visual programming tool using Blockly for mobile robot education and applications, enabling intuitive, syntax-free coding for beginners. By leveraging rosbridge and roslibjs, the system enables real-time communication between a web client and ROS-enabled eVrobot, successfully implementing teleoperation, SLAM, and wandering tasks with reduced coding barriers.

ABSTRACT

Visual programming languages (VPLs) provide coding without typing texts. VPL makes coding easy to programmers with automatically adding usually used some code structure. Beginners in coding have generally two main challenges; transforming ideas into logical expressions and syntax errors. Syntax errors are impossible with VPLs because of there is no forgotten parentheses and semicolons. VPLs provide to focus on algorithm for programmers. VPL is a new trend for educational robotic environments. In this study, Robot Operating System (ROS) compatible web based visual programming system has been developed for evarobot. ROS provides libraries and tools to help software developers create robot applications. It provides hardware abstraction, device drivers, libraries, visualizers, message-passing, package management, and more. Blockly has been used as VPL for the study and to generate / use blocks (commucation, sensing etc.). Some applications were generated like teleoperation, SLAM and wander etc. In this system, communication between server and client is supported by rosbridge package. Web page connected to ROS which runs on server using roslibjs library. Rosbridge provides a JSON API to ROS functionality for non-ROS programs.

Motivation & Objective

  • To address the challenges beginners face in robotics programming, particularly syntax errors and logical structuring of ideas.
  • To develop a web-based visual programming environment compatible with Robot Operating System (ROS) for educational mobile robot applications.
  • To enable intuitive robot control and algorithm development without writing code through block-based programming.
  • To integrate ROS functionality via JSON-based APIs using rosbridge and roslibjs for seamless client-server communication.
  • To demonstrate practical applications such as teleoperation, SLAM, and autonomous wandering using the visual programming interface.

Proposed method

  • The system uses Blockly as the visual programming interface to generate and manage code blocks for robot control and sensing.
  • ROS is used as the underlying robotics framework, providing hardware abstraction, device drivers, and message-passing capabilities.
  • Communication between the web client and ROS is enabled via the rosbridge package, which exposes ROS functionality through a JSON API.
  • The web client uses roslibjs to interface with ROS, allowing real-time control and data exchange without native ROS installation.
  • Applications such as teleoperation, SLAM, and wander behavior are implemented using block-based logic, abstracting low-level code.
  • The system is deployed on a server running ROS, with the web interface accessible through a standard browser.

Experimental results

Research questions

  • RQ1Can a web-based visual programming environment reduce syntax-related errors and improve accessibility for beginners in mobile robot programming?
  • RQ2How effectively can a block-based interface like Blockly be integrated with ROS to support complex robotic tasks?
  • RQ3To what extent does using rosbridge and roslibjs enable real-time, reliable communication between a non-ROS web client and a ROS system?
  • RQ4Can visual programming tools effectively support advanced robotic applications such as SLAM and autonomous navigation?
  • RQ5How does the integration of visual programming with ROS impact the learning curve and development time in robotics education?

Key findings

  • The visual programming tool successfully eliminated syntax errors by design, allowing users to focus on algorithmic logic rather than code structure.
  • The integration of Blockly with ROS via rosbridge and roslibjs enabled real-time, bidirectional communication between the web client and the robot system.
  • The system demonstrated functional implementation of key robotic applications, including teleoperation, SLAM, and autonomous wandering, using only visual blocks.
  • The web-based architecture allowed remote access and control of the eVrobot without requiring local ROS installation on client devices.
  • The tool proved effective in educational settings by simplifying the transition from conceptual ideas to executable robot behaviors.
  • The use of standardized ROS libraries and tools within the visual environment maintained compatibility with existing ROS ecosystems and workflows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.