Skip to content

Commit

Permalink
organize config directory
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed Apr 23, 2022
1 parent 4dfcf56 commit 5459073
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Inputs

### Parameter description

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

| Name | Type | Description | Default value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ In this controller, the predicted ego-velocity and the target velocity after the

### Parameter description

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

| Name | Type | Description | Default value |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ std::shared_ptr<LateralController> makeLateralNode()
const auto share_dir = ament_index_cpp::get_package_share_directory("trajectory_follower_nodes");
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"});
{"--ros-args", "--params-file", share_dir + "/config/lateral_controller_defaults.param.yaml",
"--params-file", share_dir + "/config/test_vehicle_info.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 @@ -47,8 +47,8 @@ std::shared_ptr<LongitudinalController> makeLongitudinalNode()
rclcpp::NodeOptions node_options;
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 + "/config/longitudinal_controller_defaults.param.yaml", "--params-file",
share_dir + "/config/test_vehicle_info.param.yaml"});
std::shared_ptr<LongitudinalController> node =
std::make_shared<LongitudinalController>(node_options);

Expand Down
6 changes: 3 additions & 3 deletions launch/tier4_control_launch/launch/control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def add_launch_arg(name: str, default_value=None, description=None):
"lat_controller_param_path",
[
FindPackageShare("tier4_control_launch"),
"/config/trajectory_follower/lateral_controller.param.yaml",
"/config/trajectory_follower_nodes/lateral_controller.param.yaml",
],
"path to the parameter file of lateral controller",
)
Expand All @@ -323,15 +323,15 @@ def add_launch_arg(name: str, default_value=None, description=None):
"lon_controller_param_path",
[
FindPackageShare("tier4_control_launch"),
"/config/trajectory_follower/longitudinal_controller.param.yaml",
"/config/trajectory_follower_nodes/longitudinal_controller.param.yaml",
],
"path to the parameter file of longitudinal controller",
)
add_launch_arg(
"latlon_muxer_param_path",
[
FindPackageShare("tier4_control_launch"),
"/config/trajectory_follower/latlon_muxer.param.yaml",
"/config/trajectory_follower_nodes/latlon_muxer.param.yaml",
],
"path to the parameter file of latlon muxer",
)
Expand Down

0 comments on commit 5459073

Please sign in to comment.