rviz_satellite package from rviz_satellite reporviz_satellite |
|
Package Summary
Tags | No category tags. |
Version | 4.1.0 |
License | Apache 2 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/nobleo/rviz_satellite.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2024-08-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Andre Schröder
- Marcel Zeilinger
Authors
- Gareth Cross
rviz_satellite
Rviz plugin for displaying satellite maps at the position of a sensor_msgs/msg/NavSatFix
message.
NOTE: Looking for the ROS1 version? Checkout the ros1 branch!
Usage
Add an instance of AerialMap
to your Rviz config and point it to a sensor_msgs/msg/NavSatFix
topic.
Map tiles will be cached to $HOME/.cache/rviz_satellite
.
At present the cache does not expire automatically - you should delete the files in the folder if you want the images to be reloaded.
Currently, the OpenStreetMap convention for tile URLs is supported. This e.g. implies that only raster tiles (no vector tiles) are supported.
To try a demo, run the following commands to make Rviz circle around a geo point you define.
ros2 launch rviz_satellite demo.launch.xml
You should see a view like the following. Here, the coordinates are 48.211486, 16.383982 (Vienna), using OpenStreetMap tiles.
Tile servers
You must provide a tile URL (Object URI) from which the satellite images are loaded.
The URL should have the form http://server.tld/{z}/{x}/{y}.jpg
.
Where the tokens {z}
, {x}
, {y}
represent the zoom level, x coordinate, and y coordinate respectively.
These will automatically be substituted by rviz_satellite when making HTTP requests.
Tiles can optionally be loaded from a local filesystem if downloaded beforehand
for cases where robots do not have internet access. For example, the file URI
file:///tmp/tile/{z}/{y}/{x}.jpg
can be used to load files from the /tmp/tile
directory.
rviz_satellite doesn’t come with any preconfigured tile URL. For example, you could use one of the following tile servers:
- OpenStreetMap: https://tile.openstreetmap.org/{z}/{x}/{y}.png
- TomTom: https://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png?tileSize=512&key=[TOKEN]
- Mapbox: https://api.mapbox.com/styles/v1/mapbox/satellite-v9/tiles/256/{z}/{x}/{y}?access_token=[TOKEN]
For some of these, you have to request an access token first. Please refer to the respective terms of service and copyrights.
Options
-
Topic
is the topic of the GPS measurements. -
Alpha
is simply the display transparency. -
Draw Under
will cause the map to be displayed below all other geometry. -
Zoom
is the zoom level of the map. Recommended values are 16-19, as anything smaller is very low resolution. 22 is the current max. -
Blocks
number of adjacent tiles in addition to the center tile to load, 8 maximum. -
Timeout
specifies a timeout since the last received message timestamp, after which the map will be faded out; disable by setting to 0.
Support and Contributions
In case of questions or problems, do not hesitate to open an issue.
Contributions are welcomed. Please add a summary of your changes to the changelog under the section Forthcoming.
Icon copyright
The icon was downloaded and edited from svgrepo, originally licensed under CC0.
Changelog for package rviz_satellite
4.1.0 (2024-08-27)
- Fix tile map not moving
- tiles: Add support for reading tiles from filesystem. (#121)
- Fix Demo
- Contributors: Jack Geissinger, Ramon Wijnands, Tim Clephas, Karl Schulz
4.0.0 (2023-02-20)
- ROS2 support!
- Contributors: Lee Hicks, Marcel Zeilinger, Tim Clephas, Vitaliy Bondar, ceranit
3.0.2 (2020-10-13)
- Fix time synchronization of NavSat transform lookup
3.0.1 (2020-08-03)
- Fix cleanup bug breaking the navsat-tile transforms (#84, #85)
3.0.0 (2020-05-26)
- Code cleanup (#76, #75)
- Remove the 'resolution' property (#74)
- Fix frame jitter by splitting map and fixed-frame transforms (#56)
- Cleanup cmake (#70)
- Remove NED and NWU frame conversion options
2.0.0 (2020-04-17)
- Drop Qt4 support
1.3.0 (2020-04-17)
- Fix setting the fixed frame
- Fix race when reading the blocks property
- Set tile fetching preference to cache
- Remove the robot frame property. Instead use the frame from the NavSatFix topic
- Fix demo.launch
- Fix uninitialized variable
1.2.0 (2019-03-07)
- Rewrite of the tile loader
- Display an error if the tile server is invalid
- Move map towards the robot's z-position
- Use XDG cache path for caching tiles
- Incorporate orientation of tile frame when rendering map
1.1.0 (2018-12-04)
- Integrate package version via CMake
- Detect Qt 5 automatically, adding support for ROS Lunar, Melodic, et al
- Remove unused opencv linking
1.0.0 (2018-11-08)
- Initial release
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
ament_cmake_gtest | |
ament_lint_auto | |
ament_lint_common | |
angles | |
rclcpp | |
rcpputils | |
rviz_common | |
rviz_default_plugins | |
sensor_msgs | |
tf2_ros |
System Dependencies
Name |
---|
qtbase5-dev |
Dependant Packages
Name | Deps |
---|---|
etsi_its_rviz_plugins |
Launch files
- demo/demo.launch.xml
- rviz2 -d $(ros2 pkg prefix - -share rviz_satellite)/launch/demo.rviz ros2 run rviz_satellite publish_demo_data.py LATITUDE LONGITUDE
-
Messages
Services
Plugins
Recent questions tagged rviz_satellite at Robotics Stack Exchange
rviz_satellite package from rviz_satellite reporviz_satellite |
|
Package Summary
Tags | No category tags. |
Version | 4.1.0 |
License | Apache 2 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/nobleo/rviz_satellite.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2024-08-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Andre Schröder
- Marcel Zeilinger
Authors
- Gareth Cross
rviz_satellite
Rviz plugin for displaying satellite maps at the position of a sensor_msgs/msg/NavSatFix
message.
NOTE: Looking for the ROS1 version? Checkout the ros1 branch!
Usage
Add an instance of AerialMap
to your Rviz config and point it to a sensor_msgs/msg/NavSatFix
topic.
Map tiles will be cached to $HOME/.cache/rviz_satellite
.
At present the cache does not expire automatically - you should delete the files in the folder if you want the images to be reloaded.
Currently, the OpenStreetMap convention for tile URLs is supported. This e.g. implies that only raster tiles (no vector tiles) are supported.
To try a demo, run the following commands to make Rviz circle around a geo point you define.
ros2 launch rviz_satellite demo.launch.xml
You should see a view like the following. Here, the coordinates are 48.211486, 16.383982 (Vienna), using OpenStreetMap tiles.
Tile servers
You must provide a tile URL (Object URI) from which the satellite images are loaded.
The URL should have the form http://server.tld/{z}/{x}/{y}.jpg
.
Where the tokens {z}
, {x}
, {y}
represent the zoom level, x coordinate, and y coordinate respectively.
These will automatically be substituted by rviz_satellite when making HTTP requests.
Tiles can optionally be loaded from a local filesystem if downloaded beforehand
for cases where robots do not have internet access. For example, the file URI
file:///tmp/tile/{z}/{y}/{x}.jpg
can be used to load files from the /tmp/tile
directory.
rviz_satellite doesn’t come with any preconfigured tile URL. For example, you could use one of the following tile servers:
- OpenStreetMap: https://tile.openstreetmap.org/{z}/{x}/{y}.png
- TomTom: https://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png?tileSize=512&key=[TOKEN]
- Mapbox: https://api.mapbox.com/styles/v1/mapbox/satellite-v9/tiles/256/{z}/{x}/{y}?access_token=[TOKEN]
For some of these, you have to request an access token first. Please refer to the respective terms of service and copyrights.
Options
-
Topic
is the topic of the GPS measurements. -
Alpha
is simply the display transparency. -
Draw Under
will cause the map to be displayed below all other geometry. -
Zoom
is the zoom level of the map. Recommended values are 16-19, as anything smaller is very low resolution. 22 is the current max. -
Blocks
number of adjacent tiles in addition to the center tile to load, 8 maximum. -
Timeout
specifies a timeout since the last received message timestamp, after which the map will be faded out; disable by setting to 0.
Support and Contributions
In case of questions or problems, do not hesitate to open an issue.
Contributions are welcomed. Please add a summary of your changes to the changelog under the section Forthcoming.
Icon copyright
The icon was downloaded and edited from svgrepo, originally licensed under CC0.
Changelog for package rviz_satellite
4.1.0 (2024-08-27)
- Fix tile map not moving
- tiles: Add support for reading tiles from filesystem. (#121)
- Fix Demo
- Contributors: Jack Geissinger, Ramon Wijnands, Tim Clephas, Karl Schulz
4.0.0 (2023-02-20)
- ROS2 support!
- Contributors: Lee Hicks, Marcel Zeilinger, Tim Clephas, Vitaliy Bondar, ceranit
3.0.2 (2020-10-13)
- Fix time synchronization of NavSat transform lookup
3.0.1 (2020-08-03)
- Fix cleanup bug breaking the navsat-tile transforms (#84, #85)
3.0.0 (2020-05-26)
- Code cleanup (#76, #75)
- Remove the 'resolution' property (#74)
- Fix frame jitter by splitting map and fixed-frame transforms (#56)
- Cleanup cmake (#70)
- Remove NED and NWU frame conversion options
2.0.0 (2020-04-17)
- Drop Qt4 support
1.3.0 (2020-04-17)
- Fix setting the fixed frame
- Fix race when reading the blocks property
- Set tile fetching preference to cache
- Remove the robot frame property. Instead use the frame from the NavSatFix topic
- Fix demo.launch
- Fix uninitialized variable
1.2.0 (2019-03-07)
- Rewrite of the tile loader
- Display an error if the tile server is invalid
- Move map towards the robot's z-position
- Use XDG cache path for caching tiles
- Incorporate orientation of tile frame when rendering map
1.1.0 (2018-12-04)
- Integrate package version via CMake
- Detect Qt 5 automatically, adding support for ROS Lunar, Melodic, et al
- Remove unused opencv linking
1.0.0 (2018-11-08)
- Initial release
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
ament_cmake_gtest | |
ament_lint_auto | |
ament_lint_common | |
angles | |
rclcpp | |
rcpputils | |
rviz_common | |
rviz_default_plugins | |
sensor_msgs | |
tf2_ros |
System Dependencies
Name |
---|
qtbase5-dev |
Dependant Packages
Name | Deps |
---|---|
etsi_its_rviz_plugins |
Launch files
- demo/demo.launch.xml
- rviz2 -d $(ros2 pkg prefix - -share rviz_satellite)/launch/demo.rviz ros2 run rviz_satellite publish_demo_data.py LATITUDE LONGITUDE
-
Messages
Services
Plugins
Recent questions tagged rviz_satellite at Robotics Stack Exchange
rviz_satellite package from rviz_satellite reporviz_satellite |
|
Package Summary
Tags | No category tags. |
Version | 4.1.0 |
License | Apache 2 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/nobleo/rviz_satellite.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2024-08-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Andre Schröder
- Marcel Zeilinger
Authors
- Gareth Cross
rviz_satellite
Rviz plugin for displaying satellite maps at the position of a sensor_msgs/msg/NavSatFix
message.
NOTE: Looking for the ROS1 version? Checkout the ros1 branch!
Usage
Add an instance of AerialMap
to your Rviz config and point it to a sensor_msgs/msg/NavSatFix
topic.
Map tiles will be cached to $HOME/.cache/rviz_satellite
.
At present the cache does not expire automatically - you should delete the files in the folder if you want the images to be reloaded.
Currently, the OpenStreetMap convention for tile URLs is supported. This e.g. implies that only raster tiles (no vector tiles) are supported.
To try a demo, run the following commands to make Rviz circle around a geo point you define.
ros2 launch rviz_satellite demo.launch.xml
You should see a view like the following. Here, the coordinates are 48.211486, 16.383982 (Vienna), using OpenStreetMap tiles.
Tile servers
You must provide a tile URL (Object URI) from which the satellite images are loaded.
The URL should have the form http://server.tld/{z}/{x}/{y}.jpg
.
Where the tokens {z}
, {x}
, {y}
represent the zoom level, x coordinate, and y coordinate respectively.
These will automatically be substituted by rviz_satellite when making HTTP requests.
Tiles can optionally be loaded from a local filesystem if downloaded beforehand
for cases where robots do not have internet access. For example, the file URI
file:///tmp/tile/{z}/{y}/{x}.jpg
can be used to load files from the /tmp/tile
directory.
rviz_satellite doesn’t come with any preconfigured tile URL. For example, you could use one of the following tile servers:
- OpenStreetMap: https://tile.openstreetmap.org/{z}/{x}/{y}.png
- TomTom: https://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png?tileSize=512&key=[TOKEN]
- Mapbox: https://api.mapbox.com/styles/v1/mapbox/satellite-v9/tiles/256/{z}/{x}/{y}?access_token=[TOKEN]
For some of these, you have to request an access token first. Please refer to the respective terms of service and copyrights.
Options
-
Topic
is the topic of the GPS measurements. -
Alpha
is simply the display transparency. -
Draw Under
will cause the map to be displayed below all other geometry. -
Zoom
is the zoom level of the map. Recommended values are 16-19, as anything smaller is very low resolution. 22 is the current max. -
Blocks
number of adjacent tiles in addition to the center tile to load, 8 maximum. -
Timeout
specifies a timeout since the last received message timestamp, after which the map will be faded out; disable by setting to 0.
Support and Contributions
In case of questions or problems, do not hesitate to open an issue.
Contributions are welcomed. Please add a summary of your changes to the changelog under the section Forthcoming.
Icon copyright
The icon was downloaded and edited from svgrepo, originally licensed under CC0.
Changelog for package rviz_satellite
4.1.0 (2024-08-27)
- Fix tile map not moving
- tiles: Add support for reading tiles from filesystem. (#121)
- Fix Demo
- Contributors: Jack Geissinger, Ramon Wijnands, Tim Clephas, Karl Schulz
4.0.0 (2023-02-20)
- ROS2 support!
- Contributors: Lee Hicks, Marcel Zeilinger, Tim Clephas, Vitaliy Bondar, ceranit
3.0.2 (2020-10-13)
- Fix time synchronization of NavSat transform lookup
3.0.1 (2020-08-03)
- Fix cleanup bug breaking the navsat-tile transforms (#84, #85)
3.0.0 (2020-05-26)
- Code cleanup (#76, #75)
- Remove the 'resolution' property (#74)
- Fix frame jitter by splitting map and fixed-frame transforms (#56)
- Cleanup cmake (#70)
- Remove NED and NWU frame conversion options
2.0.0 (2020-04-17)
- Drop Qt4 support
1.3.0 (2020-04-17)
- Fix setting the fixed frame
- Fix race when reading the blocks property
- Set tile fetching preference to cache
- Remove the robot frame property. Instead use the frame from the NavSatFix topic
- Fix demo.launch
- Fix uninitialized variable
1.2.0 (2019-03-07)
- Rewrite of the tile loader
- Display an error if the tile server is invalid
- Move map towards the robot's z-position
- Use XDG cache path for caching tiles
- Incorporate orientation of tile frame when rendering map
1.1.0 (2018-12-04)
- Integrate package version via CMake
- Detect Qt 5 automatically, adding support for ROS Lunar, Melodic, et al
- Remove unused opencv linking
1.0.0 (2018-11-08)
- Initial release
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
ament_cmake_gtest | |
ament_lint_auto | |
ament_lint_common | |
angles | |
rclcpp | |
rcpputils | |
rviz_common | |
rviz_default_plugins | |
sensor_msgs | |
tf2_ros |
System Dependencies
Name |
---|
qtbase5-dev |
Dependant Packages
Name | Deps |
---|---|
etsi_its_rviz_plugins |
Launch files
- demo/demo.launch.xml
- rviz2 -d $(ros2 pkg prefix - -share rviz_satellite)/launch/demo.rviz ros2 run rviz_satellite publish_demo_data.py LATITUDE LONGITUDE
-
Messages
Services
Plugins
Recent questions tagged rviz_satellite at Robotics Stack Exchange
rviz_satellite package from rviz_satellite reporviz_satellite |
|
Package Summary
Tags | No category tags. |
Version | 3.1.0 |
License | Apache 2 |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/nobleo/rviz_satellite.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2023-05-01 |
Dev Status | MAINTAINED |
CI status | Continuous Integration : 0 / 0 |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Tim Clephas
Authors
- Gareth Cross
- Andre Schröder
rviz_satellite
Plugin for rviz for displaying satellite maps loaded from the internet.
In the near future this plugin will not add support for ROS 2. For an unofficial ROS 2 fork see blacksoul000/rviz_satellite.
In order to use rviz_satellite, add this package to your catkin workspace.
Demo
The package contains a launch file for demonstration purposes. Use it to verify your installation and to get started:
roslaunch rviz_satellite demo.launch
The launch file will fake a GPS position in Philadelphia, USA and display Wikimedia Maps nearby.
You can edit the longitude and latitude values in launch/demo.gps
to change the position.
Check the Usage section below to learn how to use the position of your robot and a satellite map.
See demo file launch/demo_utm.launch
for an example of using this plugin in the UTM frame
mode (see below).
Usage
Add an instance of AerialMapDisplay
to your rviz config.
The Topic
field must point to a publisher of sensor_msgs/NavSatFix
.
Map tiles will be cached to $HOME/.cache/rviz_satellite
.
At present the cache does not expire automatically - you should delete the files in the folder if you want the images to be reloaded.
Currently, we only support the OpenStreetMap convention for tile URLs. This e.g. implies that only raster tiles (no vector tiles) are supported.
Transformation of tiles to RViz fixed frame can be done in two ways that are configured using Map Transform Type
option:
- Specify a
Map frame
, which is an ENU-oriented frame in which your robot localizes. This mode expects that the frame of the subscribedNavSatFix
messages is consistent with the measured latitude/longitude in this map frame. In this mode, the tiles go through an intermediate transform to the map frame. - Specify
UTM frame
(and possiblyUTM zone
). In this mode, no map frame is required and the tiles are directly placed on their UTM positions. This mode expects UTM frame is represented in your transform tree. The subscribedNavSatFix
messages are only used to determine the tiles to download, so small inconsistencies between theNavSatFix
frame and the measured latitude/longitude is not a big problem. In this mode, you can also change the XY and Z position references from theNavSatFix
message to a TF frame. This means the point around which the tiles are displayed is determined by UTM pose of the specified frame instead of theNavSatFix
messages.
Tile servers
You must provide a tile URL (Object URI) from which the satellite images are loaded.
The URL should have the form http://server.tld/{z}/{x}/{y}.jpg
.
Where the tokens {z}
, {x}
, {y}
represent the zoom level, x coordinate, and y coordinate respectively. If your API requires a pair of latitude and longitude values instead of x and y tile coordinates, use an URL of the form http://server.tld/{z}/{lat}/{lon}.jpg
, where {lat}
and {lon}
represent the latitude and longitude values of the requested location. All these will automatically be substituted by rviz_satellite when making HTTP requests.
rviz_satellite doesn’t come with any preconfigured tile URL. For example, you could use one of the following tile servers:
- OpenStreetMap: https://tile.openstreetmap.org/{z}/{x}/{y}.png
- TomTom: https://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png?tileSize=512&key=[TOKEN]
- Mapbox: https://api.mapbox.com/styles/v1/mapbox/satellite-v9/tiles/256/{z}/{x}/{y}?access_token=[TOKEN]
- GoogleMaps: https://maps.googleapis.com/maps/api/staticmap?maptype=satellite¢er={lat},{lon}&zoom={z}&size=256x256&key=[TOKEN]
For some of these, you have to request an access token first. Please refer to the respective terms of service and copyrights.
Options
-
Topic
is the topic of the GPS measurements. -
Map Transform Type
selects between theMap frame
mode andUTM frame
mode (see sectionUsage
). -
Alpha
is simply the display transparency. -
Draw Under
will cause the map to be displayed below all other geometry. -
Zoom
is the zoom level of the map. Recommended values are 16-19, as anything smaller is very low resolution. 22 is the current max. -
Blocks
number of adjacent blocks to load. rviz_satellite will load the central block, and this many blocks around the center. 8 is the current max. -
Z Offset
specifies offset of the displayed tiles in the Z coordinate from their default pose (in meters).
Options available in Map frame
mode
-
Map Frame
is the map frame rigidly attached to the world with ENU convention.
Options available in UTM frame
mode
-
UTM Frame
is the frame that represents UTM coordinate frame. -
UTM Zone
is the zone used by theUTM frame
. Value-1
triggers autodetection of zone and this property is then overridden with the autodetected zone. -
XY Position Reference
specifies how to determine the point around which tiles are centered. It can be either<NavSatFix Message>
, which uses global coordinates from the received fix messages. Or it can be a TF frame name. In such case, the tiles are centered around the XY position of the specified frame in UTM coordinates.- Please note that selecting the UTM frame for this reference is invalid. Position of the UTM frame in UTM is
(0, 0)
, which is an invalid UTM coordinate (supported range is 100 km - 900 km in most zones).
- Please note that selecting the UTM frame for this reference is invalid. Position of the UTM frame in UTM is
-
Z Position Reference
specifies how to determine the Z coordinate of the displayed tiles. The meaning of the values is similar toXY Position Reference
.Z Offset
is applied after computing the reference height.
Support and Contributions
In case of questions or problems, do not hesitate to open an issue.
Contributions are welcomed. Please add a summary of your changes to the changelog under the section Forthcoming.
Changelog for package rviz_satellite
3.1.0 (2023-02-20)
- Add possibility to specify TF frames as position reference in UTM mode.
- Turn map and UTM selection UI into TfFrameProperty.
- Simplify UTM frame mode integration.
- Improved map transform type wording.
- Added UTM frame mode.
- Added option to configure the map frame.
- Added missing header file
3.0.3 (2021-01-19)
- Pragmatic URI check
- Enable catkin_lint in CI
- Enable ros industrial CI
- Update maintainer info
3.0.2 (2020-10-13)
- Fix time synchronization of NavSat transform lookup
3.0.1 (2020-08-03)
- Fix cleanup bug breaking the navsat-tile transforms (#84, #85)
3.0.0 (2020-05-26)
- Code cleanup (#76, #75)
- Remove the 'resolution' property (#74)
- Fix frame jitter by splitting map and fixed-frame transforms (#56)
- Cleanup cmake (#70)
- Remove NED and NWU frame conversion options
2.0.0 (2020-04-17)
- Drop Qt4 support
1.3.0 (2020-04-17)
- Fix setting the fixed frame
- Fix race when reading the blocks property
- Set tile fetching preference to cache
- Remove the robot frame property. Instead use the frame from the NavSatFix topic
- Fix demo.launch
- Fix uninitialized variable
1.2.0 (2019-03-07)
- Rewrite of the tile loader
- Display an error if the tile server is invalid
- Move map towards the robot's z-position
- Use XDG cache path for caching tiles
- Incorporate orientation of tile frame when rendering map
1.1.0 (2018-12-04)
- Integrate package version via CMake
- Detect Qt 5 automatically, adding support for ROS Lunar, Melodic, et al
- Remove unused opencv linking
1.0.0 (2018-11-08)
- Initial release
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
roscpp | |
rviz | |
sensor_msgs | |
tf2 | |
tf2_geometry_msgs | |
catkin | |
tf2_ros |
System Dependencies
Name |
---|
geographiclib |
qtbase5-dev |
Dependant Packages
Name | Deps |
---|---|
etsi_its_rviz_plugins |
Messages
Services
Plugins
Recent questions tagged rviz_satellite at Robotics Stack Exchange
rviz_satellite package from rviz_satellite reporviz_satellite |
|
Package Summary
Tags | No category tags. |
Version | 3.1.0 |
License | Apache 2 |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/nobleo/rviz_satellite.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2023-05-01 |
Dev Status | MAINTAINED |
CI status | Continuous Integration : 0 / 0 |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Tim Clephas
Authors
- Gareth Cross
- Andre Schröder
rviz_satellite
Plugin for rviz for displaying satellite maps loaded from the internet.
In the near future this plugin will not add support for ROS 2. For an unofficial ROS 2 fork see blacksoul000/rviz_satellite.
In order to use rviz_satellite, add this package to your catkin workspace.
Demo
The package contains a launch file for demonstration purposes. Use it to verify your installation and to get started:
roslaunch rviz_satellite demo.launch
The launch file will fake a GPS position in Philadelphia, USA and display Wikimedia Maps nearby.
You can edit the longitude and latitude values in launch/demo.gps
to change the position.
Check the Usage section below to learn how to use the position of your robot and a satellite map.
See demo file launch/demo_utm.launch
for an example of using this plugin in the UTM frame
mode (see below).
Usage
Add an instance of AerialMapDisplay
to your rviz config.
The Topic
field must point to a publisher of sensor_msgs/NavSatFix
.
Map tiles will be cached to $HOME/.cache/rviz_satellite
.
At present the cache does not expire automatically - you should delete the files in the folder if you want the images to be reloaded.
Currently, we only support the OpenStreetMap convention for tile URLs. This e.g. implies that only raster tiles (no vector tiles) are supported.
Transformation of tiles to RViz fixed frame can be done in two ways that are configured using Map Transform Type
option:
- Specify a
Map frame
, which is an ENU-oriented frame in which your robot localizes. This mode expects that the frame of the subscribedNavSatFix
messages is consistent with the measured latitude/longitude in this map frame. In this mode, the tiles go through an intermediate transform to the map frame. - Specify
UTM frame
(and possiblyUTM zone
). In this mode, no map frame is required and the tiles are directly placed on their UTM positions. This mode expects UTM frame is represented in your transform tree. The subscribedNavSatFix
messages are only used to determine the tiles to download, so small inconsistencies between theNavSatFix
frame and the measured latitude/longitude is not a big problem. In this mode, you can also change the XY and Z position references from theNavSatFix
message to a TF frame. This means the point around which the tiles are displayed is determined by UTM pose of the specified frame instead of theNavSatFix
messages.
Tile servers
You must provide a tile URL (Object URI) from which the satellite images are loaded.
The URL should have the form http://server.tld/{z}/{x}/{y}.jpg
.
Where the tokens {z}
, {x}
, {y}
represent the zoom level, x coordinate, and y coordinate respectively. If your API requires a pair of latitude and longitude values instead of x and y tile coordinates, use an URL of the form http://server.tld/{z}/{lat}/{lon}.jpg
, where {lat}
and {lon}
represent the latitude and longitude values of the requested location. All these will automatically be substituted by rviz_satellite when making HTTP requests.
rviz_satellite doesn’t come with any preconfigured tile URL. For example, you could use one of the following tile servers:
- OpenStreetMap: https://tile.openstreetmap.org/{z}/{x}/{y}.png
- TomTom: https://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png?tileSize=512&key=[TOKEN]
- Mapbox: https://api.mapbox.com/styles/v1/mapbox/satellite-v9/tiles/256/{z}/{x}/{y}?access_token=[TOKEN]
- GoogleMaps: https://maps.googleapis.com/maps/api/staticmap?maptype=satellite¢er={lat},{lon}&zoom={z}&size=256x256&key=[TOKEN]
For some of these, you have to request an access token first. Please refer to the respective terms of service and copyrights.
Options
-
Topic
is the topic of the GPS measurements. -
Map Transform Type
selects between theMap frame
mode andUTM frame
mode (see sectionUsage
). -
Alpha
is simply the display transparency. -
Draw Under
will cause the map to be displayed below all other geometry. -
Zoom
is the zoom level of the map. Recommended values are 16-19, as anything smaller is very low resolution. 22 is the current max. -
Blocks
number of adjacent blocks to load. rviz_satellite will load the central block, and this many blocks around the center. 8 is the current max. -
Z Offset
specifies offset of the displayed tiles in the Z coordinate from their default pose (in meters).
Options available in Map frame
mode
-
Map Frame
is the map frame rigidly attached to the world with ENU convention.
Options available in UTM frame
mode
-
UTM Frame
is the frame that represents UTM coordinate frame. -
UTM Zone
is the zone used by theUTM frame
. Value-1
triggers autodetection of zone and this property is then overridden with the autodetected zone. -
XY Position Reference
specifies how to determine the point around which tiles are centered. It can be either<NavSatFix Message>
, which uses global coordinates from the received fix messages. Or it can be a TF frame name. In such case, the tiles are centered around the XY position of the specified frame in UTM coordinates.- Please note that selecting the UTM frame for this reference is invalid. Position of the UTM frame in UTM is
(0, 0)
, which is an invalid UTM coordinate (supported range is 100 km - 900 km in most zones).
- Please note that selecting the UTM frame for this reference is invalid. Position of the UTM frame in UTM is
-
Z Position Reference
specifies how to determine the Z coordinate of the displayed tiles. The meaning of the values is similar toXY Position Reference
.Z Offset
is applied after computing the reference height.
Support and Contributions
In case of questions or problems, do not hesitate to open an issue.
Contributions are welcomed. Please add a summary of your changes to the changelog under the section Forthcoming.
Changelog for package rviz_satellite
3.1.0 (2023-02-20)
- Add possibility to specify TF frames as position reference in UTM mode.
- Turn map and UTM selection UI into TfFrameProperty.
- Simplify UTM frame mode integration.
- Improved map transform type wording.
- Added UTM frame mode.
- Added option to configure the map frame.
- Added missing header file
3.0.3 (2021-01-19)
- Pragmatic URI check
- Enable catkin_lint in CI
- Enable ros industrial CI
- Update maintainer info
3.0.2 (2020-10-13)
- Fix time synchronization of NavSat transform lookup
3.0.1 (2020-08-03)
- Fix cleanup bug breaking the navsat-tile transforms (#84, #85)
3.0.0 (2020-05-26)
- Code cleanup (#76, #75)
- Remove the 'resolution' property (#74)
- Fix frame jitter by splitting map and fixed-frame transforms (#56)
- Cleanup cmake (#70)
- Remove NED and NWU frame conversion options
2.0.0 (2020-04-17)
- Drop Qt4 support
1.3.0 (2020-04-17)
- Fix setting the fixed frame
- Fix race when reading the blocks property
- Set tile fetching preference to cache
- Remove the robot frame property. Instead use the frame from the NavSatFix topic
- Fix demo.launch
- Fix uninitialized variable
1.2.0 (2019-03-07)
- Rewrite of the tile loader
- Display an error if the tile server is invalid
- Move map towards the robot's z-position
- Use XDG cache path for caching tiles
- Incorporate orientation of tile frame when rendering map
1.1.0 (2018-12-04)
- Integrate package version via CMake
- Detect Qt 5 automatically, adding support for ROS Lunar, Melodic, et al
- Remove unused opencv linking
1.0.0 (2018-11-08)
- Initial release
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
roscpp | |
rviz | |
sensor_msgs | |
tf2 | |
tf2_geometry_msgs | |
catkin | |
tf2_ros |
System Dependencies
Name |
---|
geographiclib |
qtbase5-dev |