Giter Club home page Giter Club logo

Comments (4)

beetleskin avatar beetleskin commented on August 22, 2024

Hi Tobi, from the image alone its hard to judge what's going on there.

What'd be the ground-truth here, a trajectory on the "Blücherplatz" street? Could you provide an image with ground-truth in order to judge the error a bit better? Could you provide a video with tile-updates?

To narrow it down: What GPS sensor are you using, how good is the extrinsic calibration, how good is you tf-tree? What is the NavSatFix update rate? What's your gps-map tf frame update rate? Are you on latest master version? Are you following REP-105?

Lastly, in the most recent change I fixed some tf issues on our side: 0e8ff38 - but might have introduce other issues? Would you compare the commits and report any differences?

Further, one important mechanism of the plugin is: The RViz tile placement only happens when a NavSat message is received. At this very moment, the messages' latitude and logitude fields are tranformed into the map-frame. If there are any offsets in your tf-tree (or offsets between tf and gps) at this very moment, you will experience offsets until the next tile is loaded (which happens when you "leave" the current tile). Maybe that helps?

from rviz_satellite.

schra avatar schra commented on August 22, 2024

Will re-open this issue when there is feedback from OP. Closed to a lack of feedback for now

from rviz_satellite.

BRNKR avatar BRNKR commented on August 22, 2024

@schra
@beetleskin
sorry for my delayed answer.

back to my issue. i try to explain it again:

I have a set off GPS Coordinates (Latitude, Longitude) (generated in JOSM - OpenStreetMap Editor),
I use Mapbox for rviz_satellite and JOSM.
I chose one gps point as reference point,
i am using the husky simulation, I've set the Initial gps coordinate of the husky gazebo gps plugin to the reference point (map-frame).
i publish the GPS coordinates converted as XY referenced to map frame, which is the reference point (converted with https://github.com/bsb808/geonav_transform/blob/master/src/geonav_transform/geonav_conversions.py which is the same code as robot_localization is using in navsat_transform_node)

==> The GPS coordinates in RVIZ are in reference to the satellite image in a different place than in the OSM editor (see rectangles on ground)
rviz

josm

Now I wonder if the satellite representation in your plugin is wrong or the conversion used by robot_localization.
The deviation gets bigger the further you move away from the origin. Zoom Level 19 from mapbox does not work at all.

josm_rviz

from rviz_satellite.

qpc001 avatar qpc001 commented on August 22, 2024

@schra
@beetleskin
sorry for my delayed answer.

back to my issue. i try to explain it again:

I have a set off GPS Coordinates (Latitude, Longitude) (generated in JOSM - OpenStreetMap Editor),
I use Mapbox for rviz_satellite and JOSM.
I chose one gps point as reference point,
i am using the husky simulation, I've set the Initial gps coordinate of the husky gazebo gps plugin to the reference point (map-frame).
i publish the GPS coordinates converted as XY referenced to map frame, which is the reference point (converted with https://github.com/bsb808/geonav_transform/blob/master/src/geonav_transform/geonav_conversions.py which is the same code as robot_localization is using in navsat_transform_node)

==> The GPS coordinates in RVIZ are in reference to the satellite image in a different place than in the OSM editor (see rectangles on ground)
rviz

josm

Now I wonder if the satellite representation in your plugin is wrong or the conversion used by robot_localization.
The deviation gets bigger the further you move away from the origin. Zoom Level 19 from mapbox does not work at all.

josm_rviz

I think it's the problem with this plugin, because it's no problem when I use mapviz.

from rviz_satellite.

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.