Skip to content

Commit

Permalink
[rqt_controller_manager] Add hardware components (#1455) (#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Oct 11, 2024
1 parent f3e7db6 commit 4ed2ee0
Show file tree
Hide file tree
Showing 6 changed files with 316 additions and 49 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions controller_manager/doc/userdoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,22 @@ There are two scripts to interact with controller manager from launch files:
--configure Configures the given components.
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="adolfo.rodriguez@pal-robotics.com">Adolfo Rodríguez Tsouroukdissian</author>
<author email="bence.magyar.robotics@gmail.com">Bence Magyar</author>
<author email="christoph.froehlich@ait.ac.at">Christoph Froehlich</author>
<author email="enrique.fernandez.perdomo@gmail.com">Enrique Fernandez</author>
<author email="mathias.luedtke@ipa.fraunhofer.de">Mathias Lüdtke</author>
<author email="kphawkins@gatech.edu">Kelsey Hawkins</author>
<author email="adolfo.rodriguez@pal-robotics.com">Adolfo Rodríguez Tsouroukdissian</author>
<author email="mathias.luedtke@ipa.fraunhofer.de">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

0 comments on commit 4ed2ee0

Please sign in to comment.