Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rqt_controller_manager] Add hardware components #1455

Merged
merged 18 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions controller_manager/doc/userdoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,21 @@ There are two scripts to interact with controller manager from launch files:
-c CONTROLLER_MANAGER, --controller-manager CONTROLLER_MANAGER
Name of the controller manager ROS node

rqt_controller_manager
----------------------
A GUI tool to interact with the controller manager services to be able to switch the lifecycle states of the controllers as well as the hardware components.

.. image:: images/rqt_controller_manager.png

It can be launched independently using the following command or as rqt plugin.

.. code-block:: console

ros2 run rqt_controller_manager rqt_controller_manager

* Double-click on a controller or hardware component to show the additional info.
* Right-click on a controller or hardware component to show a context menu with options for lifecycle management.

Using the Controller Manager in a Process
-----------------------------------------

Expand Down
5 changes: 3 additions & 2 deletions rqt_controller_manager/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
<url type="bugtracker">https://github.com/ros-controls/ros2_control/issues</url>
<url type="repository">https://github.com/ros-controls/ros2_control</url>

<author email="[email protected]">Adolfo Rodríguez Tsouroukdissian</author>
<author email="[email protected]">Bence Magyar</author>
<author email="[email protected]">Christoph Froehlich</author>
<author email="[email protected]">Enrique Fernandez</author>
<author email="[email protected]">Mathias Lüdtke</author>
<author email="[email protected]">Kelsey Hawkins</author>
<author email="[email protected]">Adolfo Rodríguez Tsouroukdissian</author>
<author email="[email protected]">Mathias Lüdtke</author>

<exec_depend>controller_manager</exec_depend>
<exec_depend>controller_manager_msgs</exec_depend>
Expand Down
36 changes: 35 additions & 1 deletion rqt_controller_manager/resource/controller_manager.ui
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<widget class="QComboBox" name="cm_combo"/>
</item>
<item>
<widget class="QTableView" name="table_view">
<widget class="QTableView" name="ctrl_table_view">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
Expand Down Expand Up @@ -70,6 +70,40 @@
</attribute>
</widget>
</item>
<item>
<widget class="QTableView" name="hw_table_view">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<property name="sortingEnabled">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
<resources/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Controller Information</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QFormLayout" name="formLayout">
Expand Down
Loading
Loading