Browser-based map module for mavproxy

This is a video of my browser-based map module for mavproxy.

I had trouble using the map code that's currently checked in to mavproxy, so I wrote this alternative.

Views: 1418

Tags: gcs, groundcontrolstation, mav, mavlink, mavproxy, modestmaps, wanderdrone

Comment by John Wiseman on June 24, 2012 at 7:18pm

Developer
Comment by Andreas M. Antonopoulos on June 24, 2012 at 7:23pm

sweet, I will be trying this soon

Comment by John Wiseman on June 24, 2012 at 8:22pm

It works well on an iPhone, too:

Comment by John Wiseman on June 24, 2012 at 8:27pm

Pinch to zoom and touch and drag work on the iPhone too, which is nice.


Developer
Comment by Ryan Beall on June 24, 2012 at 9:16pm

Cool, how do you get the iphone on the same wifi as the laptop?  Planner has a hidden feature that spits the hud and the map over a similar jpeg server.  I only got my iphone to connect via adhoc network once and it worked but for some reason I could never get it to work again?  Any Tips?

Comment by John Wiseman on June 24, 2012 at 9:42pm

You may be overthinking it--I have one wifi network, called lemonodor, and both the phone and the laptop are on it.  That's all!

Comment by John Wiseman on June 24, 2012 at 9:48pm

On Android (no pinch to zoom or dragging):


Developer
Comment by Ryan Beall on June 24, 2012 at 11:55pm

Well yeah that's an obvious fix, however then you have to have a wifi router as part of your groundstation setup.  With planner I just connected to an adhoc wifi directly to the coputer and skipped the need for a router which was super clean.  Excluding the fact that I only got the iphone to connect once and it hasn't worked since ;). 

Ideally I'd want the groundstation to be battery only so having to power a router would mean a generator in the feild or at a minimum a 12 car battery with an inverter....kinda cumbersome just to have a map on an iphone....

Comment by John Wiseman on June 25, 2012 at 6:56am

@Ryan Ah, I see what you mean.  I know my Android Nexus S won't connect to an ad-hoc network, but I think the iPhone will.

In the current state of the code you need an internet connection anyway to get the map tiles.  With some code tweaks it would support use of pre-rendered tiles on disk and then you could get by with no internet and just an ad-hoc wifi connection.

Comment by John Wiseman on June 25, 2012 at 6:57am

I added a very simple Attitude Director Indicator:

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service