Skip to content

Commit

Permalink
Merge pull request #413 from tier4/sync-upstream
Browse files Browse the repository at this point in the history
chore: sync upstream
  • Loading branch information
tier4-autoware-public-bot[bot] authored May 9, 2023
2 parents c5985e5 + ce1255a commit 6dafaf4
Show file tree
Hide file tree
Showing 77 changed files with 5,314 additions and 2,174 deletions.
2 changes: 2 additions & 0 deletions .pages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nav:
- ... | regex=^(?!.*(README.md|CONTRIBUTING.md|CODE_OF_CONDUCT.md|DISCLAIMER.md)).*$
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ bool QPSolverOSQP::solve(

const int status_val = std::get<3>(result);
if (status_val != 1) {
// TODO(Horibe): Should return false and the failure must be handled in an appropriate way.
RCLCPP_WARN(logger_, "optimization failed : %s", osqpsolver_.getStatusMessage().c_str());
return false;
}
const auto has_nan =
std::any_of(U_osqp.begin(), U_osqp.end(), [](const auto v) { return std::isnan(v); });
if (has_nan) {
RCLCPP_WARN(logger_, "optimization failed: result contains NaN values");
return false;
}

// polish status: successful (1), unperformed (0), (-1) unsuccessful
Expand Down
3 changes: 1 addition & 2 deletions planning/behavior_path_planner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ set(common_src
src/behavior_path_planner_node.cpp
src/scene_module/scene_module_visitor.cpp
src/scene_module/avoidance/avoidance_module.cpp
src/scene_module/avoidance_by_lc/module.cpp
src/scene_module/dynamic_avoidance/dynamic_avoidance_module.cpp
src/scene_module/pull_out/pull_out_module.cpp
src/scene_module/goal_planner/goal_planner_module.cpp
src/scene_module/side_shift/side_shift_module.cpp
src/scene_module/lane_change/interface.cpp
src/scene_module/lane_change/normal.cpp
src/scene_module/lane_change/external_request.cpp
src/scene_module/lane_change/avoidance_by_lane_change.cpp
src/turn_signal_decider.cpp
src/utils/utils.cpp
src/utils/path_utils.cpp
Expand Down Expand Up @@ -66,7 +66,6 @@ else()
ament_auto_add_library(behavior_path_planner_node SHARED
src/planner_manager.cpp
src/scene_module/avoidance/manager.cpp
src/scene_module/avoidance_by_lc/manager.cpp
src/scene_module/dynamic_avoidance/manager.cpp
src/scene_module/pull_out/manager.cpp
src/scene_module/goal_planner/manager.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,11 @@
matrix:
[2.78, 13.9, # velocity [m/s]
0.50, 1.00] # margin [m]

shift_line_pipeline:
trim:
quantize_filter_threshold: 0.2
same_grad_filter_1_threshold: 0.1
same_grad_filter_2_threshold: 0.2
same_grad_filter_3_threshold: 0.5
sharp_shift_filter_threshold: 0.2
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Interface design

!!! warning

Under Construction

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions planning/behavior_path_planner/image/manager/avoidance.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6dafaf4

Please sign in to comment.