Skip to content

Commit

Permalink
refactor(mission_planner): delete default values (#3127)
Browse files Browse the repository at this point in the history
* delete param

Signed-off-by: yamazakiTasuku <tasuku.yamazaki@tier4.jp>

* fix(mission_planner): add type

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(static_centerline_optimizer): add mission planner param path

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix

Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>

---------

Signed-off-by: yamazakiTasuku <tasuku.yamazaki@tier4.jp>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Co-authored-by: yamazakiTasuku <tasuku.yamazaki@tier4.jp>
Co-authored-by: satoshi-ota <satoshi.ota928@gmail.com>
Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
  • Loading branch information
5 people committed Apr 10, 2023
1 parent fe488e9 commit 6b55253
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ void DefaultPlanner::initialize_common(rclcpp::Node * node)
node_->create_publisher<MarkerArray>("debug/goal_footprint", durable_qos);

vehicle_info_ = vehicle_info_util::VehicleInfoUtil(*node_).getVehicleInfo();
param_.goal_angle_threshold_deg = node_->declare_parameter("goal_angle_threshold_deg", 45.0);
param_.enable_correct_goal_pose = node_->declare_parameter("enable_correct_goal_pose", false);
param_.goal_angle_threshold_deg = node_->declare_parameter<double>("goal_angle_threshold_deg");
param_.enable_correct_goal_pose = node_->declare_parameter<bool>("enable_correct_goal_pose");
}

void DefaultPlanner::initialize(rclcpp::Node * node)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ def generate_test_description():
{"lanelet2_output_file_path": "/tmp/lanelet2_map.osm"},
{"start_lanelet_id": 215},
{"end_lanelet_id": 216},
os.path.join(
get_package_share_directory("mission_planner"),
"config",
"mission_planner.param.yaml",
),
os.path.join(
get_package_share_directory("static_centerline_optimizer"),
"config/static_centerline_optimizer.param.yaml",
Expand Down

0 comments on commit 6b55253

Please sign in to comment.