Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove zenkaku spaces #6451

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Feb 19, 2024

Description

remove zenkaku spaces

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Summary by CodeRabbit

  • Documentation: Removed zenkaku spaces (full-width spaces) from comments in various code files, improving code readability without affecting logic or functionality.
  • Refactor: Modified comments in code files related to the behavior path goal planner module and behavior path planner, improving clarity and addressing comment suggestions regarding interface design. No impact on logic or functionality.
  • Documentation: Updated parameter description in goal_searcher.hpp to exclude "freespace pull over" from the efficient order of the pull-over planner along lanes. No impact on logic or functionality.
  • Style: Removed zenkaku spaces from comments in BehaviorPathPlannerNode class and MissionPlanner class. No impact on logic or functionality.

@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) labels Feb 19, 2024
@@ -119,7 +119,7 @@ Trajectory alignTrajectoryWithReferenceTrajectory(

// If last point of predicted_trajectory is behind of end of trajectory, erase points which are
// behind trajectory last point and insert pNew along the predicted_trajectory
// predicted_trajectory:     p1-----//------pN-2-----pN-1-----pN
// predicted_trajectory: p1-----//------pN-2-----pN-1-----pN
// trajectory: t1-----//-----tN-1--tN
// ↓
// predicted_trajectory: p1-----//------pN-2-pNew
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kyoichi-sugahara
is this alignment ok?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect!!!
zenkaku lol

Copy link
Contributor

@rej55 rej55 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Copy link

github-actions bot commented Feb 19, 2024

Image description CodeRabbit

Walkthrough

The changes in this pull request involve removing zenkaku spaces (full-width spaces) from comments in the code and documentation. The modifications aim to improve clarity, remove unnecessary comments, or address comment suggestions regarding interface design. These changes do not alter the logic or functionality of the code.

Changes

File Summary
control/control_validator/src/utils.cpp
perception/multi_object_tracker/include/multi_object_tracker/tracker/model/tracker_base.hpp
perception/radar_object_tracker/include/radar_object_tracker/tracker/model/tracker_base.hpp
The diffs in these changesets involve removing zenkaku spaces (full-width spaces) from comments in the code. The changes do not alter the logic or functionality of the code.
planning/behavior_path_avoidance_module/README.md
planning/behavior_path_goal_planner_module/README.md
planning/behavior_path_lane_change_module/README.md
planning/behavior_velocity_occlusion_spot_module/README.md
planning/mission_planner/src/mission_planner/mission_planner.cpp
The diffs in these changesets involve removing zenkaku spaces (full-width spaces) from comments in the code or documentation. The changes do not affect the logic or functionality of the code.
planning/behavior_path_goal_planner_module/include/behavior_path_goal_planner_module/goal_searcher.hpp
planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp
planning/behavior_path_planner/src/behavior_path_planner_node.cpp
The diffs in these changesets involve modifying comments in the code. The changes aim to improve clarity, remove unnecessary comments, or address comment suggestions regarding interface design. The modifications do not alter the logic or functionality of the code.
planning/behavior_path_goal_planner_module/include/behavior_path_goal_planner_module/goal_searcher.hpp The diff shows a change in the efficient_path_order parameter description, where "freespace pull over" is excluded from the efficient order of the pull-over planner along lanes. The change does not affect the logic or functionality of the code.
planning/behavior_path_planner/src/behavior_path_planner_node.cpp
planning/mission_planner/src/mission_planner/mission_planner.cpp
The diffs in these changesets involve removing zenkaku spaces from comments in the code. The changes do not alter the logic or functionality of the code.

🐇📜

In code and docs, spaces were found,
Zenkaku ones, they did abound.
With care and skill, they were removed,
Clarity improved, no logic proved.
A rabbit's touch, light and neat,
Making code and comments complete.


Uplevel your code reviews with CodeRabbit Pro

CodeRabbit Pro

If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 9727299 and 6245636 commits.
Files selected (11)
  • control/control_validator/src/utils.cpp (2)
  • perception/multi_object_tracker/include/multi_object_tracker/tracker/model/tracker_base.hpp (1)
  • perception/radar_object_tracker/include/radar_object_tracker/tracker/model/tracker_base.hpp (1)
  • planning/behavior_path_avoidance_module/README.md (3)
  • planning/behavior_path_goal_planner_module/README.md (2)
  • planning/behavior_path_goal_planner_module/include/behavior_path_goal_planner_module/goal_searcher.hpp (1)
  • planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp (1)
  • planning/behavior_path_lane_change_module/README.md (1)
  • planning/behavior_path_planner/src/behavior_path_planner_node.cpp (1)
  • planning/behavior_velocity_occlusion_spot_module/README.md (1)
  • planning/mission_planner/src/mission_planner/mission_planner.cpp (1)
Files ignored due to filter (1)
  • perception/map_based_prediction/images/inside_road.svg
Files skipped from review due to trivial changes (10)
  • perception/multi_object_tracker/include/multi_object_tracker/tracker/model/tracker_base.hpp
  • perception/radar_object_tracker/include/radar_object_tracker/tracker/model/tracker_base.hpp
  • planning/behavior_path_avoidance_module/README.md
  • planning/behavior_path_goal_planner_module/README.md
  • planning/behavior_path_goal_planner_module/include/behavior_path_goal_planner_module/goal_searcher.hpp
  • planning/behavior_path_goal_planner_module/src/goal_planner_module.cpp
  • planning/behavior_path_lane_change_module/README.md
  • planning/behavior_path_planner/src/behavior_path_planner_node.cpp
  • planning/behavior_velocity_occlusion_spot_module/README.md
  • planning/mission_planner/src/mission_planner/mission_planner.cpp
Review comments generated (1)
  • Review: 1
  • LGTM: 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

Comment on lines +107 to +110
// predicted_trajectory: p1-----p2-----p3----//------pN
// trajectory: t1--------//------tN
// ↓
// predicted_trajectory:      pNew--p3----//------pN
// predicted_trajectory: pNew--p3----//------pN

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image description CodeRabbit

The comments in this code block explain the behavior of the removeFrontTrajectoryPoint function. However, the comments are not aligned properly and contain unnecessary whitespace characters. It would be better to reformat the comments for clarity and remove the extra spaces.

   // If first point of predicted_trajectory is in front of start of trajectory, erase points which
   // are in front of trajectory start point and insert pNew along the predicted_trajectory
-  // predicted_trajectory:       p1-----p2-----p3----//------pN
+  // predicted_trajectory:           p1-----p2-----p3----//------pN
   // trajectory:                               t1--------//------tN
   // ↓
-  // predicted_trajectory:               pNew--p3----//------pN
+  // predicted_trajectory:                   pNew--p3----//------pN
   // trajectory:                               t1--------//------tN
   auto predicted_trajectory_point_removed = removeFrontTrajectoryPoint(
     trajectory_points, modified_trajectory_points, predicted_trajectory_points);

122:
The comment in this code block explains the behavior of the removeFrontTrajectoryPoint function. However, the comment is not aligned properly and contains unnecessary whitespace characters. It would be better to reformat the comment for clarity and remove the extra spaces.

   // If last point of predicted_trajectory is behind of end of trajectory, erase points which are
   // behind trajectory last point and insert pNew along the predicted_trajectory
-  // predicted_trajectory:       p1-----//------pN-2-----pN-1-----pN
+  // predicted_trajectory:           p1-----//------pN-2-----pN-1-----pN
   // trajectory:                     t1-----//-----tN-1--tN
   // ↓
   // predicted_trajectory:           p1-----//------pN-2-pNew

Copy link
Contributor

@soblin soblin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much this is really helpful !

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Copy link
Contributor

@ktro2828 ktro2828 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM about the updates for map_based_prediction

Copy link
Contributor

@YoshiRi YoshiRi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for tracking/prediction modules

@kosuke55 kosuke55 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 22, 2024
@kosuke55 kosuke55 enabled auto-merge (squash) February 22, 2024 09:38
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (9530c8a) 14.99% compared to head (7467951) 14.81%.
Report is 37 commits behind head on main.

Files Patch % Lines
...th_goal_planner_module/src/goal_planner_module.cpp 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6451      +/-   ##
==========================================
- Coverage   14.99%   14.81%   -0.18%     
==========================================
  Files        1839     1842       +3     
  Lines      127213   129522    +2309     
  Branches    38132    38818     +686     
==========================================
+ Hits        19071    19195     +124     
- Misses      86808    88819    +2011     
- Partials    21334    21508     +174     
Flag Coverage Δ *Carryforward flag
differential 7.69% <0.00%> (?)
total 14.99% <ø> (ø) Carriedforward from 9530c8a

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kosuke55 kosuke55 merged commit 971af2a into autowarefoundation:main Feb 22, 2024
30 of 32 checks passed
@kosuke55 kosuke55 deleted the chore/zenkaku branch February 22, 2024 10:55
StepTurtle pushed a commit to StepTurtle/autoware.universe that referenced this pull request Feb 28, 2024
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
HansRobo pushed a commit that referenced this pull request Mar 12, 2024
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.