Graphical User Interface (GUI)

description of the gui.py and BlueRov2.ui

Graphical aspect

Description of the GUI

Components

Description

ARM/DISARM

Show the arm status of the BlueRov2

Control

MANUAL : ROV controlled by gamepad AUTOMATIC : ROV controlled by the depth/heading/velocity controllers

enable AUTOMATIC control

Allow to enable AUTOMATIC mode without a gamepad

Battery Level

Display battery level in volt (to not damage the battery it is recommend to not go under 3V by cells : e.g. for a 4S LI-Ion battery do not go under 12V)

Light level

light level of the lights in %, 0: turned off, 100% : highest brightness

Camera

Camera angle : between -45 to 45 deg

ROS

Node

GUI

Topics

ROS message subscribed

Message

Description

/BlueRov2/State

bluerov_ros_playground/State

State of the ROV : arm status, thrusters pwm, light level, camera tilt

/BlueRov2/battery

sensor_msgs/BatteryState

Battery state

/BlueRov2/bar30

bluerov_ros_playground/Bar30

Absolute pressure

/BlueRov2/imu/attitude

bluerov_ros_playground/Attitude

Contain yaw data

/Command/depth

UInt16

pwm sent by depth controller for the pwm preview

/Command/heading

UInt16

pwm sent by heading controller for the pwm preview

/Command/velocity

UInt16

pwm sent by velocity controller for the pwm preview

/Command/Joy

UInt16

To switch the mode display (the real switch is in commander.py)

/Settings/set_depth

bluerov_ros_playground/Set_depth

To read depth controller settings

/Settings/set_heading

bluerov_ros_playground/Set_heading

To read heading controller settings

/Settings/set_velocity

bluerov_ros_playground/Set_velocity

To read velocity controller settings

/Settings/set_target

bluerov_ros_playground/Set_target

To read target to reach

ROS message published

Message

Description

/Settings/set_depth

bluerov_ros_playground/Set_depth

send depth controller settings

/Settings/set_heading

bluerov_ros_playground/Set_heading

send heading controller settings

/Settings/set_velocity

bluerov_ros_playground/Set_velocity

send velocity controller settings

/Settings/set_target

bluerov_ros_playground/Set_target

send target to reach in depth, heading and velocity

Last updated

Was this helpful?