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

feat: Integrate min distance #167

Merged
merged 82 commits into from
Apr 8, 2024
Merged

feat: Integrate min distance #167

merged 82 commits into from
Apr 8, 2024

Conversation

yrh012
Copy link

@yrh012 yrh012 commented Mar 15, 2024

Description

This PR solves the issue by calculating the minimum distance between every robot link and return a matrix sized number of joints by number of joints where at element (i, j), it contains the minimum distance between link i and link j. In addition to that, it also implements the pybindings to expose this method through python and accordingly will return a numpy array.

Review guidelines

Estimated Time of Review: 7 minutes

Checklist before merging:

  • Confirm that the relevant changelog(s) are up-to-date in case of any user-facing changes

@yrh012 yrh012 self-assigned this Mar 15, 2024
yrh012 and others added 3 commits March 19, 2024 10:35
Co-authored-by: Dominic Reber <71256590+domire8@users.noreply.github.com>
source/robot_model/include/robot_model/Model.hpp Outdated Show resolved Hide resolved
source/robot_model/src/Model.cpp Outdated Show resolved Hide resolved
source/robot_model/src/Model.cpp Outdated Show resolved Hide resolved
yrh012 and others added 2 commits April 2, 2024 18:00
Co-authored-by: Dominic Reber <71256590+domire8@users.noreply.github.com>
Base automatically changed from feat/collision-detection-robot to develop April 3, 2024 09:05
Copy link
Member

@domire8 domire8 left a comment

Choose a reason for hiding this comment

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

Wrong format in Model.cpp and test_collisions.cpp. You can select the changes you made and then right click and Format Selection in the devcontainer

source/robot_model/src/Model.cpp Outdated Show resolved Hide resolved
Copy link
Member

@eeberhard eeberhard left a comment

Choose a reason for hiding this comment

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

Looking very good! Just some nitpicks

source/robot_model/src/Model.cpp Outdated Show resolved Hide resolved
source/robot_model/include/robot_model/Model.hpp Outdated Show resolved Hide resolved
source/robot_model/include/robot_model/Model.hpp Outdated Show resolved Hide resolved
yrh012 and others added 3 commits April 8, 2024 09:56
Co-authored-by: Enrico Eberhard <32450951+eeberhard@users.noreply.github.com>
…ogy/control-libraries into feat/integrate-min-distance
domire8
domire8 previously approved these changes Apr 8, 2024
Copy link
Member

@domire8 domire8 left a comment

Choose a reason for hiding this comment

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

🔥

@domire8 domire8 linked an issue Apr 8, 2024 that may be closed by this pull request
eeberhard
eeberhard previously approved these changes Apr 8, 2024
Copy link
Member

@eeberhard eeberhard left a comment

Choose a reason for hiding this comment

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

nice work!

@yrh012 yrh012 dismissed stale reviews from eeberhard and domire8 via 8d21227 April 8, 2024 15:21
@yrh012 yrh012 requested a review from domire8 April 8, 2024 15:21
eeberhard
eeberhard previously approved these changes Apr 8, 2024
@yrh012 yrh012 merged commit eaedccc into develop Apr 8, 2024
5 checks passed
@yrh012 yrh012 deleted the feat/integrate-min-distance branch April 8, 2024 15:36
@github-actions github-actions bot locked and limited conversation to collaborators Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate calculation of the minimum distance between robot links
4 participants