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 14 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.
18 changes: 18 additions & 0 deletions controller_manager/doc/userdoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,24 @@ 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
----------------------
There exists a GUI tool to interact with the controller manager.
christophfroehlich marked this conversation as resolved.
Show resolved Hide resolved

.. image:: images/rqt_controller_manager.png

It can be launched independently
christophfroehlich marked this conversation as resolved.
Show resolved Hide resolved

.. code-block:: console

ros2 run rqt_controller_manager rqt_controller_manager

or as rqt plugin.

christophfroehlich marked this conversation as resolved.
Show resolved Hide resolved
* Double-click on a controller or hardware component shows additional info.
* Right-click on a controller or hardware component shows a context menu with options for lifecycle management.

christophfroehlich marked this conversation as resolved.
Show resolved Hide resolved

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

Expand Down
6 changes: 4 additions & 2 deletions rqt_controller_manager/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
<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>
<exec_depend>rclpy</exec_depend>
<exec_depend>rqt_gui</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