Skip to content
/ rov-gui Public
forked from vortexntnu/rov-gui

Graphical User Interface for controlling the ROV

Notifications You must be signed in to change notification settings

dymbe/rov-gui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROV GUI

Build Status

This is the GUI for the International MATE ROV-competition 2018. The GUI is made with React and Electron, and communicates with the ROV through ROS.

Getting started

To start the GUI, first install npm, then run:

  • npm install
  • npm run dev

This will start the Electron-app in development mode.

Connecting to ROS

To be able to connect to ROS, a ROS-bridge-server has to be installed:

Ubuntu: sudo apt-get install ros-kinetic-rosbridge-suite

Production

Run npm run dist. This will produce an Linux-x64 executable called rov-gui inside dist/linux/rov-gui-linux-x64/

If another platform/arch is required this can be configured in package.json.

ROS-documentation

In this section all the topics used by the GUI will be listed.

All tabs

  • /is_alive (std_msgs/Empty) - Should be published to by the ROV with a rate of at least 2 Hz. Otherwise the GUI will show an error message, indicating that the ROV is disconnected.

General-tab

  • /general/healthcheck/<item> (std_msgs/Empty) - For telling if a specific component of the ROV is connected, where <item> is the name of the component (e.g. IMU, manipulator, etc) in lowercase. If it is not published to with a rate of at least 2 Hz the GUI will mark the component as "Not connected".

OBS-tab

  • /obs/voltage (std_msgs/Float64) - The voltage of the OBS should be published to this topic.
  • /obs/angles (geometry_msgs/Point) - The angle of the OBS should be published to this topic. The z-value of the Point-message is ignored.
  • /obs/data (std_msgs/Float64MultiArray) - The data received from the OBS should be published to this topic. The GUI will then display the data both as a table and as a seismograph.

Aircraft identification-tab

  • /aircraft_id/type (std_msgs/String) - Publish a single letter A-F to indicate which kind of aircraft is identified by the ROV.

About

Graphical User Interface for controlling the ROV

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 88.2%
  • CSS 8.7%
  • Python 2.2%
  • HTML 0.9%