Skip to content

Commit

Permalink
added controller manager runner to have update cycles (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor authored Jul 7, 2023
1 parent ca33bcc commit 09c6da4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller_manager/test/test_spawner_unspawner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ TEST_F(TestLoadController, spawner_test_type_in_param)
{
cm_->set_parameter(rclcpp::Parameter("ctrl_1.type", test_controller::TEST_CONTROLLER_CLASS_NAME));

ControllerManagerRunner cm_runner(this);
EXPECT_EQ(call_spawner("ctrl_1 -c test_controller_manager"), 0);

ASSERT_EQ(cm_->get_loaded_controllers().size(), 1ul);
Expand Down

0 comments on commit 09c6da4

Please sign in to comment.