|
|
Playing around with the new BUGWeather (and LatLonConverter and FlickrUppr) application, I realized it was necessary to give the virtual BUG a GPS logfile to pull its location data from. What format does this file have to be in? I’m guessing NMEA, but a quick look around didn’t turn up any obvious answers. For those of us without real GPS devices, would it be possible for someone to post an appropriate logfile for testing? |
|
|
Hi Koolatron, You are correct; the emulator expects a NMEA 0813 v2.2 compatible log file. Currently, you can get away with just providing RMC sentences in your own log files. If you do not specify a log file, the emulator will use it’s own. The embedded log file was generated at BugLab’s head quarters (that’s why everything points to New York, NY 10010). You can generate your own GPS log by: Real method: or Virtual method: The gps log file should contain sentences like (At the moment we only pay attention to GPRMC sentences): I’m sure you can figure out the virtual method yourself, however, stay tune for a howto on the wiki. Let me know if this answered your question. Regards, |
|
|
Below you will find a link explaining how to generate your own gps log file using GoogleEarth and gpsbabel. It’s really helpful since you don’t have to drive/ride/walk around with a gps and pda/notebook strapped on you to capture a log file. http://bugbeta.com/wiki/index.php/Generating_a_… Regards, |
|
|
I might have missed it on the Wiki, but it wasn't immediately obvious to me where to specify the log file. In case anyone else has the same problem, here's what you need to do (once you've got a file with NMEA data in it). 1) In Eclipse select Run/Open Run Dialog from the main. 2) You should see a dialog like this: ![]() 3) Select the Normal Mode entry under Virtual BUG is selected in the left-hand pane. 4) Right-click on it and select Duplicate. (Skip this step if you want to just edit the Normal Mode entry). 4) Fill in the GPS Log field in the right-hand pane. 5) Press Apply to save your changes. Next time you run it should use your GPS data instead of the default. |