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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[backport Iron] Create bridge for GPSFix msg (#316) #537

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

ahcorde
Copy link
Collaborator

@ahcorde ahcorde commented Apr 15, 2024

馃帀 New feature

Summary

Related with this PR #316

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • 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 and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Vincent Rousseau <vincent.rousseau@sabi-agri.com>
Copy link
Contributor

@caguero caguero left a comment

Choose a reason for hiding this comment

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

Minor comments and fix DCO :)

ros_msg.track = atan2(gz_msg.velocity_north(), gz_msg.velocity_east());
ros_msg.climb = gz_msg.velocity_up();

// position_covariance is not supported in Ignition::Msgs::NavSat.
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: gz::msgs::

@@ -31,6 +31,7 @@ The following message types can be bridged for topics:
| geometry_msgs/msg/Twist | ignition::msgs::Twist |
| geometry_msgs/msg/TwistStamped | ignition::msgs::Twist |
| geometry_msgs/msg/TwistWithCovariance| ignition::msgs::TwistWithCovariance |
| gps_msgs/GPSFix | ignition.msgs.NavSat |
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we update the README and replace ignition with gz?

Copy link
Contributor

Choose a reason for hiding this comment

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

Since humble and iron officially support Fortress, we've been keeping the ignition name here. The formatting needs to be fixed though. :: instead of ..

Signed-off-by: Alejandro Hern谩ndez Cordero <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from caguero April 16, 2024 08:05
@ahcorde ahcorde merged commit d87d63d into iron Apr 16, 2024
7 checks passed
@ahcorde ahcorde deleted the ahcorde/iron/bp/316 branch April 16, 2024 13:00
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.

None yet

4 participants