Skip to content

Commit f730b17

Browse files
author
Kenji Miyake
committed
rename ROS parameter files
Signed-off-by: Kenji Miyake <[email protected]>
1 parent a6cd1d6 commit f730b17

9 files changed

+10
-9
lines changed

control/trajectory_follower_nodes/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ if(BUILD_TESTING)
7979
target_link_libraries(${TRAJECTORY_FOLLOWER_NODES_TEST} ${LATLON_MUXER_NODE} ${LATERAL_CONTROLLER_NODE} ${LONGITUDINAL_CONTROLLER_NODE})
8080

8181
#find_package(autoware_testing REQUIRED)
82-
#add_smoke_test(${PROJECT_NAME} ${LATLON_MUXER_NODE}_exe PARAM_FILENAME latlon_muxer_defaults.yaml)
83-
#add_smoke_test(${PROJECT_NAME} ${LATERAL_CONTROLLER_NODE}_exe PARAM_FILENAME lateral_controller_defaults.yaml)
84-
#add_smoke_test(${PROJECT_NAME} ${LONGITUDINAL_CONTROLLER_NODE}_exe PARAM_FILENAME longitudinal_controller_defaults.yaml)
82+
#add_smoke_test(${PROJECT_NAME} ${LATLON_MUXER_NODE}_exe PARAM_FILENAME latlon_muxer_defaults.param.yaml)
83+
#add_smoke_test(${PROJECT_NAME} ${LATERAL_CONTROLLER_NODE}_exe PARAM_FILENAME lateral_controller_defaults.param.yaml)
84+
#add_smoke_test(${PROJECT_NAME} ${LONGITUDINAL_CONTROLLER_NODE}_exe PARAM_FILENAME longitudinal_controller_defaults.param.yaml)
8585
endif()
8686

8787
ament_auto_package(

control/trajectory_follower_nodes/design/lateral_controller-design.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Inputs
4848

4949
### Parameter description
5050

51-
The default parameters defined in `param/lateral_controller_defaults.yaml` are adjusted to the
51+
The default parameters defined in `param/lateral_controller_defaults.param.yaml` are adjusted to the
5252
AutonomouStuff Lexus RX 450h for under 40 km/h driving.
5353

5454
| Name | Type | Description | Default value |

control/trajectory_follower_nodes/design/longitudinal_controller-design.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ In this controller, the predicted ego-velocity and the target velocity after the
143143

144144
### Parameter description
145145

146-
The default parameters defined in `param/lateral_controller_defaults.yaml` are adjusted to the
146+
The default parameters defined in `param/lateral_controller_defaults.param.yaml` are adjusted to the
147147
AutonomouStuff Lexus RX 450h for under 40 km/h driving.
148148

149149
| Name | Type | Description | Default value |

control/trajectory_follower_nodes/test/test_lateral_controller_node.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ std::shared_ptr<LateralController> makeLateralNode()
5050
const auto share_dir = ament_index_cpp::get_package_share_directory("trajectory_follower_nodes");
5151
rclcpp::NodeOptions node_options;
5252
node_options.arguments(
53-
{"--ros-args", "--params-file", share_dir + "/param/lateral_controller_defaults.yaml",
54-
"--params-file", share_dir + "/param/test_vehicle_info.yaml"});
53+
{"--ros-args", "--params-file", share_dir + "/param/lateral_controller_defaults.param.yaml",
54+
"--params-file", share_dir + "/param/test_vehicle_info.param.yaml"});
5555
std::shared_ptr<LateralController> node = std::make_shared<LateralController>(node_options);
5656

5757
// Enable all logging in the node

control/trajectory_follower_nodes/test/test_longitudinal_controller_node.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ std::shared_ptr<LongitudinalController> makeLongitudinalNode()
4646
const auto share_dir = ament_index_cpp::get_package_share_directory("trajectory_follower_nodes");
4747
rclcpp::NodeOptions node_options;
4848
node_options.arguments(
49-
{"--ros-args", "--params-file", share_dir + "/param/longitudinal_controller_defaults.yaml",
50-
"--params-file", share_dir + "/param/test_vehicle_info.yaml"});
49+
{"--ros-args", "--params-file",
50+
share_dir + "/param/longitudinal_controller_defaults.param.yaml", "--params-file",
51+
share_dir + "/param/test_vehicle_info.param.yaml"});
5152
std::shared_ptr<LongitudinalController> node =
5253
std::make_shared<LongitudinalController>(node_options);
5354

0 commit comments

Comments
 (0)