PDA

View Full Version : Discussion Waypoint Builder


matttay
Aug 02, 2008, 03:59 PM
I've been in need of an app that can let me place waypoints. I'm not crazy about google and microsoft's terms of use, and I also want an app that I can easily run on my PDA, both online and offline. Finally, I want the ability to know trip durations, time of flight, mAH required to reach a waypoint, etc.

So, here's a first version of waypoint builder. For now, it can only run as a web app. I'll release the source in the coming months.

What it does:

1) Loads maps from USGS terraserver. There are no restrictions on the usage of these maps. And you can cache and builder larger maps and save those as jpgs for fast loading. The downside is that this is US only, and the maps just aren't as pretty as google or ms. But for building waypoints, I don't mind.

2) You can specify a starting point, and then add waypoints by right clicking on the map. The right click brings up a context menu that lets you select if you are adding waypoint, start point, etc.

3) You can make measurements easily from various features.

4) Total waypoint distance is measured, along with time required at your given cruise speed. mAH etc will come soon.

5) You can also see an altitude profile. Right now this is disabled because the USGS server isn't responding. But after you have selected a range of waypoints, you can see the elevation change for the entire mission. When you select a waypoint, it defaults to 50 m above AGL for that spot. To know this, it queries the USGS server. Then in the altitude profile you can make sure you won't fly into a mountain. I am surrounded by moutains and changing terrain so this is very important. If you live in Kansas, not so much.

When you run the app, click "load map" in the upper left corner. It will start loading a map for marymore RC park in Redmond, Washington. Everytime you left click on the map, it will re-center your position. This doesn't permit scrolling the way google maps does--the USGS server is too slow. But, the tiles are all stored in your "my docs\uavmaps" folder, so after a bit of use it gets quite a bit faster. You can see in the lower left if it is loading tiles from the internet or your hard drive. You can delete the uavmaps dir at any time. You'll just re-load those maps next time they are needed.

Note there's not a lot of error checking the app right now, so it's easy to make it barf with erroneous data.

Let me know if there are features you'd like to see.

http://www.peakeff.com/uavapps/waypointbuilder/publish.htm

Jack Crossfire
Aug 02, 2008, 06:12 PM
Although .net is required for getting a job in corporateland, not sure most of us can run these .net applications here in userland.

zlite
Aug 02, 2008, 08:05 PM
Matttay,

That's fantastic! Works great, and I beg to differ with Jack--although most of don't have the .net framework, the installation process makes it really easy to load.

Many thanks for a terrific contribution, and I can't wait to see the source.

mrb0y
Aug 06, 2008, 08:51 PM
Although .net is required for getting a job in corporateland, not sure most of us can run these .net applications here in userland.

the .Net is seamlessly integrated into the installation, the price to pay for being efficient and productive. If you have to fit the program on 16k because it needs to fit on an orbital platform or something ridiculous ok use machine language!

matttay
Aug 11, 2008, 02:07 AM
Sources here:

http://www.peakeff.com/waypointbuilder/Sources/WaypointBuilder--Source--Rel-0.1.zip

This should build with Visual Studio Express (free download).

There's also a pretty potent (64-bit doubles) GPS library included.

The USGS database is still not responding. Not sure why. It's unfortunate because that's a cool feature.

matttay
Aug 25, 2008, 12:06 AM
The USGS database is responding again, which means you can get altitude profiles for flights. If you fly over non-flat terrain, then it's always helpful to know where to plot your waypoints so that you don't fly into the side of a hill or mountain.

In the attached plot, you can see Waypoint 0 is at the top of Mount Ranier, and Waypoint 1 is at Puget Sound. You can see the distance overall is 72.6 km, and at a speed of 13 m/s it would take 93 minutes. And on the alt profile (selected from a tab above the satellite shot), you can see it's a lazy drop at 42 meters/min from the top of Ranier to the waters of Puget Sound.

As you add waypoints, you default to 50 meters above terrain.

More later. Download at the same link as last time. If the USGS database stops working again, this will hang for 30 seconds. I'll fix that soon so that waypoints are fetched in the background.