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 NavSat (GPS) sensor #177

Merged
merged 14 commits into from
Jan 5, 2022
Merged

Add NavSat (GPS) sensor #177

merged 14 commits into from
Jan 5, 2022

Conversation

chapulina
Copy link
Contributor

@chapulina chapulina commented Dec 14, 2021

🎉 New feature

Part of

Supersedes

Requires

Required by

Summary

The fork for the original PR (#72) has been removed, so I can't push changes to that PR. I kept @Dotrar's commits in this branch, that's where most of the work is. The bulk of my changes are related to migrating from GPS to NavSat.

I retargeted this PR from Dome to Fortress because the GPS sensor will need to use spherical coordinates (see gazebosim/gz-sim#981).

Test it

Try the ign-gazebo PR: gazebosim/gz-sim#1248

  • Add tests to this PR

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

@github-actions github-actions bot added the 🔮 dome Ignition Dome label Dec 14, 2021
@chapulina chapulina changed the base branch from ign-sensors4 to ign-sensors6 December 14, 2021 00:29
@chapulina chapulina added 🏯 fortress Ignition Fortress and removed 🔮 dome Ignition Dome labels Dec 14, 2021
Dre Westcook and others added 6 commits December 13, 2021 16:30
Signed-off-by: Dre Westcook <[email protected]>
Signed-off-by: Dre Westcook <[email protected]>
Signed-off-by: Dre Westcook <[email protected]>
Signed-off-by: Dre Westcook <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
@chapulina chapulina added the needs upstream release Blocked by a release of an upstream library label Dec 14, 2021
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
@chapulina chapulina marked this pull request as ready for review December 23, 2021 02:23
@chapulina chapulina requested a review from iche033 as a code owner December 23, 2021 02:23
@chapulina chapulina requested a review from adlarkin December 23, 2021 02:24
Copy link
Contributor

@adlarkin adlarkin left a comment

Choose a reason for hiding this comment

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

Looks pretty good! I left mostly minor comments.

.gitignore Outdated Show resolved Hide resolved
include/ignition/sensors/NavSatSensor.hh Outdated Show resolved Hide resolved
include/ignition/sensors/NavSatSensor.hh Outdated Show resolved Hide resolved
include/ignition/sensors/NavSatSensor.hh Outdated Show resolved Hide resolved
include/ignition/sensors/NavSatSensor.hh Outdated Show resolved Hide resolved
test/integration/navsat.cc Show resolved Hide resolved
test/integration/navsat.cc Outdated Show resolved Hide resolved
test/integration/navsat.cc Outdated Show resolved Hide resolved
test/integration/navsat.cc Show resolved Hide resolved
test/integration/navsat.cc Show resolved Hide resolved
chapulina and others added 2 commits December 23, 2021 14:33
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Ashton Larkin <[email protected]>

Co-authored-by: Ashton Larkin <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
@chapulina
Copy link
Contributor Author

Thanks for the review, @adlarkin ! I've addressed all comments

@chapulina chapulina requested a review from adlarkin December 24, 2021 01:00
test/integration/navsat.cc Show resolved Hide resolved
@chapulina chapulina mentioned this pull request Jan 4, 2022
7 tasks
@chapulina chapulina removed the needs upstream release Blocked by a release of an upstream library label Jan 4, 2022
Signed-off-by: Louise Poubel <[email protected]>
@chapulina chapulina enabled auto-merge (squash) January 4, 2022 23:59
Signed-off-by: Louise Poubel <[email protected]>
@codecov
Copy link

codecov bot commented Jan 5, 2022

Codecov Report

Merging #177 (1e65194) into ign-sensors6 (16e52cc) will increase coverage by 0.51%.
The diff coverage is 89.81%.

Impacted file tree graph

@@               Coverage Diff                @@
##           ign-sensors6     #177      +/-   ##
================================================
+ Coverage         76.04%   76.55%   +0.51%     
================================================
  Files                27       29       +2     
  Lines              2763     2871     +108     
================================================
+ Hits               2101     2198      +97     
- Misses              662      673      +11     
Impacted Files Coverage Δ
src/NavSatSensor.cc 89.71% <89.71%> (ø)
include/ignition/sensors/NavSatSensor.hh 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 16e52cc...1e65194. Read the comment docs.

@chapulina chapulina merged commit 4015d87 into ign-sensors6 Jan 5, 2022
@chapulina chapulina deleted the chapulina/4/navsat branch January 5, 2022 00:36
@osrf-triage
Copy link

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants