-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map Tile Baselayer in Plot #687
Comments
I quickly added it to the code as it is just a oneliner for my purpose. If someone needs to do the same thing, just add the import
with the respective projection (UTM in this case) and zoom level as crs string. I did the call where the ros_map is applied as well. If you are willing to add this feature, one would need to have additional configuration options: |
Sounds like a neat add-on, the question would be for me how you would envision to use this in the command line interface.
I would say that it's probably easier to have a single flag, named for example So either...
I guess first one is more user friendly, as you probably don't want to specify/change the provider all the time.
We can have optional dependencies, so this is not a blocker. |
Sounds good! contextily figures out a good zoom level according to the requested size if none is given, so this could be optional as well.
Agreed!
Great! |
Since I don't have georeferenced data: do you have maybe a minimal example that you could share for testing? One random file with corresponding EPSG should be enough. The feature seems rather easy to add, but would be good to check if everything works as expected 😉 |
Sure, the file example_traj_tf_utm_baselink.txt produces the following output: when calling with I have other examples if required. |
Allows to add a map tile to the plot if the trajectory coordinates are geo-referenced. See feature request #687
Thanks for the data! I added the feature now: 29c20d0 (Release v1.30.0) Basic usage to get your example would be:
(for providers with API token also set
I would like to use your data as example data / plot for the documentation, would that be fine? |
Looks good, thanks a lot!
Sure, feel free to use the data and close the issue. |
Thanks a lot for this great tool!
Is your feature request related to a problem? Please describe.
It would be nice if we could interface a small map tile library such as contextily to display a map background. I often want to plot a trajectory from a rosbag, for instance using
/tf:utm.base_link
.Describe the solution you'd like
It would be nice if I could easily add a map baselayer for the UTM (or whatever) extent if the coordinates are geo-referenced anyway.
Describe alternatives you've considered
This can be achieved through
--ros_map_yaml
with a rgb image which could for instance be generated with a snippet as:This at least requires the extent of the plot generated by
evo_plot
. It would be a help if this could be written to the stat file or somewhere else.The text was updated successfully, but these errors were encountered: