-
Notifications
You must be signed in to change notification settings - Fork 314
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
feat(api): added gnss type data to PositionService #5381
Conversation
Signed-off-by: SimoneFiorani <[email protected]>
Signed-off-by: SimoneFiorani <[email protected]>
Signed-off-by: SimoneFiorani <[email protected]>
Signed-off-by: SimoneFiorani <[email protected]>
Signed-off-by: SimoneFiorani <[email protected]>
There was a problem hiding this 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
kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/position/GNSSType.java
Outdated
Show resolved
Hide resolved
kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/position/PositionService.java
Outdated
Show resolved
Hide resolved
...rg.eclipse.kura.linux.position/src/main/java/org/eclipse/kura/linux/position/NMEAParser.java
Show resolved
Hide resolved
...rg.eclipse.kura.linux.position/src/main/java/org/eclipse/kura/linux/position/NMEAParser.java
Show resolved
Hide resolved
....kura.linux.position/src/main/java/org/eclipse/kura/linux/position/GpsdPositionProvider.java
Show resolved
Hide resolved
...rg.eclipse.kura.linux.position/src/main/java/org/eclipse/kura/linux/position/NMEAParser.java
Show resolved
Hide resolved
Signed-off-by: SimoneFiorani <[email protected]>
Signed-off-by: SimoneFiorani <[email protected]>
kura/org.eclipse.kura.api/src/main/java/org/eclipse/kura/position/PositionService.java
Outdated
Show resolved
Hide resolved
…ion/PositionService.java Co-authored-by: Mattia Dal Ben <[email protected]>
There was a problem hiding this 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.
@sfiorani remember to open the issue for the known issue about the GNSSType reliability for GPSD Position Provider. |
The backport to
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 |
* 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)
…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)
* 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]>
* 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]>
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: