waypoints editor

24 views
Skip to first unread message

William Premerlani

unread,
Jun 5, 2016, 6:16:44 PM6/5/16
to uavdevboard-dev
Team,

I noticed the waypoint markers have disappeared from the MatrixPilot waypoints editor. I think that Google Earth has moved the .png files for the markders from an svn repository to github, because when I try to navigate to the svn repository, I get redirected to github.

I tried to edit the waypoint editor to grab the markers from the new location, but I am not able to navigate into the directories in the github, so I am not sure where they are, exactly.

In doing some looking around, I stumbled onto this:


What does it mean? Does it mean that the waypoint editor will stop working after the end of this year? If so, are there any volunteers to migrate it to whatever Google Earth is presently recommending for an API?

In the meantime, you can still use the waypoint editor and move the waypoints around, you just cannot see them.

Best regards,
Bill

Mark Whitehorn

unread,
Jun 5, 2016, 7:25:37 PM6/5/16
to uavdevboard-dev
Looks like this is a good alternative: https://cesiumjs.org/demos/PaperDrone.html

--
You received this message because you are subscribed to the Google Groups "uavdevboard-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavdevboard-d...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Premerlani

unread,
Jun 5, 2016, 7:45:44 PM6/5/16
to uavdevboard-dev
Does it support LOGO?

Mark Whitehorn

unread,
Jun 5, 2016, 9:53:37 PM6/5/16
to uavdevboard-dev
Actually, I was thinking that CesiumJS makes a good target for a port. PaperDrone doesn't display my MatrixPilot KML files though.

William Premerlani

unread,
Jun 7, 2016, 7:46:26 PM6/7/16
to uavdevboard-dev
Team,
I made some progress in restoring the waypoint markers to the waypoint editor.
I found the markers at:


They have been moved from an svn repo to github.

However, the above URL is not the actual path I typed to get there, it is the path that gets displayed when I get there.

To get there I started at the google maps github and stepped down to:


I tried both paths in the waypoint editor, neither of them was able to access the markers.

I was able to download a few marker.png files directly from the googlemaps repository to my computer, and that worked!!!

So, in principle, I could download all 99 of the markerXX.png files from the googlemaps repository to a subdirectory for the waypoints editor, but that seems silly.

I did a little digging, and found that gh-pages seemed to me to be a feature of github that I do not understand at all.

I got the impression that there was some trick to constructing URLs to access github files when gh-pages are involved.

Any gh-pages experts out there who can tell me how to construct a URL to access the markers from a java script in an html file, and save me the trouble of downloading 99 markerXX.png files?

If it is any help to you, when I look at my browser history, it lists the following for my access to the red markers directory in the googlemaps github:

github.com/js-v2-samples/markers/red at gh-pages.googlemaps/js-v2-samples

Best regards,
Bill

William Premerlani

unread,
Jun 7, 2016, 7:51:26 PM6/7/16
to uavdevboard-dev
Team,

One more addition to my previous email. The following URL is not valid:


However, the following URL is valid:


From that point you can navigate down by selecting the markers subdirectory, and then down again with the red subdirectory.

That will bring you to the markers that we are looking for.

But that does not bring you to the first URL in this email.

Best regards,
Bill

Peter Hollands

unread,
Jun 8, 2016, 1:27:42 AM6/8/16
to uavdevb...@googlegroups.com
Hi Bill,

The following URL:
displays the red marker within a github HTML page. 

Inline images 1
There is a Raw button on the bottom right side of that page, (next to History), that will display just the raw file:-

Inline images 2
The URL to that page is:-

I hope that may provide you with the information that you need.

Best wishes, Pete




William Premerlani

unread,
Jun 8, 2016, 6:20:17 AM6/8/16
to uavdevboard-dev
Hi Peter,

Thank you so much. That worked! I wished that I had thought of trying that, it is obvious now.

I suggest that you repair the waypoints editor in the github repository. The repaired line is now:


I am sure that you will find where to make the change.

Also, you might want to repair the logo editor as well.

Once again, thank you so much Peter, I would be lost without your help.

Best regards,
Bill

Adam Barrow

unread,
Jun 8, 2016, 6:50:31 AM6/8/16
to uavdevb...@googlegroups.com
Peter / Bill,
 I’ve just submitted pull request #24 which should address this issue (https://github.com/MatrixPilot/MatrixPilot/pull/24). In the mean time, anyone should be able to use the updated code by pulling from my fork at .

Looking over the waypoint editor, it really could use a re-write, so I’m probably going to start working on that slowly - if there are any requests please let me know. I want to take a closer look at PaperDrone (CesiumJS) for a port rather than staying with Google Maps (thanks for the suggestion Mark) and I would like to include some documentation on how to use the tool (my biggest hurdle with this change was I couldn’t remember how it was supposed to work!!).

Regards,
Adam


On Jun 8, 2016, at 05:19, William Premerlani <wprem...@gmail.com> wrote:

Hi Peter,

Thank you so much. That worked! I wished that I had thought of trying that, it is obvious now.

I suggest that you repair the waypoints editor in the github repository. The repaired line is now:


I am sure that you will find where to make the change.

Also, you might want to repair the logo editor as well.

Once again, thank you so much Peter, I would be lost without your help.

Best regards,
Bill
On Wed, Jun 8, 2016 at 1:27 AM, Peter Hollands <peter.h...@gmail.com> wrote:
Hi Bill,

The following URL:
displays the red marker within a github HTML page. 

<image.png>
There is a Raw button on the bottom right side of that page, (next to History), that will display just the raw file:-

<image.png>

Peter Hollands

unread,
Jun 8, 2016, 6:51:43 AM6/8/16
to uavdevb...@googlegroups.com
Hi Bill,

I am really glad that you are getting more familiar with git and github.

I wonder if this is a good time to try and submit a "Pull Request" for that one simple change.  If you want a refresh on how we are using github then please do  watch my 20 minute tutorial on Vimeo. Like many new things, it seems strange and more complex. But now I have used it more, I think is a better and superior system than the googlecode svn environment. It actually makes it easier for more new developers to submit specific new code improvements.

If now is not the right time, then some time over the summer, I would happily share a Desktop screen together, and we can have some one on one sessions together using Git, github and creating Pull Requests.

It sounds as if in the medium term (end of the year) that API is going to be removed entirely ?  In which case, we will need to look a other Tools like the one Mark has suggested.  In fact, plotting down waypoints from a map is going to be easy. It may already work with Mavlink and MAVLink compatible ground stations (Robert ? I've lost track of where you got to on that feature).  The big challenge for a new GCS system will be to implement Logo. Being able to simulate a Logo flight plan while coding Logo in google maps is hugely useful.

Best wishes, Pete



Peter Hollands

unread,
Jun 8, 2016, 7:07:21 AM6/8/16
to uavdevb...@googlegroups.com
Adam,

Thank you very much for that. I've tested it on my Imac for the waypoints editor and Logo Editor and it is all working for now.
I've accepted your Pull Request so it is now in Master.

Best wishes, Pete

Reply all
Reply to author
Forward
0 new messages