MapIV / eagleye

Precise localization based on GNSS and IMU.
BSD 3-Clause "New" or "Revised" License
654 stars 146 forks source link

How can I use Eagleye in MGRS coordinates #291

Open meliketanrikulu opened 1 year ago

meliketanrikulu commented 1 year ago

I want to see my position in MGRS coordinates. I changed this launch file configuration --> https://github.com/MapIV/eagleye/blob/94228d3b646b82d24e7d5565f819c82ed4113abc/eagleye_util/fix2pose/launch/fix2pose.launch.xml#L12C1-L12C1 (I set tf_num = 2). But its not working . I tested with example rosbag .

Here is my output: eagleye_MGRS You can see here '/eagleye/pose' topics output on terminal and RVIZ .

How can I get my position in MGRS coordinates.

rsasaki0109 commented 1 year ago

Is eagleye/fix outputting the correct latitude and longitude? I would like to see what the eagleye terminal output looks like.

meliketanrikulu commented 1 year ago

eagleye/fix output is looks correct. I convert UTM with local origin using eagleye/fix output (its blue line in the rviz screen) . It looks okey . But /eagleye/pose topic (its output of the fix2pose_node ) is not correct. And also here is the eagleye terminal output issue_eagleye

rsasaki0109 commented 1 year ago

There was a problem and it has been corrected. https://github.com/MapIV/eagleye/pull/295

The fix2pose node was dead in the following.

      std::cerr << "\033[31;1mError: Straddling over 3 grids is not supported.\033[m" << std::endl;

https://github.com/MapIV/llh_converter/blob/main/src/llh_converter.cpp#L453

meliketanrikulu commented 1 year ago

Now its not give result in this --> (eagleye/fix) topic. But still its still not working in MGRS coordinates.

rsasaki0109 commented 1 year ago

Is the fix2pose node dead? Could you check the fix2pose log file in the .ros directory to identify what the issue might be?