Skip to content

Commit

Permalink
moved configuration files to lbr_description for stand-alone urdf use
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Oct 19, 2024
1 parent a5071d9 commit 9f7d243
Show file tree
Hide file tree
Showing 18 changed files with 33 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This demo implements a simple admittance controller.

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down Expand Up @@ -55,7 +55,7 @@ kinematics to move the robot's end-effector along the z-axis in Cartesian space.

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down
4 changes: 2 additions & 2 deletions lbr_demos/lbr_demos_advanced_py/doc/lbr_demos_advanced_py.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This demo implements a simple admittance controller.

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down Expand Up @@ -54,7 +54,7 @@ This demo implements an admittance controller with a remote center of motion (RC

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down
8 changes: 4 additions & 4 deletions lbr_demos/lbr_demos_cpp/doc/lbr_demos_cpp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This demo uses the :ref:`lbr_fri_ros2::LBRJointPositionCommandController` and ov

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down Expand Up @@ -72,7 +72,7 @@ Hardware
~~~~~~~~
#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand All @@ -96,7 +96,7 @@ This demo uses the :ref:`lbr_fri_ros2::LBRTorqueCommandController` and overlays

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``torque`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``torque`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``500`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down Expand Up @@ -134,7 +134,7 @@ This demo uses the :ref:`lbr_fri_ros2::LBRWrenchCommandController` and overlays

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``wrench`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``wrench`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``500`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down
8 changes: 4 additions & 4 deletions lbr_demos/lbr_demos_py/doc/lbr_demos_py.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This demo uses the :ref:`lbr_fri_ros2::LBRJointPositionCommandController` and ov

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down Expand Up @@ -72,7 +72,7 @@ Hardware
~~~~~~~~
#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand All @@ -96,7 +96,7 @@ This demo uses the :ref:`lbr_fri_ros2::LBRTorqueCommandController` and overlays

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``torque`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``torque`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``500`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down Expand Up @@ -134,7 +134,7 @@ This demo uses the :ref:`lbr_fri_ros2::LBRWrenchCommandController` and overlays

#. Client side configurations:

#. Configure the ``client_command_mode`` to ``wrench`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``wrench`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``500`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down
4 changes: 2 additions & 2 deletions lbr_demos/lbr_moveit/doc/lbr_moveit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ MoveIt Servo - Hardware
~~~~~~~~~~~~~~~~~~~~~~~
#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down Expand Up @@ -122,7 +122,7 @@ MoveIt via RViz - Hardware
~~~~~~~~~~~~~~~~~~~~~~~~~~
#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down
2 changes: 1 addition & 1 deletion lbr_demos/lbr_moveit_cpp/doc/lbr_moveit_cpp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Hardware
~~~~~~~~
#. Client side configurations:

#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Configure the ``client_command_mode`` to ``position`` in `lbr_system_parameters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`
#. Set the ``update_rate`` to ``100`` in `lbr_controllers.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_controllers.yaml>`_:octicon:`link-external`

#. Remote side configurations:
Expand Down
2 changes: 1 addition & 1 deletion lbr_description/urdf/iiwa14/iiwa14.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<xacro:arg name="mode" default="true" />
<xacro:arg
name="system_parameters_path"
default="$(find lbr_ros2_control)/config/lbr_system_parameters.yaml" />
default="$(find lbr_description)/ros2_control/lbr_system_parameters.yaml" />

<!-- fixed to world, see http://classic.gazebosim.org/tutorials?tut=ros_urdf&cat=connect_ros -->
<link name="world" />
Expand Down
4 changes: 2 additions & 2 deletions lbr_description/urdf/iiwa14/iiwa14_description.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- robot as extracted via https://github.com/syuntoku14/fusion2urdf -->
<xacro:macro name="iiwa14"
params="robot_name:=^|lbr mode:=^|mock system_parameters_path:=^|'$(find lbr_ros2_control)/config/lbr_system_parameters.yaml'">
params="robot_name:=^|lbr mode:=^|mock system_parameters_path:=^|'$(find lbr_description)/ros2_control/lbr_system_parameters.yaml'">

<!-- includes -->
<xacro:include filename="$(find lbr_description)/gazebo/lbr_gazebo.xacro" />
<xacro:include filename="$(find lbr_ros2_control)/config/lbr_system_interface.xacro" />
<xacro:include filename="$(find lbr_description)/ros2_control/lbr_system_interface.xacro" />

<!-- joint limits via yaml -->
<xacro:property name="joint_limits_path"
Expand Down
2 changes: 1 addition & 1 deletion lbr_description/urdf/iiwa7/iiwa7.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<xacro:arg name="mode" default="mock" />
<xacro:arg
name="system_parameters_path"
default="$(find lbr_ros2_control)/config/lbr_system_parameters.yaml" />
default="$(find lbr_description)/ros2_control/lbr_system_parameters.yaml" />

<!-- fixed to world, see http://classic.gazebosim.org/tutorials?tut=ros_urdf&cat=connect_ros -->
<link name="world" />
Expand Down
4 changes: 2 additions & 2 deletions lbr_description/urdf/iiwa7/iiwa7_description.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- robot as extracted via https://github.com/syuntoku14/fusion2urdf -->
<xacro:macro name="iiwa7"
params="robot_name:=^|lbr mode:=^|mock system_parameters_path:=^|'$(find lbr_ros2_control)/config/lbr_system_parameters.yaml'">
params="robot_name:=^|lbr mode:=^|mock system_parameters_path:=^|'$(find lbr_description)/ros2_control/lbr_system_parameters.yaml'">

<!-- includes -->
<xacro:include filename="$(find lbr_description)/gazebo/lbr_gazebo.xacro" />
<xacro:include filename="$(find lbr_ros2_control)/config/lbr_system_interface.xacro" />
<xacro:include filename="$(find lbr_description)/ros2_control/lbr_system_interface.xacro" />

<!-- joint limits via yaml -->
<xacro:property name="joint_limits_path"
Expand Down
2 changes: 1 addition & 1 deletion lbr_description/urdf/med14/med14.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<xacro:arg name="mode" default="true" />
<xacro:arg
name="system_parameters_path"
default="$(find lbr_ros2_control)/config/lbr_system_parameters.yaml" />
default="$(find lbr_description)/ros2_control/lbr_system_parameters.yaml" />

<!-- fixed to world, see http://classic.gazebosim.org/tutorials?tut=ros_urdf&cat=connect_ros -->
<link name="world" />
Expand Down
4 changes: 2 additions & 2 deletions lbr_description/urdf/med14/med14_description.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- robot as extracted via https://github.com/syuntoku14/fusion2urdf -->
<xacro:macro name="med14"
params="robot_name:=^|lbr mode:=^|mock system_parameters_path:=^|'$(find lbr_ros2_control)/config/lbr_system_parameters.yaml'">
params="robot_name:=^|lbr mode:=^|mock system_parameters_path:=^|'$(find lbr_description)/ros2_control/lbr_system_parameters.yaml'">

<!-- includes -->
<xacro:include filename="$(find lbr_description)/gazebo/lbr_gazebo.xacro" />
<xacro:include filename="$(find lbr_ros2_control)/config/lbr_system_interface.xacro" />
<xacro:include filename="$(find lbr_description)/ros2_control/lbr_system_interface.xacro" />

<!-- joint limits via yaml -->
<xacro:property name="joint_limits_path"
Expand Down
2 changes: 1 addition & 1 deletion lbr_description/urdf/med7/med7.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<xacro:arg name="mode" default="true" />
<xacro:arg
name="system_parameters_path"
default="$(find lbr_ros2_control)/config/lbr_system_parameters.yaml" />
default="$(find lbr_description)/ros2_control/lbr_system_parameters.yaml" />

<!-- fixed to world, see http://classic.gazebosim.org/tutorials?tut=ros_urdf&cat=connect_ros -->
<link name="world" />
Expand Down
4 changes: 2 additions & 2 deletions lbr_description/urdf/med7/med7_description.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!-- robot as extracted via https://github.com/syuntoku14/fusion2urdf -->
<xacro:macro name="med7"
params="robot_name:=^|lbr mode:=^|mock system_parameters_path:=^|'$(find lbr_ros2_control)/config/lbr_system_parameters.yaml'">
params="robot_name:=^|lbr mode:=^|mock system_parameters_path:=^|'$(find lbr_description)/ros2_control/lbr_system_parameters.yaml'">

<!-- includes -->
<xacro:include filename="$(find lbr_description)/gazebo/lbr_gazebo.xacro" />
<xacro:include filename="$(find lbr_ros2_control)/config/lbr_system_interface.xacro" />
<xacro:include filename="$(find lbr_description)/ros2_control/lbr_system_interface.xacro" />

<!-- joint limits via yaml -->
<xacro:property name="joint_limits_path"
Expand Down
4 changes: 2 additions & 2 deletions lbr_ros2_control/doc/lbr_ros2_control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ The ``lbr_ros2_control::SystemInterface`` plugin implements a ``hardware_interfa
.. thumbnail:: img/lbr_ros2_control_detailed_v2.0.0.svg
:alt: lbr_ros2_control_detailed

- The ``controller_manager::ControllerManager`` loads the correct plugin from the ``<ros2_control>`` tag in the ``robot_description``: `lbr_system_interface.xacro <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_interface.xacro>`_:octicon:`link-external`
- FRI relevant parameters are forwarded to the ``lbr_ros2_control::SystemInterface`` plugin from `lbr_system_paramters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_ros2_control/config/lbr_system_parameters.yaml>`_:octicon:`link-external`
- The ``controller_manager::ControllerManager`` loads the correct plugin from the ``<ros2_control>`` tag in the ``robot_description``: `lbr_system_interface.xacro <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_interface.xacro>`_:octicon:`link-external`
- FRI relevant parameters are forwarded to the ``lbr_ros2_control::SystemInterface`` plugin from `lbr_system_paramters.yaml <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/rolling/lbr_description/ros2_control/lbr_system_parameters.yaml>`_:octicon:`link-external`

The ``lbr_ros2_control::SystemInterface`` is spun with the ``controller_manager`` node at a rate set by the ``update_rate`` parameter. The communication to the robot is run **asynchronously** at a rate set by the robot's sample time.

Expand Down
6 changes: 4 additions & 2 deletions lbr_ros2_control/src/system_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ SystemInterface::on_init(const hardware_interface::HardwareInfo &system_info) {
return ret;
}

// parameters_ from config/lbr_system_interface.xacro
// parameters_ from lbr_system_interface.xacro (located in
// lbr_description/ros2_control/lbr_system_interface.xacro)
if (!parse_parameters_(system_info)) {
return controller_interface::CallbackReturn::ERROR;
}
Expand Down Expand Up @@ -531,7 +532,8 @@ bool SystemInterface::verify_sensors_() {
}

bool SystemInterface::verify_auxiliary_sensor_() {
// check all interfaces are defined in config/lbr_system_interface.xacro
// check all interfaces are defined in lbr_system_interface.xacro (located in
// lbr_description/ros2_control/lbr_system_interface.xacro)
const auto &auxiliary_sensor = info_.sensors[0];
if (auxiliary_sensor.name != HW_IF_AUXILIARY_PREFIX) {
RCLCPP_ERROR_STREAM(rclcpp::get_logger(LOGGER_NAME),
Expand Down

0 comments on commit 9f7d243

Please sign in to comment.