Hi all, I have just merged some new code for exporting from Mission Planner the necessary files for Ensomosaic integration (*.TRP and *.GPS).
I'd like to get in touch with some users of EnsoMosaic in order to test the development done.... a feedback from the field / real test.
Please let me know!!
Best
Marco
Replies
Hi Marco,
I'd be really keen to try your code, as am looking to export from Mission Planner to EnsoMosaic - I haven't had much joy figuring out where the georefimage.cs file is - I couldn't find it on github, or on my installation of mission planner (win 7 x64) - please can you give me some guidance how to get the script to create the .TRP & .GPS files?
Thanks,
Guy
Hi Guy, the file is attached to this thread.
The modification i have done some times ago was based on an older version of mission planner.
I think it was not included in the main stream of the code.
I will check this evening and let you know.
Marco
Good evening Marco,
Thanks very much for your reply - I've looked at the georefimage.cs file, and am assuming that I would need to replace the georefimage.cs file on my system with the one that you adapted? The trouble is that I can't find any .cs files in my mission planner installation. I am thinking about writing a python script to read in a tlog file and spit out the relevant details for .trp & .gps files, but if I could get your modification to work it would be great, and doubtless save me a lot of evenings!
Thanks again for your help, and if you can give me some clue about how to get your modification to work it would be very much appreciated.
Cheers,
Guy
Hi Guy,
the cs file you have seen is part of the code of mission planner, basically you need to download from GIT all the sources, replace (or integrate the modifcations) the file and rebuild the solution using Visual Studio (also the free version is working just fine).
see this link: https://github.com/ArduPilot/MissionPlanner/tree/master/GeoRef
you will find the file inside, but you will need to download all the project and recompile...the version i have on my pc is quite old ....
If you have trouble, i can try to rebuild the version i have, you can use it in order to georeference the images and produce the files, let me know.
Best
Marco
Hi Marco,
Thank you very much for the explanation, I was really wondering how to go about it. I will give that a try and let you know how it goes....
cheers for now,
Guy
Actually, some times ago i have posted the modifications to GitHub, but in some way were not included in the main stream of the code ... i don't know why.
It may it is the right time to add it again or to send it to Janne Sarkeala of Ensomosaic
By the way, how is working with EnsoMosaic? I have tried it and found good but difficult to use.
I'm using Agisoft now.
Marco
Hi Marco,
I attended the EnsoMosaic training course run by MosaicMill in Helsinki a few years ago, when I was using GluonPilot, which has an Image Mapper wizzard tool to output .TRP and .GPS files that are optimized for EnsoMosaic. But I switched over to using the ArduMega 2.6 then PixHawk and PhotoScan, now using DroPix and MapsMadeEasy.
But I do like some of the features that EnsoMosaic has to offer, so if you have developed a tool to generate the .TRP and .GPS files from Ardupilot and Arducopter log files, then I would be interested in testing this, as we had a look at converting Ardupilot log files into a format that Mosaic Mill's UAV2EM program could read in orer to generate the .TRP and .GPS files, but we gave up after a few tests, due to time & resource constraints. UAV2EM supported platforms
Janne Sarkeala manages the UAV2EM program development at MosaicMill and I'm sure he would be interested in integrating Arduplane & Arducopter into the program, janne.sarkeala@mosaicmill.com
Best Regards,
Keith,
Hi Keith,
thanks for you detailed mail, I'm already in touch with Janne, but the export in 'EnsoMosaic' style is done from Mission Planner georeference features. There were already some export for Trimble and something very similar to Agisoft interface....just added the *.trp and *.gps export over the existing infrastructure.
Quite easy job, at least from my side.
I have tried it with some olda data of mine and looks good even if i have a very strange error regarding the projection definition....kind of mistery for me...anyway sent some samples to Janne, let's see.
Best
Marco
Hi Marco,
Did Janne test your code yet?
Please let me know when its ready for a trial.
Cheers,
Keith,
Hi Keith,
yes he has done some tets and found a problem with the file format (UTF8), i fixed it and shoiuld be fine.
Please note that you will need to edit average height and camera orientation by hand in location.trp file.
If you can give a trial it would be great!!!
I will also test by myself as i canb start flying again....it is always raining here...
Thx
Marco
PS: if you notice something strange, let me know!