Skip to content

Commit

Permalink
Fix namespace tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmagyar authored Nov 7, 2023
2 parents 5e0e85f + 80e17f3 commit 74d4d57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions diff_drive_controller/test/test_diff_drive_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ TEST_F(TestDiffDriveController, configure_succeeds_tf_test_prefix_false_set_name
{
std::string test_namespace = "/test_namespace";

const auto ret = controller_->init(controller_name, test_namespace);
const auto ret = controller_->init(controller_name, urdf_, test_namespace);
ASSERT_EQ(ret, controller_interface::return_type::OK);

std::string odom_id = "odom";
Expand Down Expand Up @@ -398,7 +398,7 @@ TEST_F(TestDiffDriveController, configure_succeeds_tf_test_prefix_true_set_names
{
std::string test_namespace = "/test_namespace";

const auto ret = controller_->init(controller_name, test_namespace);
const auto ret = controller_->init(controller_name, urdf_, test_namespace);
ASSERT_EQ(ret, controller_interface::return_type::OK);

std::string odom_id = "odom";
Expand Down Expand Up @@ -435,7 +435,7 @@ TEST_F(TestDiffDriveController, configure_succeeds_tf_blank_prefix_true_set_name
{
std::string test_namespace = "/test_namespace";

const auto ret = controller_->init(controller_name, test_namespace);
const auto ret = controller_->init(controller_name, urdf_, test_namespace);
ASSERT_EQ(ret, controller_interface::return_type::OK);

std::string odom_id = "odom";
Expand Down

0 comments on commit 74d4d57

Please sign in to comment.