Giter Club home page Giter Club logo

Comments (4)

OsamuSekino avatar OsamuSekino commented on August 17, 2024

Thank you for your interest.

So you want to run eagleye using a rosbag that contains GNSS data such as NMEA and IMU data?

The reason we use RTKLIB is that we want to use the raw data because of the inherent filters in the receiver.
It is not recommended to use the navigation calculation results output from the receiver as it may show unintended behavior.

If you really want the eagleye to work with data from the receiver, you'll need to modify the eagleye.

https://github.com/MapIV/eagleye/blob/master/eagleye_core/src/heading.cpp#L112
β†’For example, if it's NMEA data, put the azimuth of $GPVTG here. (rad)

https://github.com/MapIV/eagleye/blob/master/eagleye_core/src/velocity_scale_factor.cpp#L84
β†’For example, if it's NMEA data, put the ground speed of $GPVTG here. (m/s)

Publish the latitude and longitude altitude with the message type rtklib_msg::RtklibNav with the topic name /rtklib_nav.

After making these mods, eagleye should work if you enter the vehicle speed information(geometry_msgs::TwistStamped /can_twist) and IMU(sensor_msgs::Imu /imu/data_raw) data.

from eagleye.

mcomic avatar mcomic commented on August 17, 2024

Thanks for your reply.

Following your advice, I did some modifies and tests during these days.
Now I'm able to send data to eagleye_core from my ROS script, but I got 2 more problems.

  1. Data was received, but no localization output

ask1

The picture above is one step of the eagleye_core output after I sent my data.
What happening is:
->All the [status enable] is False.
->The position is not estimated.

I think the problem may cause by the data I use.
I've said that I have GNSS and IMU data before, but what I actually got are [Longitude, Latitude] and [vehicle velocity, acceleration of x, y, z] with the timestamp.

So about the code modify,
For https://github.com/MapIV/eagleye/blob/master/eagleye_core/src/heading.cpp#L112
-> I'm not sure what to put as azimuth here, therefore I didn't modify.
For https://github.com/MapIV/eagleye/blob/master/eagleye_core/src/velocity_scale_factor.cpp#L84
-> I put [vehicle velocity] in [ecef_vel.x] so the formula here will get [vehicle velocity] as the result.

And I've tried to lower the [estimated_velocity_threshold] and [estimated_number_min] in the eagleye_config.yaml file, still the same problem.

Could you spot what is the cause of no localization output?
(If more information is needed, please tell me.)

  1. Can not find output file.

This happens when I test with sample data either. After 100s of the test, I can not find any file that contains output data in eagleye_core folder and my catkin_ws root folder. And seems there is no further information about this in the Getting started documentation.
Could you please tell me where can I find the output file?

from eagleye.

OsamuSekino avatar OsamuSekino commented on August 17, 2024

Answer for 1.

I think the problem may cause by the data I use.
I've said that I have GNSS and IMU data before, but what I actually got are [Longitude, Latitude] and [vehicle velocity, acceleration of x, y, z] with the timestamp.

Estimated results are not output because eagleye does not have the necessary data.
GNSS => Time of Weeks(Or a time stamp.),Longitude, Latitude,Altitude,Velocity vector (azimuth,ground speed)
IMU => angular velocity of z
Vechicle => Speed
At a minimum, this information is required for eagleye. If it's not enough, no estimation result will be output.
Sorry, but this data does not work with the current eagleye.

Answer for 2.
If you want the output of the kml file, you can use
rosrun fix2kml fix2kml
This command must be executed. The output is kml.

from eagleye.

mcomic avatar mcomic commented on August 17, 2024

Thanks for your answer.
Pity to know the current data doesn't suit. I will check if there is a way to get the data that lacks.

from eagleye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.