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

Add uniform grid distribution #319

Merged
merged 8 commits into from
Feb 13, 2024
Merged

Add uniform grid distribution #319

merged 8 commits into from
Feb 13, 2024

Conversation

nahueespinosa
Copy link
Member

Proposed changes

Related to #279.

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

Additional comments

Existing sensor models were not changed, that can probably be done in a follow-up PR.

Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@nahueespinosa nahueespinosa self-assigned this Feb 10, 2024
@nahueespinosa nahueespinosa added enhancement New feature or request cpp Related to C++ code labels Feb 10, 2024
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/include/beluga/random/uniform_grid_distribution.hpp Outdated Show resolved Hide resolved
beluga/include/beluga/random/uniform_grid_distribution.hpp Outdated Show resolved Hide resolved
beluga_system_tests/test/test_system_new.cpp Outdated Show resolved Hide resolved
Random intersperse can take distributions now.

Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
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.

LGTM but for a few minor comments.

Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@hidmic
Copy link
Collaborator

hidmic commented Feb 13, 2024

@nahueespinosa I need this patch to wrap up the functional form sensor models :)

Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@nahueespinosa nahueespinosa merged commit f2717dc into main Feb 13, 2024
8 checks passed
@nahueespinosa nahueespinosa deleted the nahuel/map-distribution branch February 13, 2024 21:53
@hidmic
Copy link
Collaborator

hidmic commented Feb 13, 2024

@nahueespinosa BTW we are going to need a distribution for landmark maps as well 👀

@nahueespinosa
Copy link
Member Author

@hidmic Ah, yes. Noted, shouldn't be too hard.

@hidmic
Copy link
Collaborator

hidmic commented Feb 14, 2024

Ah, yes. Noted, shouldn't be too hard.

@nahueespinosa Will you, or should I?

@nahueespinosa
Copy link
Member Author

@hidmic I have no time today, if you have some cycles, please go ahead!

nahueespinosa added a commit that referenced this pull request Feb 17, 2024
### Proposed changes

A follow-up to #319, implementing multivariate uniform distributions
constrained by a bounding region. This is required for landmark maps
support.

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)

### 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.

2 participants