Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 committed Jun 8, 2024
1 parent 46e401b commit 4176d24
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ TEST(PlanningModuleInterfaceTest, NodeTestWithExceptionTrajectory)
std::make_shared<autoware::path_smoother::ElasticBandSmoother>(node_options);

// publish necessary topics from test_manager
test_manager->publishOdometry(test_target_node, "path_smoother/input/odometry");
test_manager->publishOdometry(test_target_node, "autoware_path_smoother/input/odometry");

// set subscriber with topic name
test_manager->setTrajectorySubscriber("path_smoother/output/traj");
test_manager->setPathSubscriber("path_smoother/output/path");
test_manager->setTrajectorySubscriber("autoware_path_smoother/output/traj");
test_manager->setPathSubscriber("autoware_path_smoother/output/path");

// set input topic name (this topic is changed to test node)
test_manager->setPathInputTopicName("path_smoother/input/path");
test_manager->setPathInputTopicName("autoware_path_smoother/input/path");

// test with normal trajectory
ASSERT_NO_THROW_WITH_ERROR_MSG(test_manager->testWithNominalPath(test_target_node));
Expand Down

0 comments on commit 4176d24

Please sign in to comment.