Giter Club home page Giter Club logo

Comments (4)

RonaldEnsing avatar RonaldEnsing commented on August 22, 2024

See this commit [2] to allow any selectable fixed frame in rviz. This does require your tf tree to have a utm frame, also to get the orientation of the tile with respect to your robot.

In this commit, I've added a dependency on the robot_localization package for the conversions between utm and altitude/latitude. However, these conversion functions may as well be implemented in rviz_satellite as well, to avoid the dependency on the robot_localization package. In addition, I have only tested this with an ENU conforming frame (according to REP-105) [3]. For now, since I haven't tested this with e.g. NED/NWU, I removed the option to avoid confusion. The received NavSatFix message determines which tile to download, tf is used to place it in the right position and orientation in any selectable fixed frame.

[2] tud-cor@a8d2e20
[3] https://www.ros.org/reps/rep-0105.html

from rviz_satellite.

beetleskin avatar beetleskin commented on August 22, 2024

The fact that this plugin resets the fixed frame back to map every time I try to change the fixed frame is confusing.

Could you elaborate this a bit? How is the plugin resetting the fixed frame?

The AerialMapDisplay ensures that the visualization will be drawn with the right position and orientation after changing the fixed frame to map. However, I think it would be really useful to be able to visualize the AerialMapDisplay with the right position and orientation, for any other fixed frame as well. This would mean that the additional transformations have to be applied between map and fixed_frame_ to get the AerialMapDisplay on the right place.

You can already select any frame in RViz, the map will transform accordingly assumed that map is your UTM frame, i.e. is aligned as you define your global coordinate system (e.g. ENU).

from rviz_satellite.

RonaldEnsing avatar RonaldEnsing commented on August 22, 2024

Could you elaborate this a bit? How is the plugin resetting the fixed frame?

The fixed frame is set to map here https://github.com/gareth-cross/rviz_satellite/blob/master/src/aerialmap_display.cpp#L515

You can already select any frame in RViz, the map will transform accordingly assumed that map is your UTM frame, i.e. is aligned as you define your global coordinate system (e.g. ENU).

Removing that line would not be enough.

from rviz_satellite.

schra avatar schra commented on August 22, 2024

I can confirm this bug and will fix it as soon as possible.

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.