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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AMCL implementation for ROS #327

Merged
merged 4 commits into from
Feb 21, 2024
Merged

Add AMCL implementation for ROS #327

merged 4 commits into from
Feb 21, 2024

Conversation

nahueespinosa
Copy link
Member

@nahueespinosa nahueespinosa commented Feb 19, 2024

Proposed changes

Wrapping up #279 work, this patch provides an implementation of the AMCL algorithm ready to work with ROS types.
The interface was tailored to beluga_amcl's needs, and that's why it is probably not ready to be part of beluga core just yet.

This also removes the beluga_amcl dependency from beluga_system_tests.

Type of change

  • 馃悰 Bugfix (change which fixes an issue)
  • 馃殌 Feature (change which adds functionality)
  • 馃摎 Documentation (change which fixes or extends documentation)

Checklist

  • Lint and unit tests (if any) pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • All commits have been signed for DCO

@nahueespinosa nahueespinosa self-assigned this Feb 19, 2024
@nahueespinosa nahueespinosa added enhancement New feature or request cpp Related to C++ code labels Feb 19, 2024
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@nahueespinosa nahueespinosa marked this pull request as ready for review February 20, 2024 00:01
Copy link
Collaborator

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

First pass.

beluga_ros/include/beluga_ros/amcl_impl.hpp Outdated Show resolved Hide resolved
beluga_ros/include/beluga_ros/amcl_impl.hpp Outdated Show resolved Hide resolved
beluga_ros/test/test_amcl_impl.cpp Outdated Show resolved Hide resolved
beluga_ros/include/beluga_ros/amcl_impl.hpp Outdated Show resolved Hide resolved
beluga_system_tests/test/test_system.cpp Outdated Show resolved Hide resolved
beluga_system_tests/test/test_system.cpp Show resolved Hide resolved
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@nahueespinosa nahueespinosa changed the title Add AMCL implementation to the beluga_ros package Add AMCL implementation for ROS Feb 20, 2024
beluga_ros/include/beluga_ros/amcl.hpp Outdated Show resolved Hide resolved
beluga_system_tests/test/test_system.cpp Show resolved Hide resolved
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@nahueespinosa nahueespinosa merged commit 65a32fc into main Feb 21, 2024
7 of 8 checks passed
@nahueespinosa nahueespinosa deleted the nahuel/add-amcl-impl branch February 21, 2024 12:50
nahueespinosa added a commit that referenced this pull request Feb 21, 2024
### Proposed changes

Builds on top of #327 to use the new range-based API through the `Amcl`
class. This also refactors the initialization and publishing logic a
bit. The code in the ROS 1 and ROS 2 implementations is more similar
now.

Related to #279.

#### Type of change

- [ ] 馃悰 Bugfix (change which fixes an issue)
- [x] 馃殌 Feature (change which adds functionality)
- [ ] 馃摎 Documentation (change which fixes or extends documentation)

馃挜 **Breaking change!** This removes mixins from all user-facing
implementations.

### Checklist

- [x] Lint and unit tests (if any) pass locally with my changes
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added necessary documentation (if appropriate)
- [x] All commits have been signed for
[DCO](https://developercertificate.org/)

---------

Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp Related to C++ code enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants