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

Make API / naming consistent for Frustum, Edge, Angle #329

Merged
merged 18 commits into from
Dec 28, 2021

Conversation

akshatpandya
Copy link
Contributor

🦟 Bug fix

Fixes #301

Summary

Making API consistent. Removing const from POD. Making sure getters are const. Other styling changes according to style guide.

Classes updated:

  1. Angle
  2. DiffDriveOdometry
  3. Filter
  4. Frustum
  5. GaussMarkovProcess
  6. graph/Edge
  7. graph/GraphAlgorithms
  8. graph/Graph
  9. graph/Vertex

1. Angle.cc

fix gazebosim#301

Signed-off-by: Akshat Pandya <[email protected]>
1. DiffDriveOdometry.cc
2. DiffDriveOdometry.hh

fix gazebosim#301

Signed-off-by: Akshat Pandya <[email protected]>
1. Angle.cc

fix gazebosim#301

Signed-off-by: Akshat Pandya <[email protected]>
1. DiffDriveOdometry.cc
2. DiffDriveOdometry.hh

fix gazebosim#301

Signed-off-by: Akshat Pandya <[email protected]>
@codecov
Copy link

codecov bot commented Dec 24, 2021

Codecov Report

Merging #329 (ded8bcc) into main (04a4c85) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #329   +/-   ##
=======================================
  Coverage   99.27%   99.27%           
=======================================
  Files          67       67           
  Lines        6077     6077           
=======================================
  Hits         6033     6033           
  Misses         44       44           
Impacted Files Coverage Δ
include/ignition/math/graph/Edge.hh 100.00% <100.00%> (ø)
src/Angle.cc 89.65% <100.00%> (ø)
src/DiffDriveOdometry.cc 90.78% <100.00%> (ø)
src/Frustum.cc 99.37% <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 04a4c85...ded8bcc. Read the comment docs.

Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Thanks, this is great! I just have one comment about POD on DiffDriveOdometry

include/ignition/math/DiffDriveOdometry.hh Outdated Show resolved Hide resolved
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Thanks!

@akshatpandya
Copy link
Contributor Author

Hi @chapulina I've made the change you mentioned. I'll move onto the remaining classes now.

@chapulina chapulina merged commit cf10674 into gazebosim:main Dec 28, 2021
@chapulina chapulina changed the title Akshatpandya/api consistent Make API / naming consistent for Frustum, Edge, Angle Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants