Skip to content

Commit fce9bae

Browse files
committed
bicycle_steering_controller updated with controller_interface migration
1 parent 163a581 commit fce9bae

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

bicycle_steering_controller/test/test_bicycle_steering_controller.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,14 @@ class BicycleSteeringControllerFixture : public ::testing::Test
131131
protected:
132132
void SetUpController(const std::string controller_name = "test_bicycle_steering_controller")
133133
{
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();
134140
ASSERT_EQ(
135-
controller_->init(controller_name, "", 0, "", controller_->define_custom_node_options()),
141+
controller_->init(params),
136142
controller_interface::return_type::OK);
137143

138144
if (position_feedback_ == true)

0 commit comments

Comments
 (0)