Servers by jDrones

Custom Imagery in Mission Planner

(David) #44

Ok, so how do I inhibit it from loading SRTM data? In mission planner, I load the GEOTIFF, create the waypoint plan, select terrain and then write. When I do this it automatically pulls in SRTM data?

(Michael Oborne) #45

currently there is no method to prevent srtm data being pulled and used.
MP will always use the geotiff data first however over srtm.

(Michael Oborne) #46

based on your comment here
http://discuss.ardupilot.org/t/using-our-own-vertical-data-for-mission-planning/12546/17

you don’t understand how the system works.

ter_? is the terrain system. it could be srtm or it could be geotiff. it is the same thing. this is just indicating to say if it has terrain data or not. it doesn’t care where the data is from. when you set the spacing to 1, it pulls from the geotiff, if available and uploads that at 1m resolution

(David) #47

Well its not working that way or it is parsing the GEOTIFF into SRTM folders. When I set resolution 1, I get an SRTM folder with 627 indicated on the Ter_Load field. And when I check the SD card there is nothing but a STRM folder. So is mission planner converting the GEOTIFF to SRTM data?

(Michael Oborne) #48

MP uploads what the autopilot requests using the best available data it has. in your case this will be the geotiff.

the name of the folder was simply because that’s what already existed. it does not mean anything.

the terrain system was designed around the srtm system. if the folder on the sd card is called this, it agains doesn’t mean anything, as the data it contains will be the data MP uploaded, which could be from the geotiff.

id be pretty confident that you already have your geotiff data on your pixhawk. its just the folder naming was designed and based around srtm. not geotiff.

(David) #49

Ok, that information is very helpful.

Thank you for your time and patience as I learn more about one of the many awesome features of Mission Planner. I am amazed by its breadth and depth. Thanks for a great product and for being extremely responsive.

Dave

1 Like
(David) #50

Weird, two Bolands on the same thread!

Alex you can do it with tiles or GEOTIFF both from global mapper. With GEOIFF you must select custom imagery under source in the upper right corner drop down. Then hit CNTL F to get the menu to upload your custom imagery.

I don’t have mission planner in front of me and can’t remember the name of each tile. I can provide more specify assurance when I get to mission planner, which may not be for another 24 hrs.

Once you get it working, it’s awesome.

Dave

(David) #51

Alex,

I doubt it’s related to resolution. I had great results with 2.5cm/pix. File coordinates are crucial.

Dave

(Michael Oborne) #52

Good to hear. I assume you referred to the YouTube video for the original setup? I might need to update it to reflect the moved folder.

(Nathan Stephenson) #53

Aloha!

I am attempting to load in custom elevation data into Mission Planner so that I can have a better precision than the 100m google earth data. I loaded a 10 m DEM into Global Mapper, following your video tutorial and placing the derived GeoTIFF into the SRTM folder (and removing the other files). When I do this the upper right corner in mission planner says ‘invalid’ and all elevation data is 0. I made sure the DEM was wgs84 beforehand as well. Any ideas on what went wrong?

(Michael Oborne) #54

check missionplanner.log in c:\programdata\mission planner

this should list details about the attempt to load the file

(Guy) #56

Hey,

I’m trying to make a terrain following flight with my DTM custom map.
I have followed all the stages that you wrote here.

  1. made geotiff 32bit floating dtm from pix4d to MP thru Global Mapper
  2. insert it into the SRTM folder at program data - I saw geotiff elevation data on mission planner right after.
  3. clean the terrain data folder from the pixhawk’s SD.
  4. then write the mission to the pixhawk from the mission planner with the geotiff

And it still doesn’t fly 40 meters above the terrain data from the geotiff,
The weird thing is that it doesn’t fly 40 meters above the SRTM data either.
it flies something between with no constancy.

When I flew there with the SRTM data (before inserting the Geotiff), it flew successfully 40 meters above SRTM terrain data.

If someone knows how to help me it will be great. I’m pretty stuck with the subject.

Thanks

(Abhijeet Gheer) #58

Hi Michael,

Does this internal limit still exist with current versions of mission planner?

I was able to import custom imagery into mission planner my export settings are as follows;

  • Zoom level - 23
  • Number of Zoom levels - 18

This was done using global mapper. If you could please recommend a software that could provide a higher number of zoom levels.

Thanks

(Michael Oborne) #59

The internal zoom limit would be 21 or 22. Anything above this will not be used

(Abhijeet Gheer) #60

Thank you, Michael.

You have a great day ahead.

(Abhijeet Gheer) #61

Hey Michael,

While I have your attention, is it possible to insert more than one custom map in mission planner? I wish to have max 3 atleast 2 custom maps in mission planner that show the following;

1 - google map tiles custom map.
2 - a DEM in a google map tiles format.

Thanks.

(Michael Oborne) #62

do you know if your DEM format is supported by gdal?

MP handles imagery and DEM seperately.

Normal the DEM would be in GeoTiff format, and only requires copying the source image into the correct folder to work.

(Abhijeet Gheer) #63

The DEM which is in geotiff format is copied to the SRTM directory. How do I find out if my DEM format is supported by gdal? I wish to have the ability to display both the google map tiles of a surveyed area and the DEM file to the pilot using mission planner to plan a mission.

Thanks.

(Abhijeet Gheer) #64

Hi Michael,

I can confirm that my DEM which is in the format of geotiff is supported by gdal.

Thanks.

(Michael Oborne) #65

check this post

1 Like