-
Notifications
You must be signed in to change notification settings - Fork 696
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
Conversation
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perfect!!!
zenkaku lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
WalkthroughThe 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
Uplevel your code reviews with CodeRabbit ProCodeRabbit ProIf 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
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.
// predicted_trajectory: p1-----p2-----p3----//------pN | ||
// trajectory: t1--------//------tN | ||
// ↓ | ||
// predicted_trajectory: pNew--p3----//------pN | ||
// predicted_trajectory: pNew--p3----//------pN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this 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>
6245636
to
7467951
Compare
There was a problem hiding this 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
There was a problem hiding this 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
Codecov ReportAttention:
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
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
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.
After all checkboxes are checked, anyone who has write access can merge the PR.
Summary by CodeRabbit
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.BehaviorPathPlannerNode
class andMissionPlanner
class. No impact on logic or functionality.