Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.29 KB

File metadata and controls

64 lines (40 loc) · 1.29 KB

Relay Control Plugin (RQT)

Overview

The Relay Control Plugin is an RQT plugin for ROS1 designed to easily send control commands (on, off, toggle) to relay hardware modules via std_msgs/String topics.

It automatically inspects the global ROS Master graph to discover all existing topics with matching message types, filtering out inactive or unrelated channels.

Works perfectly with our relay control package

Requirements

Install the required ROS packages:

sudo apt install ros-noetic-rqt ros-noetic-rqt-common-plugins

Installation

Clone the repository into your Catkin workspace:

cd ~/catkin_ws/src
git clone git@github.com:CJT-Robotics/relay_control_plugin.git

Build the workspace:

cd ~/catkin_ws
catkin_make

Source the workspace:

source devel/setup.bash

Usage

Launch RQT on the operator station:

rqt --force-discover

After the first successful run, --force-discover is usually no longer necessary.

Load the plugin:

Plugins → CJT-Robotics → Relay Control Panel

Features

Persistent Settings

The plugin remembers the last selected topic across RQT restarts using the built-in RQT settings infrastructure.

Troubleshooting