Skip to content

ROS Joystick is a Hybrid Application, that enables the remote controlling and monitoring of a robot that runs ROS.

License

Notifications You must be signed in to change notification settings

georgealexakis/ros-joystick

Repository files navigation

ROS Joystick

ROS Joystick is a Hybrid Application, for remote controlling and monitoring of a robot that runs ROS. Also, it publishes and subscribes to different topics for sending goals, monitoring the robot status and the live view of the robot camera. (This implementation has tested with ROS Kinetic and ROS Melodic versions).

Table of Contents

Getting Started

Execution

Screenshots

Demo

License

Getting Started

Source of Project

Download repository code from:

https://github.com/georgealexakis/ros-joystick.git (master branch)

Or get a copy of the source from:

$ git clone https://github.com/georgealexakis/ros-joystick.git (master branch)

Run:

$ npm install

to install dependencies.

Package Installation

To connect ROS Joystick with ROS robot, it is necessary to install rosbridge. Run the command below:

$ sudo apt-get install ros-<version>-rosbridge-server

Execution

Connect to the same network with the ROS implemented robot. Run rosbridge with:

$ roslaunch rosbridge_server rosbridge_websocket.launch

Copy the IP that rosbridge package provides via WebSockets and then:

  • Run desktop.html to start the desktop web application to a web browser.

Or

  • Use the Android Application in /build folder, which runs only on Android Devices.

Or

  • Build the Hybrid Applications for different devices using Apache Cordova for mobile devices. Rename /docs folder to /www folder before build. Use the template for a cordova application, as presented in this repository https://github.com/apache/cordova-app-hello-world.
  • Build the Hybrid Applications for Windows, Linux, etc, by using Electron.
  • For android in API 28 and above, you have to set android:usesCleartextTraffic="true" in your manifest in the application tag.

Put the computer IP and press connect. When everything is ready the terminal will show the message "Client connected. 1 client total." as is presented below:

Screenshots

Desktop Controller

desktop1

desktop2

desktop3

Smartphone Controller

smartphone1

smartphone2

smartphone3

Demo

ROS Joystick Demo.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

ROS Joystick is a Hybrid Application, that enables the remote controlling and monitoring of a robot that runs ROS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published