Skip to content

Commit

Permalink
refactor(start_planner): refactor debug and safety check logic (#719)
Browse files Browse the repository at this point in the history
refactor(start_planner): refactor debug parameters

This commit removes the `verbose` parameter under `start_planner` and introduces a new `debug` section. The newly added `debug` section includes a `print_debug_info` parameter, set to false by default. This change provides a more structured way to handle debugging configurations for the start planner.

Signed-off-by: kyoichi-sugahara <[email protected]>
  • Loading branch information
kyoichi-sugahara authored Dec 5, 2023
1 parent 6d6af42 commit 8077e68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
# EgoPredictedPath
ego_predicted_path:
min_velocity: 1.0
acceleration: 1.0
min_acceleration: 1.0
max_velocity: 1.0
time_horizon_for_front_object: 10.0
time_horizon_for_rear_object: 10.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
ros__parameters:
start_planner:

verbose: false

th_arrived_distance: 1.0
th_stopped_velocity: 0.01
th_stopped_time: 1.0
Expand Down Expand Up @@ -85,7 +83,7 @@
# EgoPredictedPath
ego_predicted_path:
min_velocity: 0.0
acceleration: 1.0
min_acceleration: 1.0
max_velocity: 1.0
time_horizon_for_front_object: 10.0
time_horizon_for_rear_object: 10.0
Expand Down Expand Up @@ -140,3 +138,7 @@
# temporary
backward_path_length: 30.0
forward_path_length: 100.0

# debug
debug:
print_debug_info: false

0 comments on commit 8077e68

Please sign in to comment.