ArduPilot / apm_planner

APM Planner Ground Control Station (Qt)
https://ardupilot.org
Other
515 stars 466 forks source link

Elevation widget: segfault on "load elevation" #1249

Open AndKe opened 3 years ago

AndKe commented 3 years ago
[20210716 10:42:50.109 DEBUG] - elevation query : QUrl("http://maps.googleapis.com/maps/api/elevation/json?path=69.7708,19.5333%7C69.7729,19.5756%7C69.7816,19.5622%7C69.7801,19.5344&samples=20")
[20210716 10:42:50.210 DEBUG] - Downloading:  QUrl("http://maps.googleapis.com/maps/api/elevation/json?path=69.7708,19.5333%7C69.7729,19.5756%7C69.7816,19.5622%7C69.7801,19.5344&samples=20")  : 237 / 237
[20210716 10:42:50.211 DEBUG] - GoogleElevationData::httpFinished()
Segmentation fault (core dumped)
Arne-W commented 3 years ago

It seems that we need a valid api key to use the google maps services.... :disappointed: Nevertheless the application should not crash when getting no data. This should not be a problem but makes the tool useless. I will have to check if we can create a key for Open source usage or similar.