Skip to main content
Version: 1.5.0

MRS Rviz Plugins

The Rviz plugins originate from the package mrs_rviz_plugins.

Plugins

mrs_msgs/ObstacleSectors vizualization

"Bumper" vizualizations, integrates seamlessly.

mrs_msgs/PoseWithCovarianceStamped vizualization

Integrates seamlessly.

mrs_msgs/TrackArrayStamped vizualization

Integrates seamlessly.

mrs_msgs/UavStatus vizualization

Displays useful information about the UAV state and sensors, integrates seamlessly. Use mrs_rviz_plugins/UAV Status display type.

Includes visualization of velocity and its covariance, integrates seamlessly. Use mrs_rviz_plugins/OdometryWithVelocity display type.

NamedSetGoal

RViz goal tool with modifiable label.

Control tool

Integrates mrs_uav_status and Selection tool functionality into one tool. Shortcut key for the tool is 'c'.

Mouse control
Mouse eventAction
Click and dragSelect objects on the screen
Shift + Click and dragMove 'UAV Status' display
Right-click (on drone)Show services to be called
Alt + Left-clickRotate
Alt + Middle-clickMove X/Y
Alt + Shift + Left-clickMove X/Y
Alt + Right-clickMove Z
Alt + Shift + Right-clickMove Z
Controlling the UAV through RVIZ

Press the 'R' key to enter the "remote" mode. While in this mode, you can fly the UAV with your keyboard. While in remote mode, press 'G' to switch to global frame. Only one key at a time is registered, multiple key inputs are not supported.

KeyAction
'wasd' or 'hjkl'Fly laterally
'qe'Change UAV's heading
'rf'Fly up and down
Custom services

You can add your own services to drone's menu.

  • To add a service to the menu, publish a message to the topic mrs_uav_status/set_trigger_service
  • Only services of the std_srvs/Trigger type are supported
  • The message is a std_msgs/String, and has to consist of two entries separated by spaces:
    • Service name (uav_manager/land_home)
    • Name to be displayed in the menu (Land Home) - this name can contain additional spaces
  • The namespace of the UAV will be added automatically (uav_manager/land_home -> /uav1/uav_managerland_home)
  • To a service outside of the namespace, use "/" as the first character (/uav_manager/land_home)

Press the 'm' key (as menu) to show services on selected drones. Custom services will not be shown, only the default ones.

WaypointPlanner

Allows sending a sequence of waypoints to drone. The click-and-pull input supplies a 2D position with heading (a waypoint). Tool properties allow customization (height change, fly now, loop, use heading).

KeyAction
wTurn the plugin on/off
delDelete last waypoint
enterTrigger behaviour

Demonstration

ROS Nodes - the ROS-Rviz interface

RvizNavGoal

Allows giving a reference to a UAV using the "2D Nav Goal" button in Rviz. The click-and-pull input supplies a 2D position with heading.

RvizPoseEstimate

Allows obtaining a coordinates from Rviz by using the "2D Pose Estimate" button in Rviz. The coordinates will appear as a standard output

Utils

UAV Airframe vizualization

roslaunch mrs_rviz_plugins load_robot.launch