Skip to content
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

Saving Geotiff map issue #95

Open
kompaso opened this issue Apr 20, 2021 · 3 comments
Open

Saving Geotiff map issue #95

kompaso opened this issue Apr 20, 2021 · 3 comments

Comments

@kompaso
Copy link

kompaso commented Apr 20, 2021

Hello!

I'm trying to save a map using tutorial provided here

http://wiki.ros.org/hector_slam/Tutorials/MappingUsingLoggedData

After I run command: rostopic pub syscommand std_msgs/String "savegeotiff"
I receive following:
publishing and latching message. Press ctrl-C to terminate

At the same time, in the directory <.../hector_slam/hector_geotiff/maps > appears the only file with extension TFW. How can find a TIF file? What is the problem?

Ubuntu 20.04 + ROS NOETIC.

I have tried another setup: Ubuntu 18.04 + ROS MELODIC. But in such a way it generates nothing (nor TIF, nor TFW).

Hope for your help.

Thank you!

UPD: terminal with tutorial.launch returns following:
[ WARN] [1618931456.757188522, 1310298248.868340916]: TF_REPEATED_DATA ignoring data with redundant timestamp for frame base_footprint at time 1310298248,764194 according to authority unknown_publisher
[ INFO] [1618931486.758415721, 1310298250.914595911]: HectorSM sysMsgCallback, msg contents: savegeotiff
[ INFO] [1618931486.761643875, 1310298250.914595911]: HectorSM Map service called
[ INFO] [1618931486.772437769, 1310298250.914595911]: GeotiffNode: Map service called successfully
[ INFO] [1618931490.962948483, 1310298250.914595911]: Writing image with file /home/aidalab/hector_slam/src/hector_slam/hector_geotiff/maps/hector_slam_map_18:11:26.tif failed with error Unsupported image format
[ INFO] [1618931490.963010494, 1310298250.914595911]: GeoTiff created in 0,000000 seconds
[ INFO] [1618931553.784180664, 1310298250.914595911]: HectorSM sysMsgCallback, msg contents: savegeotiff
[ INFO] [1618931553.784902751, 1310298250.914595911]: HectorSM Map service called
[ INFO] [1618931553.795006872, 1310298250.914595911]: GeotiffNode: Map service called successfully
[ INFO] [1618931558.015905532, 1310298250.914595911]: Writing image with file /home/aidalab/hector_slam/src/hector_slam/hector_geotiff/maps/hector_slam_map_18:12:33.tif failed with error Unsupported image format
[ INFO] [1618931558.015972293, 1310298250.914595911]: GeoTiff created in 0,000000 seconds

@poly-tropos
Copy link

same issue here... any suggestion?

@StefanFabian
Copy link
Member

Can you check that you have the following debian package installed: qt5-image-formats-plugins?

@poly-tropos
Copy link

Can you check that you have the following debian package installed: qt5-image-formats-plugins?

Indeed, that package was missing, now it works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants