Live Camera View #4
Replies: 2 comments 1 reply
-
Thanks for taking a look!
The lag shouldn't be much more than the "refresh rate" you configure in the network link. With a
🤓 Yea, I see Null Island pretty often, too. You can see in the code where it calls the
That was one of the advantages to just storing and using the current coordinates, resulting in very little impact to the other parts of the program. However, I'm starting now to implement support (on this branch) for gx:MultiTrack which will query into the database to render the KML track of all points since the last call to the listener. Check out the approach I found in an old Google I/O Talk I found on YouTube. This I think will at least "bridge the gap" somewhat between our sets of functionalities - which until now have been 100% independent of one-another. I ultimately was looking for the type of "smoothness" that you get from your use of gx:Tour, but I couldn't seem to get that working in real-time. From my experiments, I found that GE just stops refreshing the tour once it's done - no matter what. Even though there's no In any case, yes, I'm getting back into Regards, -- Marty |
Beta Was this translation helpful? Give feedback.
-
Hi again Steve, As you may have seen in my new "Show and Tell" post, I finally released LiveCam Support in my repo. This side-project gave me the opportunity to learn several things, including:
I thought to reply to some points in your previous post:
For me, that's a really cool part about open source - the fusion of ideas, and organic growth of this intangible thing called "software."
Yea, that's about what I see. Given the polling going on, and some fundamentals about the underlying design, that seems to be expected. Please let me know if you've got some ideas about reducing that (short of tweaking down the polling frequency 😏).
Thanks for that feedback! I added some popup dialogs to help manage expectations such as yours if the "LiveCam" isn't ready (e.g., logging is not active, etc.) when the
Thanks for confirming. I hope that's still the case. I got confused about that, so I actually wrote a series of unit tests to help convince myself I understood the way that was intended to work. I suspect you'll find these amusing if you look at them. 😎
I totally understand. Other than some of the accompanying changes which you might find useful, at this point I don't hold out an expectation that you'll merge my changes back into your base. Indeed, my purposes (recounted above), don't seem to be directly in line with your original goals. |
Beta Was this translation helpful? Give feedback.
-
Marty,
Sorry, it took a while for me to look at this. I have been out of town unexpectedly and away from my computer. It is an interesting piece of functionality that you added that I had not thought of for the program prior. It certainly was a good coding exercise and allowed you to look thru, and understand, the code itself.
I was able to run the code and the new feature functions fine. There is some lag (maybe 5 seconds?) between the flight in the simulator and Google Earth's reaction. Is that what you saw also? Also, I noticed that at the beginning of a flight it put the "live view" in the middle of the ocean until you started taxing down the runway. Did you see that as well? The base program's logging functionality still works as it did prior to your changes.
I am a bit torn on whether to add this ability to the main program or not since the program is mainly for logging and analysis after the flight is finished. Do you feel this is an option people will use? What is the use case for using this feature?
Beta Was this translation helpful? Give feedback.
All reactions