Posted by Paul Mather on August 10, 2009 at 10:30pm
My first "attempt" at modifying Jordi's Config Tool is getting close to a release.The key benefits are:1) Click to add waypoints2) Drag & drop ability once added3) Search by address (home and waypoints)If anyone knows how to address GMarkers from Google Map's API V2 directly (ie getElementById) in C#.NET, please let me know! Right now, I'm polling a hidden control on the html form for index, lat & long info. It's not the best way, but it's working....The screenshot above was created by clicking the "Home" radio button and entering "grand canyon" on the address field...then hit search. The waypoints were added by clicking around the home point on the map. No typing in lat & long coordinates or looking them up in Google Earth....
I was watching the output at 1Hz and the distance calculations were very slow at updating. It would show the same distance to waypoint for as long as 5 seconds. All of a sudden it would jump 400 feet.... I found that cranking up the Hz would make it update much faster.
Do you know of a problem with setting PMTK314 to 1's instead of 5's with a 5Hz rate on the GPS? It would fire 5 messages a second. In the source code for the Ardu, it show's 5's instead of 1's for the PMTK314 which means even though it's set to 5Hz, it only sends the GPRMC and GPGGA once per second.
I noticed some serious lag with distance calculation updates with the default 314's set to 5's.
No, in the middle position (waypoint mode), it will go W1, W2, ....home and then circle home. In RTL is just circles home (actually, depending on the wind conditions that could be a circle, or figures eights or some other shape influenced by nav PID gains, GPS refresh rate and airframe)
I have a question (that I should be able to answer on my own).
In the middle position of the 3 position switch, the plane will fly home, WP1, WP2, etc back to home and then repeat, right? So if I remove the bind plug and then drive across town, it will try to go home first and then to WP1, etc?
With the RTL positoin, what happens when it gets "home?" Does it fly in circles?
HappyKillmore is right--you shouldn't have to ever touch the "Home" settings, since they're set at the field with the junmper/bind plug. The only reason we even added that option is for people who want the plane to fly ":home" to a different location from the one they launched from.
Great ideas. I do plan on adding a "home" position setup to this as well, even though the home is set using the safety plug (D6 to ground) and the home position info will only help by showing you the approx starting position on the map. It will also help to have this info in the GPS emulator.
Thanks,a bunch, I really avoided this tool as every time it required copy paste of all way points, Could you also add a warning message that "Home set to 0 ,0, please enter your home coords" And if possible, It would be nice if a table from excel could be pasted in? just a wish !! Thanks
Comments
Thanks!!!
NMEA at 5hz will overflow the buffer. Cause you some problems.
You are correct in both. WP mode will start from home and then jump to WP1 , etc.
RTL will only circle around your head.
If you need help saving more settings in the EEPROM just tell me please.
I noticed some serious lag with distance calculation updates with the default 314's set to 5's.
In the middle position of the 3 position switch, the plane will fly home, WP1, WP2, etc back to home and then repeat, right? So if I remove the bind plug and then drive across town, it will try to go home first and then to WP1, etc?
With the RTL positoin, what happens when it gets "home?" Does it fly in circles?
HappyKillmore is right--you shouldn't have to ever touch the "Home" settings, since they're set at the field with the junmper/bind plug. The only reason we even added that option is for people who want the plane to fly ":home" to a different location from the one they launched from.