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
Install the required ROS packages:
sudo apt install ros-noetic-rqt ros-noetic-rqt-common-pluginsClone the repository into your Catkin workspace:
cd ~/catkin_ws/src
git clone git@github.com:CJT-Robotics/relay_control_plugin.gitBuild the workspace:
cd ~/catkin_ws
catkin_makeSource the workspace:
source devel/setup.bashLaunch RQT on the operator station:
rqt --force-discoverAfter the first successful run,
--force-discoveris usually no longer necessary.
Load the plugin:
Plugins → CJT-Robotics → Relay Control Panel
The plugin remembers the last selected topic across RQT restarts using the built-in RQT settings infrastructure.