Skip to content

Commit ad77936

Browse files
Merge branch 'master' into add-vda5050-safety-state-broadcaster
2 parents 37c1b36 + 6626451 commit ad77936

File tree

102 files changed

+565
-263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+565
-263
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838

3939
# Python hooks
4040
- repo: https://github.com/asottile/pyupgrade
41-
rev: v3.20.0
41+
rev: v3.21.0
4242
hooks:
4343
- id: pyupgrade
4444
args: [--py36-plus]
@@ -138,7 +138,7 @@ repos:
138138
exclude: CHANGELOG\.rst|\.(svg|pyc|drawio)$
139139

140140
- repo: https://github.com/python-jsonschema/check-jsonschema
141-
rev: 0.34.0
141+
rev: 0.34.1
142142
hooks:
143143
- id: check-github-workflows
144144
args: ["--verbose"]

ackermann_steering_controller/CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog for package ackermann_steering_controller
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
6.0.0 (2025-11-10)
6+
------------------
7+
* Controller interface api update to ros2_controller packages (`#1973 <https://github.com/ros-controls/ros2_controllers/issues/1973>`_)
8+
* Contributors: Anand Vardhan
9+
510
5.8.0 (2025-10-02)
611
------------------
712
* Remove deprecated methods from ros2_control (`#1936 <https://github.com/ros-controls/ros2_controllers/issues/1936>`_)

ackermann_steering_controller/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>ackermann_steering_controller</name>
5-
<version>5.8.0</version>
5+
<version>6.0.0</version>
66
<description>Steering controller for Ackermann kinematics. Rear fixed wheels are powering the vehicle and front wheels are steering it.</description>
77

88
<maintainer email="bence.magyar.robotics@gmail.com">Bence Magyar</maintainer>

ackermann_steering_controller/test/test_ackermann_steering_controller.hpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,13 @@ class AckermannSteeringControllerFixture : public ::testing::Test
133133
protected:
134134
void SetUpController(const std::string controller_name = "test_ackermann_steering_controller")
135135
{
136-
ASSERT_EQ(
137-
controller_->init(controller_name, "", 0, "", controller_->define_custom_node_options()),
138-
controller_interface::return_type::OK);
136+
controller_interface::ControllerInterfaceParams params;
137+
params.controller_name = controller_name;
138+
params.robot_description = "";
139+
params.update_rate = 0;
140+
params.node_namespace = "";
141+
params.node_options = controller_->define_custom_node_options();
142+
ASSERT_EQ(controller_->init(params), controller_interface::return_type::OK);
139143

140144
if (position_feedback_ == true)
141145
{

admittance_controller/CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Changelog for package admittance_controller
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
6.0.0 (2025-11-10)
6+
------------------
7+
* Use NodeInterfaces for TransformBroadcaster construction (`#1981 <https://github.com/ros-controls/ros2_controllers/issues/1981>`_)
8+
* Controller interface api update to ros2_controller packages (`#1973 <https://github.com/ros-controls/ros2_controllers/issues/1973>`_)
9+
* Contributors: Anand Vardhan, Christoph Fröhlich
10+
511
5.8.0 (2025-10-02)
612
------------------
713
* Update API for realtime publisher (`#1830 <https://github.com/ros-controls/ros2_controllers/issues/1830>`_)

admittance_controller/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>admittance_controller</name>
5-
<version>5.8.0</version>
5+
<version>6.0.0</version>
66
<description>Implementation of admittance controllers for different input and output interface.</description>
77

88
<maintainer email="bence.magyar.robotics@gmail.com">Bence Magyar</maintainer>

admittance_controller/test/test_admittance_controller.hpp

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
#include "hardware_interface/loaned_command_interface.hpp"
3636
#include "hardware_interface/loaned_state_interface.hpp"
3737
#include "rclcpp/parameter_value.hpp"
38+
#include "rclcpp/version.h"
39+
#if RCLCPP_VERSION_GTE(18, 0, 0)
40+
#include "rclcpp/node_interfaces/node_interfaces.hpp"
41+
#endif
3842
#include "rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp"
3943
#include "semantic_components/force_torque_sensor.hpp"
4044
#include "test_asset_6d_robot_description.hpp"
@@ -160,8 +164,13 @@ class AdmittanceControllerTest : public ::testing::Test
160164
controller_interface::return_type SetUpControllerCommon(
161165
const std::string & controller_name, const rclcpp::NodeOptions & options)
162166
{
163-
auto result =
164-
controller_->init(controller_name, controller_->robot_description_, 0, "", options);
167+
controller_interface::ControllerInterfaceParams params;
168+
params.controller_name = controller_name;
169+
params.robot_description = controller_->robot_description_;
170+
params.update_rate = 0;
171+
params.node_namespace = "";
172+
params.node_options = options;
173+
auto result = controller_->init(params);
165174

166175
controller_->export_reference_interfaces();
167176
assign_interfaces();
@@ -215,7 +224,15 @@ class AdmittanceControllerTest : public ::testing::Test
215224

216225
void broadcast_tfs()
217226
{
227+
#if RCLCPP_VERSION_GTE(18, 0, 0)
228+
static tf2_ros::TransformBroadcaster br(
229+
rclcpp::node_interfaces::NodeInterfaces(
230+
test_broadcaster_node_->get_node_parameters_interface(),
231+
test_broadcaster_node_->get_node_topics_interface()));
232+
#else
218233
static tf2_ros::TransformBroadcaster br(test_broadcaster_node_);
234+
#endif
235+
219236
geometry_msgs::msg::TransformStamped transform_stamped;
220237

221238
transform_stamped.header.stamp = test_broadcaster_node_->now();

bicycle_steering_controller/CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog for package bicycle_steering_controller
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
6.0.0 (2025-11-10)
6+
------------------
7+
* Controller interface api update to ros2_controller packages (`#1973 <https://github.com/ros-controls/ros2_controllers/issues/1973>`_)
8+
* Contributors: Anand Vardhan
9+
510
5.8.0 (2025-10-02)
611
------------------
712
* Remove deprecated methods from ros2_control (`#1936 <https://github.com/ros-controls/ros2_controllers/issues/1936>`_)

bicycle_steering_controller/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>bicycle_steering_controller</name>
5-
<version>5.8.0</version>
5+
<version>6.0.0</version>
66
<description>Steering controller with bicycle kinematics. Rear fixed wheel is powering the vehicle and front wheel is steering.</description>
77

88
<maintainer email="bence.magyar.robotics@gmail.com">Bence Magyar</maintainer>

bicycle_steering_controller/test/test_bicycle_steering_controller.hpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,13 @@ class BicycleSteeringControllerFixture : public ::testing::Test
131131
protected:
132132
void SetUpController(const std::string controller_name = "test_bicycle_steering_controller")
133133
{
134-
ASSERT_EQ(
135-
controller_->init(controller_name, "", 0, "", controller_->define_custom_node_options()),
136-
controller_interface::return_type::OK);
134+
controller_interface::ControllerInterfaceParams params;
135+
params.controller_name = controller_name;
136+
params.robot_description = "";
137+
params.update_rate = 0;
138+
params.node_namespace = "";
139+
params.node_options = controller_->define_custom_node_options();
140+
ASSERT_EQ(controller_->init(params), controller_interface::return_type::OK);
137141

138142
if (position_feedback_ == true)
139143
{

0 commit comments

Comments
 (0)