-
Notifications
You must be signed in to change notification settings - Fork 59
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/geometry bug fixes #1139
Merged
Merged
Fix/geometry bug fixes #1139
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
…ixes Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Enable multiple spline collisions with working subspline collision filtering Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Add more support for multiple collisions with curve & spline Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
This reverts commit 5a50ead. Signed-off-by: Mateusz Palczuk <mateusz.palczuk@robotec.ai>
hakuturu583
requested changes
Dec 20, 2023
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 pull-request, thanks.
But it is a breaking change, so need to new version release.
Temporarily change to request changes to prevent accidental operation.
This was referenced Nov 28, 2024
Merged
Closed
This was referenced Dec 5, 2024
This was referenced Dec 12, 2024
Merged
This was referenced Dec 18, 2024
Merged
This was referenced Dec 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Types of PR
Link to the issue
#1114 #1115 #1116 #1117 #1118 #1119 #1120 #1123 and #1122
Description
I have fixed all bugs that were reported in the issues linked above.
geometry_msgs::msg::Point
andgeometry_msgs::msg::Vector3
, because they were ambiguous.LineSegment
class could be constructed with ageometry_msgs::msg::Vector3
of size = 0. This lead to initialization ofend_point
withnan
values.getMinValue
andgetMaxValue
bug where when an empty vector was passed the function tried to de-referencevector.end()
and the whole program crashed.getPolygon
bug which caused the function to generate incorrect number of points.HermiteCurve
. This incompatibility lead to errors.CatmullRomSubspline
collision detection by enabling theHermiteCurve
andCatmullRomSpline
to have multiple collisions detected and then choosing in the subspline the collisions that occur inside the subspline.Curve length computation change
This PR fixes how the length of the curve is computed
It might slightly influence the behavior of the scenarios.
Influenced traffic_simulator/OpenSCENARIO features and how to fix them
Scenario fix example
This scenario usually passes without the fix but always fails after the fix is added. The scenario is based on shinjuku_map.
scenario.yml.txt
An issue in this scenario is lane change action:
To fix it:
The exact amount of the change of the values above is hard to estimate because it is very dependent on the specific scenario - like the vehicle position within the lanelet might influence how much the normalized lanelet length was different than not normalized length.
Here is the scenario that uses the third possible fix - decreasing the distance on which the lane change action takes place. One meter decrease makes the scenario pass again.
Full fixed scenario
scenario.yml.txt
How to review this PR.
Others