Skip to content

Commit

Permalink
fix(path_generator): set current pose appropriately in test (#250)
Browse files Browse the repository at this point in the history
set start pose of route as current pose

Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
  • Loading branch information
mitukou1109 authored Mar 10, 2025
1 parent a905d4a commit 4c57a04
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ TEST(PlanningModuleInterfaceTest, NodeTestWithExceptionTrajectory)
test_manager->publishInput(
test_target_node, "path_generator/input/vector_map", autoware::test_utils::makeMapBinMsg());
test_manager->publishInput(
test_target_node, "path_generator/input/odometry", autoware::test_utils::makeOdometry());
test_target_node, "path_generator/input/odometry",
autoware::test_utils::makeOdometry().set__pose(
geometry_msgs::msg::PoseWithCovariance{}.set__pose(
autoware::test_utils::makeBehaviorNormalRoute().start_pose)));

// create subscriber in test_manager
test_manager->subscribeOutput<autoware_internal_planning_msgs::msg::PathWithLaneId>(
Expand Down

0 comments on commit 4c57a04

Please sign in to comment.