Comments (4)
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.
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 betweenmap
andfixed_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.
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.
I can confirm this bug and will fix it as soon as possible.
from rviz_satellite.
Related Issues (20)
- ERROR: Not enough arguments HOT 2
- Failed to load plugin 'AerialMapDisplay' HOT 6
- sample.bag not showing path
- The plugin for class 'rviz_plugins/AerialMapDisplay' failed to load. HOT 6
- Fail to complie on kinetic HOT 2
- [ROS2] MAP_FRAME hardcoded to "map"
- 100% CPU usage
- About source frame error.
- Drawn map is shaking with map as fixed frame
- Error: Unable to decode image at http://a.tiles.mapbox.com
- Adding SLAM maps is inconsistent with Google Maps HOT 4
- RVIZ crash while I change the {x}{y}{z} in tile URL HOT 3
- can't launch demo in ros2 HOT 2
- ros2 qos incompatible HOT 1
- Dynamically reload option HOT 1
- Error transferring https://maps.wikimedia.org/osm-intl/18/76323/99291.png HOT 1
- ROS 2 Jazzy HOT 3
- [BUG] Tiles are shifting when the robot moves from one tile to the next tile HOT 9
- Load images from computer HOT 1
- ROS2 support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rviz_satellite.