Skip to content

Commit

Permalink
update test fil
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed Aug 18, 2022
1 parent f035c0b commit fd1c06d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
3 changes: 2 additions & 1 deletion control/trajectory_follower_nodes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ if(BUILD_TESTING)

find_package(autoware_testing REQUIRED)
add_smoke_test(${PROJECT_NAME} ${CONTROLLER_NODE}_exe
PARAM_FILENAMES "lateral_controller_defaults.param.yaml longitudinal_controller_defaults.param.yaml test_vehicle_info.param.yaml"
PARAM_FILENAMES "lateral_controller_defaults.param.yaml longitudinal_controller_defaults.param.yaml
test_vehicle_info.param.yaml test_nearest_search.param.yaml"
)
endif()

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**:
ros__parameters:
# ego
ego_nearest_dist_threshold: 3.0 # [m]
ego_nearest_yaw_threshold: 1.046 # [rad] = 60 [deg]
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ std::shared_ptr<Controller> makeNode()
node_options.arguments(
{"--ros-args", "--params-file", share_dir + "/param/lateral_controller_defaults.param.yaml",
"--params-file", share_dir + "/param/longitudinal_controller_defaults.param.yaml",
"--params-file", share_dir + "/param/test_vehicle_info.param.yaml"});
"--params-file", share_dir + "/param/test_vehicle_info.param.yaml", "--params-file",
share_dir + "/param/test_nearest_search.param.yaml"});
std::shared_ptr<Controller> node = std::make_shared<Controller>(node_options);

// Enable all logging in the node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ std::shared_ptr<LateralController> makeLateralNode()
rclcpp::NodeOptions node_options;
node_options.arguments(
{"--ros-args", "--params-file", share_dir + "/param/lateral_controller_defaults.param.yaml",
"--params-file", share_dir + "/param/test_vehicle_info.param.yaml"});
"--params-file", share_dir + "/param/test_vehicle_info.param.yaml", "--params-file",
share_dir + "/param/test_nearest_search.param.yaml"});
std::shared_ptr<LateralController> node = std::make_shared<LateralController>(node_options);

// Enable all logging in the node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ std::shared_ptr<LongitudinalController> makeLongitudinalNode()
node_options.arguments(
{"--ros-args", "--params-file",
share_dir + "/param/longitudinal_controller_defaults.param.yaml", "--params-file",
share_dir + "/param/test_vehicle_info.param.yaml"});
share_dir + "/param/test_vehicle_info.param.yaml", "--params-file",
share_dir + "/param/test_nearest_search.param.yaml"});
std::shared_ptr<LongitudinalController> node =
std::make_shared<LongitudinalController>(node_options);

Expand Down

0 comments on commit fd1c06d

Please sign in to comment.