-
Notifications
You must be signed in to change notification settings - Fork 291
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
fix(obstacle_cruise_planner): improve cruise planner handling to a VRU maneuver overlapping with ego vehicle trajectory #1128
Conversation
@@ -89,7 +89,7 @@ | |||
|
|||
# hysteresis for cruise and stop | |||
obstacle_velocity_threshold_from_cruise_to_stop : 3.0 # stop planning is executed to the obstacle whose velocity is less than this value [m/s] | |||
obstacle_velocity_threshold_from_stop_to_cruise : 3.5 # stop planning is executed to the obstacle whose velocity is less than this value [m/s] | |||
obstacle_velocity_threshold_from_stop_to_cruise : 2.5 # stop planning is executed to the obstacle whose velocity is less than this value [m/s] |
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.
obstacle_velocity_threshold_from_stop_to_cruise
has to be larger than obstacle_velocity_threshold_from_cruise_to_stop
.
I guess when the ego's velocity is 2.8, the mode will chatter like cruise -> stop -> cruise -> stop -> ...
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.
Thanks @takayuki5168 -san for your review comment.
I have discussed this comment with @brkay54 as he had previous knowledge in this point and we come to the following updates in the parameters .
- We see that having
obstacle_velocity_threshold_from_stop_to_cruise
with 1.5 m/s (5.4 k/h) would be better handling this scenario allowing the ego vehicle to cruise the VRU not always triggering obstacle stop imitating natural human driving in such dense urban cases - As well having
obstacle_velocity_threshold_from_cruise_to_stop
less thanobstacle_velocity_threshold_from_stop_to_cruise
will prevent chattering.
I have provided new demo videos under After this PR. Please have a look and let us know your thoughts.
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.
@ahmeddesokyebrahim
Thank you for the explanation.
In the use case where the ego tries to stop for the front stopped object, decreasing the parameter makes the ego late to switch from CRUISE to STOP, and as a result, the ego is late to decelerate which we feel is very dangerous. So I don't agree with decreasing this parameter.
Does this explanation make sense to you?
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.
Thanks @takayuki5168 -san for your reply.
decreasing the parameter makes the ego late to switch from CRUISE to STOP
Actually it is intended by this change to let the ego vehicle cruise the front object not to trigger obstacle stop for it, trying to have a natural human driving behavior in such dense urban areas.
Do you have in mind or with prior experiments any minimum threshold that we can have for obstacle_velocity_threshold_from_cruise_to_stop
& obstacle_velocity_threshold_from_stop_to_cruise
?
29db88c
to
7f80b6a
Compare
7f80b6a
to
3a325c6
Compare
… handling vru maneuver overlapping with ego trj Signed-off-by: Ahmed Ebrahim <[email protected]>
… cruise the vru and prevent mode chattering Signed-off-by: Ahmed Ebrahim <[email protected]>
3a325c6
to
ae461d5
Compare
Closing this PR as the intended issue and scenario/s will be covered by this PR |
Description
Fixes :
Related links
Parent Issue :
Tests performed
Before this PR :
2024-07-09.16-05-17.mp4
2024-07-09.16-06-27.mp4
After this PR :
2024-08-26.14-31-47.mp4
2024-08-26.14-33-37.mp4
Notes for reviewers
Interface changes
ROS Topic Changes
N.A
ROS Parameter Changes
obstacle_velocity_threshold_from_cruise_to_stop
1.0 m/s
obstacle_velocity_threshold_from_stop_to_cruise
to prevent chattering between cruise and stopobstacle_velocity_threshold_from_stop_to_cruise
1.5 m/s
obstacle_cruise_planner
is not performing high -ve acceleration once the VRU is overlapping with ego trajectory and allowing the ego vehicle to cruise the front VRU not always triggering obstacle stop for itEffects on system behavior
Enhancing the obstacle_cruise_planner to effectively handle scenarios where vulnerable road users (VRUs) suddenly maneuver and overlap with the ego vehicle's trajectory in dense urban operational design domains (ODDs) will improve deceleration and velocity adjustments, resulting in more human-like driving behavior.
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.