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(api): added gnss type data to PositionService #5381

Merged
merged 13 commits into from
Oct 3, 2024

Conversation

sfiorani
Copy link
Contributor

This PR introduces a new API to the PositionService: its aim is to provide information about the GNSS Type used to retrieve the position data

Related Issue:

Description of the solution adopted:

Screenshots:

Manual Tests:

Any side note on the changes made:

@sfiorani sfiorani marked this pull request as ready for review October 2, 2024 07:32
@mattdibi mattdibi self-requested a review October 2, 2024 09:06
Copy link
Contributor

@mattdibi mattdibi left a comment

Choose a reason for hiding this comment

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

LGTM overall, some clarification here and there

Copy link
Contributor

@mattdibi mattdibi left a comment

Choose a reason for hiding this comment

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

LGTM.

Tested on Dy1014 with GPSD.

@mattdibi
Copy link
Contributor

mattdibi commented Oct 2, 2024

@sfiorani remember to open the issue for the known issue about the GNSSType reliability for GPSD Position Provider.

@mattdibi mattdibi merged commit 51fcd57 into eclipse-kura:develop Oct 3, 2024
3 checks passed
@eclipse-kura-bot
Copy link

The backport to release-5.6.0 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-5.6.0 release-5.6.0
# Navigate to the new working tree
cd .worktrees/backport-release-5.6.0
# Create a new branch
git switch --create backport-5381-to-release-5.6.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 51fcd57437af67f22809b24ccc116b52c347c336
# Push it to GitHub
git push --set-upstream origin backport-5381-to-release-5.6.0
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-5.6.0

Then, create a pull request where the base branch is release-5.6.0 and the compare/head branch is backport-5381-to-release-5.6.0.

sfiorani added a commit to sfiorani/kura that referenced this pull request Oct 3, 2024
* feat(api): added gnss type data to PositionService

Signed-off-by: SimoneFiorani <[email protected]>

* test: added tests

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: moved GNSSType enum to api bundle

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: removed testing logger

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: refactored gnsstype

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: updated with suggestions

Signed-off-by: SimoneFiorani <[email protected]>

* fix: fixed line length

Signed-off-by: SimoneFiorani <[email protected]>

* Update kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/position/PositionService.java

Co-authored-by: Mattia Dal Ben <[email protected]>

* Update GNSSType.java

---------

Signed-off-by: SimoneFiorani <[email protected]>
Co-authored-by: Mattia Dal Ben <[email protected]>
(cherry picked from commit 51fcd57)
mattdibi pushed a commit that referenced this pull request Oct 4, 2024
…release-5.6.0] (#5407)

feat(api): added gnss type data to PositionService (#5381)

* feat(api): added gnss type data to PositionService

Signed-off-by: SimoneFiorani <[email protected]>

* test: added tests

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: moved GNSSType enum to api bundle

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: removed testing logger

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: refactored gnsstype

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: updated with suggestions

Signed-off-by: SimoneFiorani <[email protected]>

* fix: fixed line length

Signed-off-by: SimoneFiorani <[email protected]>

* Update kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/position/PositionService.java

Co-authored-by: Mattia Dal Ben <[email protected]>

* Update GNSSType.java

---------

Signed-off-by: SimoneFiorani <[email protected]>
Co-authored-by: Mattia Dal Ben <[email protected]>
(cherry picked from commit 51fcd57)
salvatore-coppola pushed a commit that referenced this pull request Oct 4, 2024
* feat(api): added gnss type data to PositionService

Signed-off-by: SimoneFiorani <[email protected]>

* test: added tests

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: moved GNSSType enum to api bundle

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: removed testing logger

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: refactored gnsstype

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: updated with suggestions

Signed-off-by: SimoneFiorani <[email protected]>

* fix: fixed line length

Signed-off-by: SimoneFiorani <[email protected]>

* Update kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/position/PositionService.java

Co-authored-by: Mattia Dal Ben <[email protected]>

* Update GNSSType.java

---------

Signed-off-by: SimoneFiorani <[email protected]>
Co-authored-by: Mattia Dal Ben <[email protected]>
MMaiero pushed a commit that referenced this pull request Dec 20, 2024
* feat(api): added gnss type data to PositionService

Signed-off-by: SimoneFiorani <[email protected]>

* test: added tests

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: moved GNSSType enum to api bundle

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: removed testing logger

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: refactored gnsstype

Signed-off-by: SimoneFiorani <[email protected]>

* refactor: updated with suggestions

Signed-off-by: SimoneFiorani <[email protected]>

* fix: fixed line length

Signed-off-by: SimoneFiorani <[email protected]>

* Update kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/position/PositionService.java

Co-authored-by: Mattia Dal Ben <[email protected]>

* Update GNSSType.java

---------

Signed-off-by: SimoneFiorani <[email protected]>
Co-authored-by: Mattia Dal Ben <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants