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

Fix/minor bug fixes #1138

Closed
wants to merge 18 commits into from
Closed

Conversation

TauTheLepton
Copy link
Contributor

Types of PR

  • New Features
  • Upgrade of existing features
  • Bugfix

Link to the issue

#1114 #1115 #1116 #1117 #1118 #1119 #1120 #1123

Description

I have fixed all bugs that were reported in the issues linked above.

  • I have removed equal operators for geometry_msgs::msg::Point and geometry_msgs::msg::Vector3, because they were ambiguous.
  • I have fixed the bug which caused the intersection functions using vector to look past the last element of the vector and return wrong results.
  • I have fixed a bug where the LineSegment class could be constructed with a geometry_msgs::msg::Vector3 of size = 0. This lead to initialization of end_point with nan values.
  • I have fixed the getMinValue and getMaxValue bug where when an empty vector was passed the function tried to dereference vector.end() and the whole program crashed.
  • I have fixed a getPolygon bug which caused the function to generate incorrect number of points.
  • I have added support for negative curvature values which were already supported by HermiteCurve. This incompatibility lead to errors.
  • I have fixed spline collision implementation error which caused spline to add normalized length to absolute lengths which is incorrect.
  • I have fixed CatmullRomSubspline collision detection by enabling the HermiteCurve and CatmullRomSpline to have multiple collisions detected and then choosing in the subspline the collisions that occur inside the subspline.

How to review this PR.

Others

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant