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

Feature/nmea to mgrs #1878

Closed
wants to merge 2 commits into from
Closed

Feature/nmea to mgrs #1878

wants to merge 2 commits into from

Conversation

mitsudome-r
Copy link
Member

Status

DEVELOPMENT

Description

Add conversion from nmea_sentence to MGRS xyz coordinate for
・fix2tfpose
・nmea2tfpose

Related Issues

autowarefoundation/autoware_ai#499

Todos

  • Tests
  • Documentation

Steps to Test or Reproduce

  1. rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO
  2. run runtime manager i.e. ./Autoware/ros/run
  3. click [app] in nmea2tfpose(fix2tfpose) and clock "use_mgrs"
  4. play rosbag

NOTE

Currently, only UTM is supported and it cannot convert nmea->MGRS near north or south pole.
New dependency to geodesy is added to geo_pos_conv library.

@amc-nu amc-nu requested review from kitsukawa and amc-nu January 11, 2019 12:31
Copy link
Member

@amc-nu amc-nu left a comment

Choose a reason for hiding this comment

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

This is a great addition @mitsudome-r
@kfunaoka can you please tell @mitsudome-r how to add unit tests before approving?
@kitsukawa could you check the conversion of the nmea messages?

@amc-nu
Copy link
Member

amc-nu commented Jan 11, 2019

@kfunaoka also please show him how to apply clang format.
Thanks

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.8.3)
project(gnss)

find_package(catkin REQUIRED COMPONENTS roscpp)
find_package(catkin REQUIRED COMPONENTS roscpp geodesy)
Copy link
Member

Choose a reason for hiding this comment

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

you'll need to add an IF to don't compile this on ARM architectures, this package is not available.

Copy link

@hakuturu583 hakuturu583 Jan 12, 2019

Choose a reason for hiding this comment

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

really?
I used geodesy in Jetson TX2 by using rosdep.

Copy link
Member

Choose a reason for hiding this comment

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

Then, please have a look at the log of GitlabCi which is failing the arm build.

@mitsudome-r
Copy link
Member Author

mitsudome-r commented Jan 15, 2019

Looks like #1305 does the similar conversion from lat/lon to mgrs xyz and is done without external package (although it is for pcd).
I've asked daifuku07 if he can make the functions into library so that I can use it for geo_pos_conv.

@mitsudome-r
Copy link
Member Author

For the time being, I will close this PR and create new one when the changes are made.
@amc-nu Thank you for your comments, and I will make sure that unit tests are added before the new PR.

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

Successfully merging this pull request may close these issues.

3 participants